BTRFS send: exclude directories

2014-02-16 Thread GEO
Hi, I have been experimenting with btrfs send/receive for incremental backups, but could not figure out how to exclude certain directories from subvolumes/snapshots. For example, I want to backup my data in home, but I am not interested in backing up hidden directories like .cache too. Is it

Re: BTRFS send: exclude directories

2014-02-16 Thread WorMzy Tykashi
On 16 February 2014 20:07, GEO 1g2e...@gmail.com wrote: Hi, I have been experimenting with btrfs send/receive for incremental backups, but could not figure out how to exclude certain directories from subvolumes/snapshots. For example, I want to backup my data in home, but I am not interested

Re: BTRFS send: exclude directories

2014-02-16 Thread Jim Salter
Simplest way to do it is to make the directories that you don't want to replicate be separate subvolumes. I do this to keep from replicating copies of snapshot directories. Example: mv /home/GEO/.cache /home/GEO/.cache.tmp btrfs sub create /home/GEO/.cache cp -a --reflink=always