-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Projects often use several storage types together (eg mysql db + files + solr db + redis db), so for make a backup with consistent data we need to make a snapshots of each storage volume as instantly as can.
But when we executing serial backups via calling btrfs-sxbackup in script, each next backup will be delayed by transfer job, so the time difference between snapshots will be significant.
Solution for this problem is using separate command like btrfs-sxbackup make-snapshot /location1 /location2 /location3 that will only make a snapshots, and transfer them to destination later, via separate commands. What do you think about this idea?
Alternate possible solution is to use one large btrfs volume for all storage types and keep whole data on one drive, but this is not good for flexibility (can't mount with different options) and data reliability. So the solution to instantly snapshot multiple separate btrfs volumes must be much better.