linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Incremental backup over writable snapshot
@ 2014-02-19 13:45 GEO
  2014-02-19 17:00 ` Chris Murphy
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: GEO @ 2014-02-19 13:45 UTC (permalink / raw)
  To: linux-btrfs

Hi,

As suggested in another thread, I would like to know the reliability of the 
following backup scheme:

Suppose I have a subvolume of my homedirectory  called @home. 

Now I am interested in making incremental backups of data in home I am 
interested in, but not everything, so I create a normal snapshot of @home 
called @home-w and delete the files/folders I am not interested in backing up. 
After that I create a readonly snapshot of @home-w called @home-r, that I sent 
to my target volume with btrfs send. 

After that is done, I do regular backups, by always going over the writeable 
snapshot where I remove always the same directories I am not interested and 
send the difference to the target volume with  btrfs send -p @home-r @home-r-1| 
btrfs receive /path/of/target/volume. 

I do not like the idea of making subvolumes of all directories I am not 
interested in backing up.

So what I would like to know now is the following: Could there be drawbacks of 
doing this resp. could I further optimize my backup strategy, as I experienced 
it takes a while for deleting large files in the writeable snapshot (What does 
it write there?)

Could my method somehow lead to inefficiency in terms of the disk space used at 
the target volume (I mean, could the deleting cause a change, so that more is 
actually transferred as change, than in reality is?)?

One last question would be: Is there a quick way I could verify the local read 
only snapshot used last time is the same as the one synced to the target 
volume last time?


Thank you for your support and the great work!

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-02-28  6:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-19 13:45 Incremental backup over writable snapshot GEO
2014-02-19 17:00 ` Chris Murphy
2014-02-19 18:57   ` GEO
2014-02-20 13:20   ` GEO
2014-02-20 23:04     ` Kai Krakow
     [not found]   ` <2285169.jbztTl7OC0@linuxpc>
2014-02-19 17:26     ` Chris Murphy
     [not found]       ` <16991840.tqyQc6bZHr@linuxpc>
2014-02-19 17:51         ` Chris Murphy
2014-02-19 20:20           ` Kai Krakow
2014-02-20  3:31             ` Kai Krakow
2014-02-20 11:03             ` Duncan
2014-02-20 21:16               ` Kai Krakow
2014-02-21 14:44     ` GEO
2014-02-21 18:56       ` Kai Krakow
2014-02-27 13:10 ` GEO
2014-02-28  6:54   ` Duncan
2014-02-27 14:36 ` GEO

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).