Update source/agent-remote/datacommands_v2.sh
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Refactored data commands with type-specific functions and standardized labels
|
# Refactored data commands with type-specific functions and standardized labels
|
||||||
# Format: <command>_<type> <label> <location>
|
# Format: <command>_<type> <type1:label1:location1> <type2:label2:location2> ....
|
||||||
# where:
|
# where:
|
||||||
# - command: create, destroy, backup, restore
|
# - command: create, destroy, backup, restore
|
||||||
# - type: file, path, volume
|
# - type: file, path, volume
|
||||||
# - label: standardized identifier (e.g., "config", "data", "logs")
|
# - label: standardized identifier (e.g., "config", "data", "logs")
|
||||||
# - location: actual path/volume name (varies per installation)
|
# - location: for files - full file path.
|
||||||
|
# for paths - full directory path
|
||||||
|
# for volumes - volume label
|
||||||
|
|
||||||
MYID=$(id -u)
|
MYID=$(id -u)
|
||||||
MYGRP=$(id -g)
|
MYGRP=$(id -g)
|
||||||
|
|||||||
Reference in New Issue
Block a user