dvs storage edit
Edit storage configuration file directly.
Syntaxβ
dvs storage edit <name>
Exampleβ
dvs storage edit mybackup
Opens the configuration file in $EDITOR (default: nano).
Configuration Formatβ
Storage configs use INI format:
[default]
transport = sftp
host = backup.example.com
port = 22
user = admin
path = /backups
[backup]
# Override for backup operations
path = /backups/restic
[archive]
# Override for archive operations
path = /backups/archives
Sectionsβ
| Section | Used by |
|---|---|
default | Base configuration, inherited by others |
backup | dvs backup commands |
archive | dvs archive commands |