Exploring a backup strategy with Btrfs

If it doesn't relate to Debian, but you still want to share it, please do it here

Exploring a backup strategy with Btrfs

Postby bester69 » 2017-12-10 13:16

Ive always been able to restore with success fsarchiver filesystem backups, but fsarchiver does not support deduplication, and I always keep my whole system backup (excluding data home) in the cloud with duplicty over fsarchiver backups.

So i was thinking of using directlly duplicity against a btrfs snapshot filesytem, so this way i can keep my system backup updated in the cloud with just a few Mbytes of uploading, What im not sure, is how duplicity will deal with system permissions when restoring and mounting the snapshot, I know fsarchiver is the perfect tool for this purpose, but Im not sure about using duplicity.

Ho do you see this strategy??, any suggestion?
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
User avatar
bester69
 
Posts: 1160
Joined: 2015-04-02 13:15

Re: Exploring a backup strategy with Btrfs

Postby pylkko » 2017-12-13 16:46

Btrfs has deduplication in itself AFAIK. Never used it but see foe example
https://btrfs.wiki.kernel.org/index.php/Deduplication

https://askubuntu.com/questions/631917/ ... with-btrfs

Btrfs send also allows you to send snapshot diffs to a remote storage, so in theory all you want to do could he done with btrfs alone.
User avatar
pylkko
 
Posts: 1309
Joined: 2014-11-06 19:02

Re: Exploring a backup strategy with Btrfs

Postby bester69 » 2017-12-13 17:50

pylkko wrote:Btrfs has deduplication in itself AFAIK. Never used it but see foe example
https://btrfs.wiki.kernel.org/index.php/Deduplication

https://askubuntu.com/questions/631917/ ... with-btrfs

Btrfs send also allows you to send snapshot diffs to a remote storage, so in theory all you want to do could he done with btrfs alone.

Hi pylkko , Im using the cloud to backup the full system, so I cant use "btrfs send"..

This is the new method Im thinking of using;being $backpath the snapshot root path
Code: Select all
duplicity  -v 4  --progress --allow-source-mismatch  --num-retries=5 --no-encryption --ssl-no-check-certificate --volsize 100   --verbosity=6 --timeout=60 --progress  $backpath webdavs://bester@yahoo.es:"$CLK"@dav.box.com/dav/btrdup   --exclude $backpath/mnt --exclude $backpath/tmp --exclude $backpath/proc --exclude $backpath/sys


Ive seen. duplicity can work out like this, but im not very confident about it; Im afraid when restoring might find out something corrupted, but i dont know, in theory duplicty should garantee integrity data backup with all files.(for the cloud, using duplicty with fsarchiver files do really works great, very secure method in my own experience, but it does not have deduplication due to fsarchiver layout)
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
User avatar
bester69
 
Posts: 1160
Joined: 2015-04-02 13:15


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable