- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Snapshots - exclude a file/folder (ReadyNasOS 6.10)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Snapshots - exclude a file/folder (ReadyNasOS 6.10)
My project stores a lot of temporary data on the CIFS network share. Data changes very quick, so literally every snapshot has tens gigabytes of trash.
1) How to exclude some filenames or folders from the snapshots? I will get out of space soon 🙂
2) How to delete files from the snapshots? A have a plenty of them already.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots - exclude a file/folder (ReadyNasOS 6.10)
@SauvageSausage wrote:
1) How to exclude some filenames or folders from the snapshots? I will get out of space soon 🙂
You can't.
@SauvageSausage wrote:
2) How to delete files from the snapshots? A have a plenty of them already.
Again, you can't. What you can do is delete the entire snapshot.
@SauvageSausage wrote:
My project stores a lot of temporary data on the CIFS network share. Data changes very quick, so literally every snapshot has tens gigabytes of trash.
Shares that have a lot of "churn" aren't well suited for snapshots. So one suggestion is simply to turn them off for that share, and the delete the ones you have.
Another thing you can do is change to "custom" snapshots, and set an explicit retention (either in time or number of snapshots).
You should take one of these options, since it's a really bad idea to let the a btrfs file system get full.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots - exclude a file/folder (ReadyNasOS 6.10)
If your software can be configured to take advantage of it, create a separate share for the temporary files and turn off snapshots just for it. If the software doesn't like that configuration, you might be able to put a link in one share that points the temporary directory to a directory in the other share.