[Borgbackup] Problem with borg compact

Joseph Hesse joehesse at gmail.com
Wed Dec 25 05:43:23 EST 2019


Hello,

I can't get "borg compact" to work for me.  The listing below comes from 
a repository on an external hard disk but I have had the same problem 
with a remote repository.  I am using borg version borg 1.1.10.

=============================================================

[joe at lenny51 ~]$ borg list /borg/repo/JHBorgBackup
Enter passphrase for key /borg/repo/JHBorgBackup:
joe-2019-11-09T11:40:17              Sat, 2019-11-09 11:40:17 
[4fc0595c1ab8572111b5e46bffd3ed298c0b0fc19fdb2e621178fcb0a9dc7905]
joe-2019-11-10T17:37:40              Sun, 2019-11-10 17:37:40 
[57b980d5bb468be3667a2604df9d4fdb4d140e89350a60ff35ad25872ad55c3c]
joe-2019-11-11T10:30:37              Mon, 2019-11-11 10:30:38 
[5cd4cd34e9972b97dfdfc04267e7ab746b8442e5a23e84511ab7ee87f2234c19]
joe-2019-11-12T10:36:31              Tue, 2019-11-12 10:36:31 
[11f0ddff9968ab9ac0d7808a6280e3cd7b27d532d0128c493ddd8d5773afb977]
...

[joe at lenny51 ~]$ borg compact /borg/repo/JHBorgBackup
usage: borg [-V] [-h] [--critical] [--error] [--warning] [--info] [--debug]
             [--debug-topic TOPIC] [-p] [--log-json] [--lock-wait SECONDS]
             [--show-version] [--show-rc] [--umask M] [--remote-path PATH]
             [--remote-ratelimit RATE] [--consider-part-files]
             [--debug-profile FILE] [--rsh RSH]
             <command> ...
borg: error: argument <command>: invalid choice: 'compact' (choose from 
'mount', 'serve', 'init', 'check', 'key', 'change-passphrase', 'create', 
'extract', 'export-tar', 'diff', 'rename', 'delete', 'list', 'umount', 
'info', 'break-lock', 'prune', 'upgrade', 'recreate', 'with-lock', 
'config', 'help', 'debug', 'benchmark')

=============================================================

Thank you for your help.  Happy holiday.

Joe



More information about the Borgbackup mailing list