Comments (4)
The difference between the built-in rollback and this script is that snapper
can't make any assumptions around the partitions/subvolumes layout.
snapper rollback
moves subvolumes and mounts them so that the system is rolled back but introduces techdebt: the subvolume layout becomes complex to work with, and this complexity increases every time the rollback is run.
snapper-rollback
keeps the same exact subvolume layout, but the flipside is that it has to assume a specific partition layout.
This script can be run both from a live image and from a system installed to a hard drive. The only difference between running it from a hard drive and running it from a live image is the config file /etc/snapper-rollback.conf
takes different values.
If you're looking for context around how things work, archwiki is the best resource: snapper-rollback
just automates the wiki page.
If you're looking for context on the partition layout choice, I'd recommend going through this btrfs wiki page and this reddit thread
Good docs are important and take effort. Would creating a PR that updates the repo readme and/or adds a docs
directory with what you've learned, make sense to help the next person asking these questions?
from snapper-rollback.
In that case, I will look into this issue soon and make an edit to the readme file.
I don't know how long this one's gonna take. But I think I can say I'm making a promise to do it.
from snapper-rollback.
Another difference is that snapper-rollback leaves a @YYYY-MM-DDTHH:MM-subvolume forever, if I understand it correctly.
I have about ten @YYYY-MM-DDTHH:MM subvolumes now. Can I delete them? If so, how?
from snapper-rollback.
@thebestcloudislocal yes, you can delete those as soon as you feel comfortable that your system is working as intended and that there's no data you'd like to recover from the old snapshot.
For deletion, simply mount the btrfs root partition anywhere you like and delete the snapshot just like you would delete any other snapshot. Please make sure to delete the right snapshot - once it's deleted, it's gone forever!
from snapper-rollback.
Related Issues (14)
- Don't have subvolid 5 HOT 2
- [BUG] HOT 4
- Usable with /@ root volume? HOT 6
- Snapshot not restored despite success message HOT 5
- Necessity of `mountpoint` and `dev` settings HOT 1
- [FEATURE] Rollback snapper default layout snapshots (e.g. `@home`) HOT 14
- [BUG] No module btrfsutil were found HOT 5
- Add support for snapshot auto-deletion HOT 3
- [BUG] still booting read only after roll back HOT 10
- 'mountpoint' value when running from installed system HOT 1
- Error on rollback HOT 6
- mountpoint = /btrfsroot HOT 4
- I am left without network device after rollback HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapper-rollback.