Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
I am not really sure of the meaning of the "Keep On Root Device" option which appears on the Timeshift "Select Target Device" page. This comes up as part of the Restore operation.
I used it to solve a problem which I describe here. However, I am not sure that is what it is intended for.
I used it to solve a problem which I describe here. However, I am not sure that is what it is intended for.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- AZgl1800
- Level 20
- Posts: 11184
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
that would keep the 'target' Timeshift folder on the /root partition as the OS is running on.
a terrible idea that can easily lock up the partition by running out of space.
Always choose a separate HDD/SSD or at a minimum create a separate Partition for Timeshift, so that your OS won't be impacted by the large files created by Timeshift.
my drive looks like this, and note that it is dedicated to Timeshift and a few other "backup utilities"
a terrible idea that can easily lock up the partition by running out of space.
Always choose a separate HDD/SSD or at a minimum create a separate Partition for Timeshift, so that your OS won't be impacted by the large files created by Timeshift.
my drive looks like this, and note that it is dedicated to Timeshift and a few other "backup utilities"
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
Sorry, but that's incorrect. The OP is asking about an option during the Restore process.
Daisuke, what's going on there is that Timeshift doesn't try to parse fstab to select where to restore files. Instead, it expects the user to know whether they moved a folder or sub-folder to a separate partition, then say so on that screen. Keep on Root Device is the default because that's the default at installation.
For example, /home is usually on the root partition. If you put /home on a separate partition, you have to tell TS on this screen.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
I had some problems at the beginning when I was using default settings, so then I allways unchecked the two checked items in this box ... and all went well ...
except one time because I wanted to restore on another partition and it seemed that it could be useful to let these 2 items checked, and it was a good idea ...
except one time because I wanted to restore on another partition and it seemed that it could be useful to let these 2 items checked, and it was a good idea ...
Linux Mint 20.3 Cinnamon - K 5.15 - Desktop - english
AMD APU A8 7600 - DDR3 1833 MHz 8 GB x2 Dual Channel
--
If you think tough men are dangerous, wait until you see what weak men are capable of.
AMD APU A8 7600 - DDR3 1833 MHz 8 GB x2 Dual Channel
--
If you think tough men are dangerous, wait until you see what weak men are capable of.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
Thanks for the reply! I agree with this completely. And I do have a separate drive for TS backups.AZgl1800 wrote:Always choose a separate HDD/SSD
In the image you post, it looks like your backup area is another partition on the same drive holding your Linux system. If this is indeed the case, and the drive itself were to fail, it will take out not only your system and home partitions but also all your TS backups. I just mention it as something to consider. We are in complete agreement on the drives however, as all my SSDs are Samsung, mostly EVO 860s, but now EVO 870s, as the unbeatable 860s are no long made.
Thanks so much for the very helpful and informative reply which clarified the meaning of "Keep on Root Device". As a clueless new user, in the setup, I did not expressly exclude partitions mounted on /data and /share. Even so, TS was smart enough not to snapshot any of their contents aside from including the mount point directory, i.e. /data and /share. It does automatically exclude /mnt and /media directories. However, other mount points like. /data and /share need to be explicitly excluded by the user as you suggested in another post.pbear wrote:what's going on there is that Timeshift doesn't try to parse fstab to select where to restore files. Instead, it expects the user to know whether they moved a folder or sub-folder to a separate partition, then say so on that screen. Keep on Root Device is the default because that's the default at installation.
For example, /home is usually on the root partition. If you put /home on a separate partition, you have to tell TS on this screen.
As a novice user of TS, I incorrectly assumed it restricted itself to / and /home partitions and only allowed restores on the original drives. So it is interesting to learn this is not the case.
Following your advice, I have started to explicitly exclude these partition mount points. Interestingly, these still show up in the "Select Target Device" page, but I no longer get the dire warning that their entire contents will be replaced! However, this seems to be a bug since this Select Target device page also presents sources to be restored (in the left hand column) as well as the restore destination or target (options in the widgets in the right hand column). So it appears that TS is asking for a location to restore the contents of directories which it has not backed up and which have been expressly excluded. Here is a screenshot.
Thanks for the tip. I think you are referring to the extra options in the "Boot Loader (Advanced)" dialog box. I always uncheck those too because I have a dual boot system and others have reported problems when they leave these default boxes checked. But it is good to know that if you are restoring to a different partition that they work!menard wrote:I had some problems at the beginning when I was using default settings, so then I allways unchecked the two checked items in this box ... and all went well ...except one time because I wanted to restore on another partition and it seemed that it could be useful to let these 2 items checked, and it was a good idea ...
- AZgl1800
- Level 20
- Posts: 11184
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
I have bought at least a dozen SSDs, and not one of them has ever failed.
That is the least of my worries.
Plus, I have Foxclone Image backups if needed.
Plus, I have /home backups on an "offline USB drive'
Plus, I have Aptik backups to restore my Apps...
my Daily Driver is a Laptop, no room for extra HDDs/SSDs, so separate Partitions it is.
That is the least of my worries.
Plus, I have Foxclone Image backups if needed.
Plus, I have /home backups on an "offline USB drive'
Plus, I have Aptik backups to restore my Apps...
my Daily Driver is a Laptop, no room for extra HDDs/SSDs, so separate Partitions it is.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
Open Settings, click Filters tab, then Summary button. There's a long list of default filters. Didn't notice a filter for /share, but that might be inherent in rsync, which is what actually does the file copying.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
Yes, everything is tradeoffs and I agree you have a very good backup plan. So many people don't have any backups!AZgl1800 wrote:I have bought at least a dozen SSDs, and not one of them has ever failed.
That is the least of my worries.
Plus, I have Foxclone Image backups if needed.
Plus, I have /home backups on an "offline USB drive'
Plus, I have Aptik backups to restore my Apps...
my Daily Driver is a Laptop, no room for extra HDDs/SSDs, so separate Partitions it is.
I would like to try Aptik but I admit I do not understand what it does. I find each back up tool requires some study. That will be the next thing I tackle after BackInTme. Thanks for the tip!
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
You are a font of knowledge on TimeShift. Thanks for this tip. I will post the a snapshot of this window below. I confess I do not know the difference between *, ** and *** when excluding files and directories. I hope you will enlighten me on this pointpbear wrote:Open Settings, click Filters tab, then Summary button. There's a long list of default filters. Didn't notice a filter for /share, but that might be inherent in rsync, which is what actually does the file copying.
As you can see, barring my ignorance on the meanings of the asterisks, the mount points of all the external drives seem to be well and truly excluded by TS already. I simply added a couple more at the end which seem redundant.
This still begs the question, if these are excluded from the backup, why are they being offered as candidates for restoration? Again, this does seem to be a bug, but I defer to you for an explanation.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
Per the rsync man page, two asterisks matches any path component, but stops at slashes; three matches anything, including slashes.
To be honest, I've not tried to understand the point about restoration, as your setup is very complex (to my mind, needlessly so) and I've never run into the issue you describe. As for whether it's a bug, maybe, but developers can't anticipate every scenario.
Bear in mind, the purpose of the Select Target Device screen is for you to confirm the restore points. Bug or no, it's your job to make sure they're correct.
To be honest, I've not tried to understand the point about restoration, as your setup is very complex (to my mind, needlessly so) and I've never run into the issue you describe. As for whether it's a bug, maybe, but developers can't anticipate every scenario.
Bear in mind, the purpose of the Select Target Device screen is for you to confirm the restore points. Bug or no, it's your job to make sure they're correct.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
If I am reading this right that needs to be corrected to:two asterisks matches any path component, but stops at slashes; three matches anything, including slashes.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
Hmm, what's the source for that version of the man page? This link I gave (which I believe is the official man page) has different text. You can find it quickly by searching for the text string ***, which appears only once. There's a bit of a lag for the version of rsync used in Ubuntu (inherent in stable release), but not different on this point for either 20.04 or 22.04.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
pbear, following your link I get the same, what mikeflan has partially showed as screenshot. About 10 lines below (not in the screenshot) there is also the explanation for ***. The other 2 links (your last post) give exactly the same content, only a little bit different formatting.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
Yes, it was from the pbear link. And his "***" is about 13 lines below what I posted.
Re: Please explain what "Keep On Root Device" means in Timeshift "Select Target Device"
My bad. I should have been able to figure out the screenshot was an earlier part of the same section of the man page. In my defense, it was morning here and the coffee hadn't kicked in yet.
Does anyone have a better brief summary of what the asterisks mean from a practical perspective for the Timeshift filters? Telling users just to read the pattern rules section of the man page strikes me as not very helpful.
Does anyone have a better brief summary of what the asterisks mean from a practical perspective for the Timeshift filters? Telling users just to read the pattern rules section of the man page strikes me as not very helpful.