-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
Description
I trying to create a backup of remote btrfs volume via ssh, so launch command like this:
root@backup-server# 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, as result, I see no destination
info on source btrfs volume:
root@remote-server# cat /opt/docker/solr/.sxbackup/.btrfs-sxbackup
[Source]
uuid = 14efdee7-ec3c-4c12-9875-439caefdxxxx
retention = 3
Here is contents of config file in destination:
root@backup-server# cat /var/backups/solr/.btrfs-sxbackup
[Destination]
uuid = 14efdee7-ec3c-4c12-9875-439caefdfa6e
source = ssh://root@remote-server/opt/docker/solr/
source-container = .sxbackup/
retention = 1d:1/d, 1w:daily, 2w:daily, 3w:daily, 4w:daily, 5w:none
And a run
command do the backup only on remote source, without transferring it to local destination:
root@backup-server# btrfs-sxbackup run ssh://root@remote-server/opt/docker/solr
INFO btrfs-sxbackup v0.6.11
INFO source :: url [ssh://root@remote-server/opt/docker/solr/] container [.sxbackup/] retention [3] compress [False]
INFO preparing environment
INFO source :: retrieving snapshots
INFO source :: creating snapshot
INFO backup sx-20210901-183125-utc created successfully in 00:00:01
Where can be the problem?