Site Tools


start:timeshift

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:timeshift [2023/08/29 19:19] peterstart:timeshift [2024/01/24 19:48] (current) peter
Line 67: Line 67:
 Well first lets make a new subvolume for @ home: Well first lets make a new subvolume for @ home:
 Now copy and paste the line that looks like this: Now copy and paste the line that looks like this:
-UUID=f0c8474c-e0dd-489a-af83-79b61e879de5 /               btrfs   defaults,noatime,compress=lzo,autodefrag,discard=async,space_cache,subvol=@ 0       0+UUID=f0c8474c-e0dd-489a-af83-79b61e879de5 /               btrfs   defaults,noatime,compress=lzo,discard=async,space_cache,subvol=@ 0       0
  
 Note: ssd option for btrfs is depreciated and not used anymore. Dont forget at the beginning of the guide it mentioned using space_cache now. Note: ssd option for btrfs is depreciated and not used anymore. Dont forget at the beginning of the guide it mentioned using space_cache now.
Line 140: Line 140:
 That is around 20 which is fine and give you plenty to look back on. Anything else you should refer to your backup set. Another thing to note is the automatic backups per schedule wont happen if you have Timeshift open for some reason. You must leave Timeshift closed. Also, the hourly always happen on the hour, so you will need to wait for an hour to pass + whatever was remaining for the current hour. So if the time was 9:23, your first hourly backup would be at 11:00. The reboot schedule also seems to have a delay on it so if you reboot and immediately open Timeshift you wont see any snapshot. Just go get a coffee or something and leave it like 15 minutes after a reboot or check after 2 hours have passed to see auto snapshots getting made. It doesn't like being watched.  That is around 20 which is fine and give you plenty to look back on. Anything else you should refer to your backup set. Another thing to note is the automatic backups per schedule wont happen if you have Timeshift open for some reason. You must leave Timeshift closed. Also, the hourly always happen on the hour, so you will need to wait for an hour to pass + whatever was remaining for the current hour. So if the time was 9:23, your first hourly backup would be at 11:00. The reboot schedule also seems to have a delay on it so if you reboot and immediately open Timeshift you wont see any snapshot. Just go get a coffee or something and leave it like 15 minutes after a reboot or check after 2 hours have passed to see auto snapshots getting made. It doesn't like being watched. 
  
-So hit next and on the next screen you can go ahead and tick the "include @home in backups" if you want. I do, and I leave the qgroups option ticked although some people don't+So hit next and on the next screen you can go ahead and tick the "include @home in backups" if you want. I do because this will allow you to restore deleted files from your @home which is useful
  
 Once you are done selecting all your options just click finish. You can create a manual snapshot by clicking the create button as a test. Once you are done selecting all your options just click finish. You can create a manual snapshot by clicking the create button as a test.
Line 220: Line 220:
 {{:images:hoorayfixeddeb.png|}} {{:images:hoorayfixeddeb.png|}}
  
-There you go! Now you know how to run around and completely break your Linux install and never not be able to revert. You will always have a working Debian to boot into by reverting back to the time before you broke it. Now lets get on with setting up more fun an experimental stuff happy in the knowledge we cannot fail, by design.+There you go! Now you know how to run around and completely break your Linux install and never not be able to revert. **You will always have a working Debian to boot into by reverting back to the time before you broke it. Now lets get on with setting up more fun an experimental stuff happy in the knowledge we cannot fail, by design.**
  
 In the guide if things break I dont use Timeshift, instead I try to show you how to fix them so that you can learn what has happened, but we always have Timeshift to fall back on if need be. In the guide if things break I dont use Timeshift, instead I try to show you how to fix them so that you can learn what has happened, but we always have Timeshift to fall back on if need be.
Line 233: Line 233:
  
 Once you have no snapshots and no qgroups at all then snapshotting seems repaired and wont hang the system although you can get hangs if you have too many snapshots or some issue occurs with them again (typically caused by unclean shutdown etc). They are troublesome but I find they dont cause me an issue if everything is clean and nothing is orphaned etc.  Once you have no snapshots and no qgroups at all then snapshotting seems repaired and wont hang the system although you can get hangs if you have too many snapshots or some issue occurs with them again (typically caused by unclean shutdown etc). They are troublesome but I find they dont cause me an issue if everything is clean and nothing is orphaned etc. 
 +
 +Also note qgroups is an older issue that is no longer a problem (as they are disabled by Debian 12 onwards anyway). 
  
start/timeshift.1693336784.txt.gz · Last modified: 2023/08/29 19:19 by peter