hammer, saw, chisel, plane, screwdriver.
these are just 5 items in a carpenter's toolbox/toolbelt.
a recovery plan can feature more than one tool. Timeshift, Clonezilla, TestDisk for data recovery from damaged or deleted partitions, DejaDup or other backup utilities. Which tool is the most valuable?
Subjective.
Bear in mind that the OP (Original Poster, that's you, jj
) asked after
does-linux-use-system-restore-disks
if you want an actual disk, then TuxRescue, Hiren's Rescue CD, and others are worth a look.
My "Swiss Army Knife" for over 5 and a half years and 150 or more Distros has been Timeshift.
if we describe @jglen490 's comment above arbitrarily as FORMULA W, then i can give you x, y & z below.
Formula x
one by empty usb stick minimum 8 gb in capacity. Preferred is 16 gb or 32 gb, with no upper limit.
Use gparted or other partitioning tool to
*EFI System Partition
and the flags facility to flag it as
boot, esp
in my case, I am using a 16 gb stick. I have 3 drives in my rig, /dev/sda, /dev/sdb, and /dev/sdc – so my stick is /dev/sdd and I end up with /dev/sdd1 ext4 nearly 16 gb in size, and /dev/sdd2 fat32 500mb in size.
*if you are not using a computer that is UEFI supporting, ignore references to ESP and just have the one partition.
Once the stick is prepared, I leave it in place and launch Timeshift, where I identify the snapshot I wish to use.
In my case, I use full snaps each time OD on demand, but that is because I run between 60 and 100 Linux at any time. You need only choose the last incremental snapshot taken automatically on your one or more Linux.
I have chosen Linux Mint 19.3 “Tricia” MATE as my test subject, on my SSD at /dev/sdb9, with its (shared) ESP being at /dev/sdb2
I select to restore it but instead of restoring it to its source, I target the usb stick, with /dev/sdd1 for root and /dev/sdd2 for an ESP, and confirm changes and proceed.
At the end of the exercise, I have my entire Tricia MATE on a stick that I can run on another of my computers, or even take it travelling with me without the computer.
Formula y
my friend has told me that pulseaudio provides a lot better sound than the ALSA sound that my Linux has shipped with, so I blow away ALSA and install pulseaudio, only to find that my sound card does not like it, and I end up with scratchy distorted sound, or no sound at all.
Deleting pulseaudio and reinstalling ALSA does not remedy the problem, in fact I have no sound even under ALSA, so I am obviously missing something.
Fortunately, my Timeshift ran as scheduled before this, so I just rollback from the last snapshot. Voila, sound fixed.
Formula z
I have an audio-visual presentation to make at work in about an hour.
One of the kids used my work laptop (a no-no) last night to get a fast download on a game they wanted to play, and as a part of that accidentally deleted the Libreoffice Presentatations (Windows users think PowerPoint) file I was building.
They didn’t nuke Presentations, just the one, ultra-important file.
Fortunately my TS ran at 5PM yesterday, before they got on, so I use my File Manager to access the partition where my snapshots are stored, and tunnel into the snapshot to where the file is saved.
Timeshift uses no compression, that is, 1:1 so I just copy (not move) the needed file back to my Linux install, and have time to have a coffee before I meet the boss and the Board of Directors.
now, i can just as easily move past the end of the alphabet and come up with Formulae a, b, c, d &c
then this would be TL;DR (too long, don't read) - possibly is already.
i have Timeshift installed on every distro i use.
cheers
one-armed wizard
these are just 5 items in a carpenter's toolbox/toolbelt.
a recovery plan can feature more than one tool. Timeshift, Clonezilla, TestDisk for data recovery from damaged or deleted partitions, DejaDup or other backup utilities. Which tool is the most valuable?
Subjective.
Bear in mind that the OP (Original Poster, that's you, jj
does-linux-use-system-restore-disks
if you want an actual disk, then TuxRescue, Hiren's Rescue CD, and others are worth a look.
My "Swiss Army Knife" for over 5 and a half years and 150 or more Distros has been Timeshift.
if we describe @jglen490 's comment above arbitrarily as FORMULA W, then i can give you x, y & z below.
Formula x
one by empty usb stick minimum 8 gb in capacity. Preferred is 16 gb or 32 gb, with no upper limit.
Use gparted or other partitioning tool to
- create partition table to msdos or gpt as preferred
- format the stick to ext4
- create 2 partitions – one uses all available space except for 300 to 500 mb and is ext4 – the other one is sized 300 – 500 mb and is fat32
*EFI System Partition
and the flags facility to flag it as
boot, esp
in my case, I am using a 16 gb stick. I have 3 drives in my rig, /dev/sda, /dev/sdb, and /dev/sdc – so my stick is /dev/sdd and I end up with /dev/sdd1 ext4 nearly 16 gb in size, and /dev/sdd2 fat32 500mb in size.
*if you are not using a computer that is UEFI supporting, ignore references to ESP and just have the one partition.
Once the stick is prepared, I leave it in place and launch Timeshift, where I identify the snapshot I wish to use.
In my case, I use full snaps each time OD on demand, but that is because I run between 60 and 100 Linux at any time. You need only choose the last incremental snapshot taken automatically on your one or more Linux.
I have chosen Linux Mint 19.3 “Tricia” MATE as my test subject, on my SSD at /dev/sdb9, with its (shared) ESP being at /dev/sdb2
I select to restore it but instead of restoring it to its source, I target the usb stick, with /dev/sdd1 for root and /dev/sdd2 for an ESP, and confirm changes and proceed.
At the end of the exercise, I have my entire Tricia MATE on a stick that I can run on another of my computers, or even take it travelling with me without the computer.
Formula y
my friend has told me that pulseaudio provides a lot better sound than the ALSA sound that my Linux has shipped with, so I blow away ALSA and install pulseaudio, only to find that my sound card does not like it, and I end up with scratchy distorted sound, or no sound at all.
Deleting pulseaudio and reinstalling ALSA does not remedy the problem, in fact I have no sound even under ALSA, so I am obviously missing something.
Fortunately, my Timeshift ran as scheduled before this, so I just rollback from the last snapshot. Voila, sound fixed.
Formula z
I have an audio-visual presentation to make at work in about an hour.
One of the kids used my work laptop (a no-no) last night to get a fast download on a game they wanted to play, and as a part of that accidentally deleted the Libreoffice Presentatations (Windows users think PowerPoint) file I was building.
They didn’t nuke Presentations, just the one, ultra-important file.
Fortunately my TS ran at 5PM yesterday, before they got on, so I use my File Manager to access the partition where my snapshots are stored, and tunnel into the snapshot to where the file is saved.
Timeshift uses no compression, that is, 1:1 so I just copy (not move) the needed file back to my Linux install, and have time to have a coffee before I meet the boss and the Board of Directors.
now, i can just as easily move past the end of the alphabet and come up with Formulae a, b, c, d &c
then this would be TL;DR (too long, don't read) - possibly is already.
i have Timeshift installed on every distro i use.
cheers
one-armed wizard