Backup the backup with urbackup-clone-brfs

I finally got around to writing my UrBackup backup software :slight_smile:

I hope you find it useful, as I’ve tried several btrfs clone programs that never really quite worked how I wanted. I use this to copy all subvolumes and the database (and backup database) to a LUKS encrypted btrfs filesystem that is rotated offsite. I can plug in my old filesystem, and the program then “clones” the changes. Much nicer than the rsync version I was using before.

Github link:

Cheers!

4 Likes

That’s really great, I’ll try it out as soon as I get my urbackup volume back to btrfs.

In the github readme you mention the cron helper script for luks offsite backup.

Please, could you share an example, too?

Good news, I added the script you were asking about, and a mount/unmount python helper script that I use. I also updated the urbackup-clone-btrfs.py program with ssh support for either sending or receiving (not both at the same time, similar to rsync).

Hope you find the software useful. If you find any bugs, please let me know.

1 Like