Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] BTRFS snapshots. Exclude paths
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: BTRFS snapshots. Exclude paths
10th Oct, 2014, 10:40 AM
Post: #3
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: BTRFS snapshots. Exclude paths
@xbfgf

it is as you proposed. in that way btrfs is like zfs. so snapshot operation starts and ends with sub-volume (as target for snapshot operations).

so create new subvolume and change temporarily // to "root home". or just root. it is up you (btrfs-auto-snapshots will take to consideration all listed filesystem - the names needs to be as last parameters).

I will put --exclude parameter to btrfs-auto-snapshot and update the cronntabs to run
Code:
btrfs-auto-snapshot -l daily -k $KEEPDAYS -v --exclude="$EXCLUDESUB" //

where EXCLUDESUB is new parameter in

/etc/default/xbian-snap:
Code:
# exclude those subvolumes by default for btrfs-auto-snapshot operations (put a list of names separated by spaces)
EXCLUDESUB=""

it was always considered as planned feature specially because XBian on its own provides "downloader" package. so once we test & deploy this general changes, downloader package should be updated to create new subvolume and use it as target for the DL programs.

I remember that you are not very first refreshing this problem - but until now all the other users probably migrated to USB HDD installs anyhow (to big disks so they postponed this discussion for few months Wink ).
but sure it needs to be an implemented option. I will ask you bit later for testing the new btrfs-auto-snapshot ...

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
BTRFS snapshots. Exclude paths - xbfgf - 10th Sep, 2014, 03:02 AM
Re: BTRFS snapshots. Exclude paths - CurlyMo - 21st Sep, 2014, 03:29 AM
RE: BTRFS snapshots. Exclude paths - mk01 - 10th Oct, 2014 10:40 AM
RE: BTRFS snapshots. Exclude paths - f1vefour - 10th Oct, 2014, 06:43 PM
RE: BTRFS snapshots. Exclude paths - mk01 - 10th Oct, 2014, 07:11 PM
RE: BTRFS snapshots. Exclude paths - f1vefour - 10th Oct, 2014, 07:27 PM
RE: BTRFS snapshots. Exclude paths - mk01 - 10th Oct, 2014, 07:31 PM
RE: BTRFS snapshots. Exclude paths - f1vefour - 10th Oct, 2014, 07:35 PM
RE: BTRFS snapshots. Exclude paths - xbfgf - 23rd Feb, 2015, 09:12 AM
RE: BTRFS snapshots. Exclude paths - f1vefour - 24th Feb, 2015, 10:06 PM
RE: BTRFS snapshots. Exclude paths - xbfgf - 25th Feb, 2015, 07:26 PM
RE: BTRFS snapshots. Exclude paths - xbfgf - 27th Feb, 2015, 10:05 PM
RE: BTRFS snapshots. Exclude paths - xbfgf - 24th Sep, 2015, 02:13 AM
RE: BTRFS snapshots. Exclude paths - CurlyMo - 24th Sep, 2015, 03:24 AM
RE: BTRFS snapshots. Exclude paths - xbfgf - 12th Oct, 2015, 03:52 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 28th May, 2025, 05:57 AM Powered By MyBB, © 2002-2025 MyBB Group.