Can I change the settings of Snapper to suit my need? #335
-
After few months of using SpiralLinux and constantly installing/uninstalling software, I found that Snapper is too intrusive by having them creating snapshot everytime I do apt operations. Can I change it to make it not automatic like that, and instead take snapshot every day/week/month instead? Also OOT but whenever I install/uninstall something, at the end of the apt terminal output there is always a text that says "Illegal snapshot." I wonder what that means. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi there,
Yes, in
You could setup a manual cron job to run
Not sure about this one, you could ask on a more technical forum. |
Beta Was this translation helpful? Give feedback.
Hi there,
Yes, in
/etc/default/snapper
you can setDISABLE_APT_SNAPSHOT="yes"
.You could setup a manual cron job to run
snapper -c root create -c number
orsnapper -c root create -c timeline
. If you want the automatic cleanup algorithm that is shown in Snapper GUI to maintain a fixed number of snapshots then use-c number
, or if you want it to retain X number of daily/monthly/weekly snapshots you could use-c timeline
.