- May 18, 2021
- Reaction score
THANKS DUDE!!! So, the comment is only necessary if say I am testing out an app, but not sure I want to keep it? Hope you have a GREAT day...I going toYes.
If you are running a manual (On Demand) snapshot, be sure to make use of the Comments field to describe what is being added or removed, for easy identification, should you need to reverse the changes.
Since v19.1 of Timeshift (now on 21.9), if you enter a comment, it will exclude that snapshot from any pre-determined culling period set.
...but i seem to always trip up somewhere.
1) do a fresh install
2) replace the snapshot's /etc/fstab and /etc/crypttab with the new ones created with the fresh boot (new uuids etc) or edit them
3) replace /boot and /boot/efi with the new ones as well
4) then restore via timeshift (disabling grub options via the advanced settings since pop!_os doesn't use grub)
but i seem to always trip up somewhere.
this isn't a terrible idea, but i really wanna just have a one and done approach whereby this requires a lot of extra lift with having to document all my apps etc. i've used ansible before for work, but yeah, i again, i want this to be a quick one off without having to do too much config. thanks for the idea tho.I am so divided with this strategy!
The good side --> your noble goal it's almost like the "corporate process of creating a standard image" and then burn it into the laptops in a more or less semi-automated way. I wish I could do that, too. I want to do that, too.
The bad side --> I don't think the tools you're trying to use (backup tools) are the right hammer for that nail due to things you're pointing out yourself: disk encryption, filesystem UUIDs, and all those things that are effectively coupling a backup to its machine, very tightly.
So here's the thing I would like to have time to try that may give you some alternative ideas:
If you want, and to not derail this thread, we can take this reply back to your original thread and continue from there.
- I came across this guy on GitHub who has a set of ansible playbooks and scripts that can provision his tools and applications of choice over a fresh installation: https://github.com/brpaz/my-linux-setup.
- Combining the above with a userhome backup like deja-dup we may achieve that semi-automated laptop set up over a fresh installation.
ou, thanks for the heads up. i'll give this a go to see if it works or not.Just to show how little I know......does pop os have Gnome Discs ?.....(Linux Mint has it......which is why I ask)
If indeed pop os has gnome discs a clone can be taken using that.
Would that get rid of some of the complications you are facing ?
well, i got back into this a few days ago and have made progress whereby i was able to actually boot, but after running update-initramfs (once i was booted into the old snapshot) it borked it again. sadly, i have not been taking notes through my experiments, but i started from scratch last night and this is where i'm at.Maybe you can clarify that a little so we can see what may have gone wrong.
all things went down hill when i tried to restore my home user, it wouldn't do it. timeshift just failed, but did create the user home directory. so i went to pop!_os fix boot loader steps, https://support.system76.com/articles/bootloader/, and followed all the steps etc, but i was the prevented from even booting with issues finding the iuud for the encrypted disk. so i chrooted again and made sure the uuids were right and ran update-initramfs again, but no luck.
my next test will be to do a fresh install, create snapshot and then restore, but not copy /boot at all, and try just moving it manually over after the restore.
yah, that's what i've actually been doing. a full disk clone via clonezilla and timeshift.I use Timeshift for minor problems only...you should never rely on only one backup solution...that's asking for trouble.
After a clean install with all my software...browsers...VMs and printer installed...I'll create a snapshot with timeshift...then I'll create an image with Foxclone...https://www.foxclone.com/ If anything happens...Drive failure being the worst...I just restore the image with nothing lost and it works every time. You can create an image anytime and so very fast unlike Clonezilla which takes forever and may not work.
zfigz said:i'm about to putter out as this is taking too much of my time.
yah, that's what i've actually been doing. a full disk clone via clonezilla and timeshift.
i just wanna be able to fully restore via timeshift, and while i've seen success stories, i'm about to putter out as this is taking too much of my time.
maybe someone can chime in with a success story "and" a how to.