using Timeshift to move an image
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.
using Timeshift to move an image
I am in the process of upgrading my sister's laptop from a HHD to a SSD. Can I take a Timeshift snapshot of the entire system to include /home/user from the HHD and then after installing the SSD load the Timeshift snapshot onto the SSD?
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.
Re: using Timeshift to move an image
I'll closely follow this thread because I'm interested in Timeshift expert answers too.
Just for the record, even if a little out of the topic, I went through posts where guys spoke of a tool named
On this page :
https://foxclone.com/download.php
clicking on
Also bumped in a post stating
Just for the record, even if a little out of the topic, I went through posts where guys spoke of a tool named
Foxclone
.On this page :
https://foxclone.com/download.php
clicking on
Read the file
will display Foxclone's manual and let you know if it may be useful.Also bumped in a post stating
AndyMH
is the (or one of the) developer of Foxclone. Can also be useful to know.dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
Re: using Timeshift to move an image
It is true that AndyMH is the if not one of the Foxclone devs. I was having a problem with Foxclone many months back and Andy kept fast good communication with me helping me out with it.
The only thing I don't recall is the main difference in a " Backup" vs " Clone" using Foxclone. Andy? Are ya out there bud?
The only thing I don't recall is the main difference in a " Backup" vs " Clone" using Foxclone. Andy? Are ya out there bud?
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Re: using Timeshift to move an image
you can use Foxclone to make an backup of your drive,
https://foxclone.com/download.php
or you can use an Imaging program as well.
viewtopic.php?f=42&t=319764
https://foxclone.com/download.php
or you can use an Imaging program as well.
viewtopic.php?f=42&t=319764
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Re: using Timeshift to move an image
TimeShift's developer has a different package that addresses this specifically. I highly recommend Aptik: https://www.makeuseof.com/backup-linux-with-aptik/ Note this requires a license fee; however, I'm happy to subsidize Tony's work.
Re: using Timeshift to move an image
This is not the domain of Timeshift.
I’d recommend Foxclone, as it is fast, simple and reliable.
Foxclone must be booted from DVD or USB to act on your OS.
First create a “Backup”, be sure to select the full drive (all partitions).
A Foxclone (full) Backup contains everything to reproduce the full source drive (but not the content of unused space, like deleted files).
A Foxclone Restore will restore the Backup to the original drive only (kinda protection).
A Foxclone Clone (file to drive) will clone from Backup (files) to any drive, new or occupied, take care!
Foxclone also has a direct cloning, on the flight, from drive to drive - no backup made, if there is a problem (power failure, …) you may be screwed (both drives).
In any case, to restore/clone the target must have at least the size of the source.
Probably one could shrink the last partition beforehand if that helps with drive space.
Re: using Timeshift to move an image
@sanmig
Thanks for the details Cheers.
Thanks for the details Cheers.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Re: using Timeshift to move an image
So it would seem possible not to select all partitions.
I'll try to explain starting from my own configuration, running dual-boot LMDE4 / Mint 19.3 on a fairly shared 500 Gb SSD (240 each + 20 swap)
Here are the partitions from a LMDE4 point of view. Of course, there's a missing /dev/sdc4 beeing the Mint 19.3 partition.
Code: Select all
/dev/sdc1 vfat 511M 10M 502M 2% /boot/efi
/dev/sdc2 ext4 67G 12G 52G 18% /
/dev/sdc3 ext4 173G 12G 152G 7% /home
PS : I only speak of the possibility to do this. I understand the place is not to set a complete tutorial. Just knowing this can be done will push me to investigate further.
Thanks in advance for any answer.
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
Re: using Timeshift to move an image
Found my answer in RTFM page 21 :Is it possible to clone only one OS, ignoring for example sdc4 if I only want to clone LMDE4 ?
52. Foxclone gives the user the choice on what partitions to backup and what to
restore. With this flexibility comes the responsibility to ensure the backups
held are sufficient. The first backup should always be a full backup.
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
Re: using Timeshift to move an image
Timeshift can be used to backup user data, the same as Backintime. The problem is the restore. If you have to use Timeshift to restore from a problem software update, all your user data is reverted back to the same point. So keep user data in a separate backup.
Timeshift will backup with permission root. Backintime will backup as the user. If you use Timeshift to backup user data, the restore can change all the user data to be owned by root.
You can backup your current system, the hard disk, using Timeshift and Backintime, then perform a clean install on the SSD, including reallocating partitions, then restore all the system settings from Timeshift and user files from Backintime.
This means you need the live boot, the Timeshift snapshot, and the Backintime snapshot. The main advantage is changing boot and partition layouts. Some of the other partition copy products give you only an exact copy.
Are you going up in size or down? If the SSD is smaller and you perform partition copies, you need to shrink partitions before the copy. When you use the clean install then Timeshift, the new disk can be any size.
Timeshift will backup with permission root. Backintime will backup as the user. If you use Timeshift to backup user data, the restore can change all the user data to be owned by root.
You can backup your current system, the hard disk, using Timeshift and Backintime, then perform a clean install on the SSD, including reallocating partitions, then restore all the system settings from Timeshift and user files from Backintime.
This means you need the live boot, the Timeshift snapshot, and the Backintime snapshot. The main advantage is changing boot and partition layouts. Some of the other partition copy products give you only an exact copy.
Are you going up in size or down? If the SSD is smaller and you perform partition copies, you need to shrink partitions before the copy. When you use the clean install then Timeshift, the new disk can be any size.
Re: using Timeshift to move an image
Well, no hard evidence, more a feeling.
Years ago it happened to me (Win SW, not Foxclone). Not sure if it was a power or USB cable glitch, the (USB+SATA adapter) source drive’s NTFS was corrupted (but could be repaired by Win’s chkdsk).
Yes, it may happen at backup, too, but I’ve never experienced any issues at taking backups, even when I saw an error message after returning to the scene.
Yes, that’s both, feature and danger:
If you didn’t change the drive’s partitions (the partition table) in the meantime you can restore only one single partition out of a (e.g. full) backup, on the other hand one could overwrite valuable data …
Re: using Timeshift to move an image
Without seeing the detail of your drive - post the output fromSo it would seem possible not to select all partitions.
sudo parted --list
, I can't comment objectively. Clone drive to drive will do the whole drive. Cloning from a full backup - I've only testing restoring all partitions, although I can't think of a reason why it shouldn't work. Also can't think of a reason why you would want to do that.
The major caveat on cloning (either drive to drive or from a backup) is that the destination must be the same size or larger than the source. If the destination is smaller you need to shrink the partitions on the source so that the last partition ends at a point that is smaller than the destination drive.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: using Timeshift to move an image
Thanks for an offer I gladly accept.
Code: Select all
Model: ATA CT500MX500SSD4 (scsi)
Disk /dev/sdc: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 40,5GB 40,0GB ext4
4 40,5GB 104GB 63,5GB ext4
5 104GB 207GB 103GB ext4
6 207GB 483GB 276GB ext4
3 483GB 500GB 17,3GB linux-swap(v1)
I did a fresh install of both in the last 15 days. My needs are not a clone in case of any disaster (I've 2 other computers and I would be really unlucky if all three, including the external doc backup disk should fail at the same moment).
What I'm looking for is a cloning process of a working system I can transfer on any computer 'at will', sparing me all the downloads of updates, uninstalling unwanted apps, installing needed ones, doing settings... 'Fine tuning' would be done of course by Timeshift, meaning just after cloning, I'd create a Timeshift backup with 'Clone Point' in the comment.
So :
- Partition 6 has no interest being cloned : the files in it change constantly and a regular rsync twice a week does the backup job.
- about what I read in the manual, Foxclone doesn't clone the swap but recreates it on the host disk.
- Meaning only part 1,2,4,5 could be interesting to clone.
Thanks for any comment or tip.
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
Re: using Timeshift to move an image
To the best of my knowledge it doesn't exist. Veeam might do it, but this is enterprise level stuff and when I last looked a couple of years ago, the linux implementation was terminal only. The problem with image cloning or backing up a live system is you have to find someway of locking the filesystem while running your software. It can be done at the file level with utilities like rsync, but you still need to create the destination partitions, format them and install a boot loader. Not trivial. It is something I've been thinking about, but I've got to finish a rewrite of foxclone first. If I was to do it - 2022 at the earliest.What I'm looking for is a cloning process of a working system I can transfer on any computer 'at will'
Yes, foxclone automatically re-creates the swap partition with the correct UUID.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: using Timeshift to move an image
Yep, with cloning (as it is now) one can’t select single (source) partitions, and it would be fatal to clone e.g. partition 5 from a GUID to MBR drive …
At "Restore" it is possible to restore a single partition. With Foxclone, it must be the very same target drive, the n00b’s protection can’t be switched off easily, and, if different, the partition table would be restored anyway.
- But restoring only one partition is very handy, thanks
Win10 updates often stuck, realigning only after days and several attempts. But sometimes (esp. after months without connecting to the Internet) it goes down to panic screen, neither forth nor back, the end (reinstall). With all data on D:\ (advisable!), only the C:\ partition has to be restored, Data, EFI, Win, recovery and manufacturer partitions are not touched, very fast.
I did not understand that as “cloning myself’s partition onto an other drive” but as to “clone an image of (myself’s partition) to an other drive” (and probably change the partition number on the flight)?
Anyway, it’s not possible.