Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Exploring a backup strategy with Btrfs

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Exploring a backup strategy with Btrfs

#1 Post by bester69 »

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:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Exploring a backup strategy with Btrfs

#2 Post by pylkko »

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
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Exploring a backup strategy with Btrfs

#3 Post by bester69 »

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:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Exploring a backup strategy with Btrfs

#4 Post by pylkko »

btrfs send can work over ssh, but it depends on your "cloud"

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Exploring a backup strategy with Btrfs

#5 Post by bester69 »

pylkko wrote:btrfs send can work over ssh, but it depends on your "cloud"
We can also use rclone, or duplicity-rclone (backend) https://github.com/GilGalaad/duplicity-rclone.


Here, The strategy backup with BTRFS.

HOWTO: Btrfs filesystem backup
http://forums.debian.net/viewtopic.php?f=16&t=142344

Thanks pylkko. :o
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Post Reply