yvolchkov / snapbtr Goto Github PK
View Code? Open in Web Editor NEWsimple btrfs snapshoting
License: GNU General Public License v3.0
simple btrfs snapshoting
License: GNU General Public License v3.0
I tried out snapbtr and the simplicity is perfect for my use case.
Every day I backup my files to a computer with a BTRFS filesystem.
Now I want to keep daily snapshots of my files as well, so I can have versioned backups.
I keep my files in /media/user/backup
and snapshots in /media/user/backup_snapshots
.
I'll be running this command as a daily cronjob for the root user:
snapbtr -cs /media/user/backup /media/user/backup_snapshots --target-backups 100 --preserve-days 7
It works great and I like that I can easily browse the snapshot in the default file manager.
I was even able to manually remove snapshots from the file manager, as standard user.
Is it supposed to be like that? Because you mention "Root permissions are not required for creating snapshot" but I was also able to manually remove snapshots as non root user.
Could you provide an example of how the scoring mechanism works?
With the above command (100 target backups and preserve 7 days).
What would the snapshot folder look like in one month? After 6 months, one year and two years?
I don't quite get the scoring mechanism.
I read through the code and noticed the oldest snapshot is never removed.
Is this true? In my use case I don't need the oldest snapshot to stay around forever.
So can I just manually remove it after a few months or so to free up disk space?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.