-
Notifications
You must be signed in to change notification settings - Fork 21
btrfs-sxbackup fails to update backup job with ssh source #74
Copy link
Copy link
Open
Labels
Description
Job with source on remote ssh location is created successfully:
root@backup-server:/var/log# btrfs-sxbackup init -sr "3" -dr "1d:1/d, 1w:daily, 2w:daily, 3w:daily, 4w:daily, 5w:none" ssh://root@remote-server/opt/docker/solr /var/backups/solr
INFO btrfs-sxbackup v0.6.11
INFO preparing source and destination environment
INFO source :: url [ssh://root@remote-server/opt/docker/solr/] container [.sxbackup/] retention [3] compress [False]
INFO destination :: url [/var/backups/solr/] retention [1d:1/d, 1w:daily, 2w:daily, 3w:daily, 4w:daily, 5w:none] compress [False]
INFO initialized successfully
But when I try to update it using the almost same arguments - it fails with ERROR backup job has no destination, here is output:
root@backup-server:/var/log# btrfs-sxbackup update -sr "5" -dr "1d:1/d, 1w:daily, 2w:daily, 3w:daily, 4w:daily, 5w:none" ssh://root@remote-server/opt/docker/solr /var/backups/solr
INFO btrfs-sxbackup v0.6.11
INFO updating configurations
ERROR backup job has no destination
INFO updating configurations
UUID a89665e4-e9a5-4c32-af29-400a935b42ea
Compress False
Source URL ssh://root@remote-server/opt/docker/solr
Source info Linux 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 GNU/Linux, btrfs-progs v5.4.1
Source container .sxbackup
Source retention 5
Destination URL /var/backups/solr
Destination info Linux 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 GNU/Linux, btrfs-progs v5.4.1
Destination retention 1d:1/d, 1w:daily, 2w:daily, 3w:daily, 4w:daily, 5w:none
INFO updated successfully
Reactions are currently unavailable