Problem
want to automate backups from storagebox. Cannot use well-known tools like rsync. Have to use borgmatic. Looking into documentation. Find no explanation about borg vs borgmatic. After some attempts, have borg + borgbackup + borgmatic installed.
Want to get a config file, as in doc, and get:
borgmatic config generate
usage: borgmatic [-h] [-c [CONFIG_PATHS ...]] [--excludes EXCLUDES_FILENAME] [-n] [-nc] [-v {-1,0,1,2}] [--syslog-verbosity {-1,0,1,2}] [--log-file-verbosity {-1,0,1,2}]
[--monitoring-verbosity {-1,0,1,2}] [--log-file LOG_FILE] [--override SECTION.OPTION=VALUE [SECTION.OPTION=VALUE ...]] [--version]
...
borgmatic: error: argument : invalid choice: 'config' (choose from 'init', '--init', '-I', 'prune', '--prune', '-p', 'create', '--create', '-C', 'check', '--check', '-k', 'extract', '--extract', '-x', 'export-tar', '--export-tar', 'mount', '--mount', '-m', 'umount', '--umount', '-u', 'restore', '--restore', '-r', 'list', '--list', '-l', 'info', '--info', '-i', 'borg')
Error parsing arguments: /usr/bin/borgmatic config generate
In config.yaml, the sample file generates errors.
Nothing said about borgmatic version described.
Frustrating.
Suggested Fix
update documentation + make it more comprehensive.
Problem
want to automate backups from storagebox. Cannot use well-known tools like rsync. Have to use borgmatic. Looking into documentation. Find no explanation about borg vs borgmatic. After some attempts, have borg + borgbackup + borgmatic installed.
Want to get a config file, as in doc, and get:
borgmatic config generate
usage: borgmatic [-h] [-c [CONFIG_PATHS ...]] [--excludes EXCLUDES_FILENAME] [-n] [-nc] [-v {-1,0,1,2}] [--syslog-verbosity {-1,0,1,2}] [--log-file-verbosity {-1,0,1,2}]
[--monitoring-verbosity {-1,0,1,2}] [--log-file LOG_FILE] [--override SECTION.OPTION=VALUE [SECTION.OPTION=VALUE ...]] [--version]
...
borgmatic: error: argument : invalid choice: 'config' (choose from 'init', '--init', '-I', 'prune', '--prune', '-p', 'create', '--create', '-C', 'check', '--check', '-k', 'extract', '--extract', '-x', 'export-tar', '--export-tar', 'mount', '--mount', '-m', 'umount', '--umount', '-u', 'restore', '--restore', '-r', 'list', '--list', '-l', 'info', '--info', '-i', 'borg')
Error parsing arguments: /usr/bin/borgmatic config generate
In config.yaml, the sample file generates errors.
Nothing said about borgmatic version described.
Frustrating.
Suggested Fix
update documentation + make it more comprehensive.