Skip to main content

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​

SectionUsed by
defaultBase configuration, inherited by others
backupdvs backup commands
archivedvs archive commands