With btrfs hitting production in Oracle EL 14th this month (together with working fsck and scrubbing from Linux 3.2) I was thinking of redesigning my current backup solution to utilise it. Note that I'm thinking about doing it for small amounts of data, less than 10TB, that's fairly static (less than 1% changed daily). In short a SMB/SOHO backup solution.
What the backup should do:
- do a LVM snapshot of ext/XFS/JFS on the production server
rsync/transfer changed data to btrfs on backup server
- snapshot the btrfs filesystem
- drop old snapshots when free space is running low
- All files easily available, no decompression or loop mounting needed
- Past snapshots also easily available...
- ... so I can share them as read-only Samba shares (with shadow copy support)
- Snapshots take minimal amount of space thanks to copy-on-write (snapshot without changes takes literally few KiB on disk)
- High backup consistency: checksums on files, scrubbing of all data and built-in redundancy
- Is there some backup solution (in form of Bacula, BackupPC, etc.) that is, or can be easily made, aware of copy-on-write file system?
- Or will I need to use in-home
- What do people with ZFS boxes dedicated for backup do to backup their Linux machines?