I’ve checked the online documentation for Schnapps but could not find the following information:
After using Schnapps to rollback to a snapshot from a few days ago, will Turris Omnia’s auto updater automatically reinstall updates that had occurred in the last few days (as evidenced by the pre and post update snapshots indicated when running Schnapps list)?
If yes to above, how and when will the auto updater run?
Can I safely delete for example, /mnt/snapshot-@31 that was created when i run Schnapps mount 31, after I have done what I needed to do? For example, after getting Schnapps to restore to 31?
There are system “cron” jobs in /etc/cron.d/ there is “schnapps” and “updater”. Updater is running schnapps before and after updating the system. Schnapps cron runs in parallel and makes extra snapshots. So you always have pre/post snapshots for easy rollback in case you don’t like correspond update/upgrade.
You can keep any snapshot you like, you can rollback to any snapshot you like. You can have 40 and rollback to 30 (which will create actually 41 as clone of 30) later you can choose to go back to 31 and you will get 42 as clone of 31. and again you can rollback from 42 to 41 creating 43 and so on …
It is good practice to housekeep the schnapps time to time. Once you are fine with actual state of your TOS, call schnapps , once you have stable ‘single/full’ snapshots, you can safely remove any other (pre/post/cron) in between stable ones.
note: any rollback take some time(10-30mins), any interruption of rollback and manual “via button” rollback one or two snapshots back take even longer time (over 40 minutes , depending on your setup), so be patient when waiting for blue/green led lights indicating finished bootup. Once i have to wait over hour (i was so nervous :)) …
EDIT: ad_delete: direct removal/delete of files/folder with schnapps data might cause some damage(and you might loose the option to rollback via “button” which is quite essential), i would not touch any files related to schnapps unless you know what you are doing. Use schnapps instead.
Sorry, let me explain my question again. If i run the command schnapps mount 31, this directory called /mnt/snapshot-@31 is created, which like you said mounts a the snapshot in /mnt. Can I "rm -rf /mnt/snapshot-@31* when I’ve finished doing what I needed to do?