I have two LXD servers running, one production (A) and one used for backups (B). On B I added A as a remote
example.com | https://example.com:4443 | lxd | tls | NO | NO |
Both severs are running:
Name Version Rev Tracking Publisher Notes core 16-2.37.1 6350 stable canonical✓ core lxd 3.18 12224 stable canonical✓ -
and BTRFS is used as a storage backend.
Now, on B I can do something like this
copy example.com:cont01/snapshot cont01 which is working fine.
Since a cron is running hourly to take the snapshots on A, there are a few changes but the copy transfers always the full snapshot
How can I transfer the snapshots incrementally? I read about a flag
--refresh but this doesn’t seem to work
Error: unknown flag: --refresh
Some containers are > 50GB thus so the snapshots, transferring them to B always takes hours.
Is there a better way to achieve this with the native LXD/BTRFS capabilities?