Although I would not use cp for that purpose, your "cp -av" should be ok. Does preserve everything like permissions etc.
The diferences in sizes are very small. Would not worry about that too much. But... checking is always better.
I would use grsync to do that.
- select one timeshift dir as source, one as target;
- tab basic options select all "preserve" checkboxes + verbose
- tab advanced options check "always checksum", "copy symlinks as symlinks" and "protect remote args"
Then do A DRY RUN ! That is the green "i" icon left side of the cog wheel.
Then inspect the log. Small window can be maximized to make reading easier. If the 2 dirs are the same, there should not be too much difference. But am not sure if cp -av will for instance change time-stamps.
Do not know anything about LVM or encrypted volumes, so maybe I'm making the wrong assumption that, once opened, there should not be a difference to a normal volume ???
If your system hdd now ony uses 150G, it should be perfectly possible to use timeshift to move system. Timeshift only copies linux system files +mbr , and does not function like clonezilla which can only restore to same-size or bigger volume.
BUT: Restoring Timeshift from your old hdd to new ssd, will (over)write your /etc/fstab and your /boot directory, including grub.
In your case that means that after restoring timeshift image, fstab will be set up for your "big" , encrypted LVM hdd, not small ssd !
I have restored timeshift image from one machine to another, using these steps:
- make timeshift image of machine A (this time including home)
- do fresh install on machine B (do not bother with updates as timeshift makes that unnecessary)
- save /etc/fstab and total boot dir of machine B on external disk
- restore timeshift image from machine A on machine B. I did uncheck the mbr/grub restore options
, as I did not want the partition table in
the mbr to be changed. Maybe a good idea to make backup of mbr of your ssd using something like this (adapt to your needs) :
Code: Select all
sfdisk -d /dev/sda > /home/rob/partition_table_backup_sda_compaq_6730
- restore the saved /etc/fstab and boot dir on machine B again (these were overwritten by timeshift)
Procedure should be the same going from hdd to ssd. Read machine A as hdd and machine B as sdd. I can only say anything about mbr-type systems, as I do not have UEFI-type system. If you do, you have some additional googling to do but the situation is alike. Make sure timeshift does not mess up your mbr/uefi boot record or partition table !!!
Disclaimer: I'm no guru and all three machines were old mbr-style. If I've been lucky, and should have done something different, I hope more experienced forum members will correct me or give additional steps.
Again, concerning LVM and encrypted volume, I may be totally wrong !
PS: buy a cheap USB-case for that 3TB drive. Once you are VERY sure your ssd-system is functioning well, it'll make a nice backup-drive.
Linux is like my late labrador lady-dog: loyal and loving if you treat her lady-like, disbehaving princess if you don't.