You are not logged in.
Hello,
i started to play around with the btrfs filesystem and was wondering how i can use it's features ,e.g. snapshots, to aid a system backup?
What strategies are there? I can make a snapshot and copy it on another device, but is there a even better way? How do you make your backups using btrfs?
Thanks in advance,
Robert
Offline
I use BTRFS on RAID to protect against drive failures, and snapper [1,2] for timelined backups protecting against human failures and/or bogus system updates.
Additionaly I copy critical data to external drives from time to time to protect against filesystem failures (which is good to have until BTRFS has a reliably working fsck tool)
Offline
Sounds like a reasonable approach. I intend to use btrfs on my laptop, so raid is not really an option. Have you tried to use the just introduced send/recieve functions? you can basically do a diff of two snapshots and store it somewhere.
It's still in a very early stage of development, but it could be of great use for a backup scenario.
Regards,
Robert
Offline
Snapshots within the same disk (manual or snapper) are the easiest way, but they won't protect you against filesystem corruption.
btrfs subvolume find-new feeding rsync is easy and should be safe, but it's a bit inaccurate because it won't notice file deletions and metadata-only changes.
Send/receive are the most efficient way to transfer things to another device, but it's quite new so there may be bugs left in it. Best do a slower rsync pass from time to time to make sure everything was transferred properly (rsync -c to check file contents not just mtimes), followed by a btrfsck of the receiver.
At the moment I'm using btrfs-time-machine, which transfers with rsync and only needs btrfs on receiver side, where it does snapshots.
Last edited by Tobu (2012-11-04 19:19:18)
Offline