Update source/agent-remote/datacommands_v2.sh
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 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:
|
||||
# - command: create, destroy, backup, restore
|
||||
# - type: file, path, volume
|
||||
# - 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)
|
||||
MYGRP=$(id -g)
|
||||
|
||||
Reference in New Issue
Block a user