Choose style:

Author Topic: Timeshift snapshot to laptop  (Read 1063 times)

0 Members and 1 Guest are viewing this topic.

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Timeshift snapshot to laptop
« on: March 10, 2018, 10:27:05 am »
I'm running P8 on a HP Pavilion desktop, model 550-110.
P8 is on a 120 GB SSD and there is also a 1 TB hard drive that I use for storage.
When I make snapshots with Timeshift, the target drive is the 1 TB hard drive.

I am about to purchase a Dell Latitude E6430S that has a 320 GB hard drive loaded with Windows 10.
I plan on replacing the 320 GB drive with a 120 GB SSD and restore onto the SSB the latest Timeshift snapshot
from my desktop.

Is the following the correct way to do this ?

Copy the snapshot to a live P8 USB.
Boot up the live USB on the laptop and install Timeshift.
Start Timeshift and install the snapshot copy on the USB onto the laptop SSD.


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2869
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Timeshift snapshot to laptop
« Reply #1 on: March 10, 2018, 10:48:49 am »
Probably not (I doubt Timeshift copies everything including symlinks and the bootloader) but I could be wrong, I've never tried it...

You'd probably be better off using something like a clonezilla liveCD/LiveUSB .. though you may run into difficulties because the SSD target drive is smaller than the HDD source drive.

Another option might be to use Systemback to create an ISO image of your current installation .. see this post:
https://forum.peppermintos.com/index.php/topic,6680.msg67823.html#msg67823
« Last Edit: March 10, 2018, 11:36:34 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Timeshift snapshot to laptop
« Reply #2 on: March 10, 2018, 12:12:43 pm »
Well, I installed Systemback, started it and chose 'Live system create', and then
checked 'Include the user data files' and then clicked 'Create new'.

IT created the live image 'systemback_live_2018-03-10.sblive,  which is 14.1 GB in size,
and put it in the home directory.

But now under 'Live operations', the options 'Write to target', 'Convert to ISO', and
'Delete' are grayed out. If I click on the image in the 'Created Live Images' box to
highlight it, the 'Delete' option becomes ungrayed but the other 2 options remain grayed out.

And, if I insert a ext4 formatted USB stick and click the green circle refresh, the 'Write to target'
option becomes ungrayed, but the 'Convert to ISO' option remained grayed out.

So, how would I make an ISO file from the image if that option is grayed out ?

Also, when I use Gparted to look at how much of the system partition is being used,
it says 31 GB, so that makes me wonder if the image (14.1 GB) is including everything, i.e. the
system files, all configurations, all installed software, and home directory.

(Edit): Well, I wrote the snapshot to a 32GB USB stick; the write was successful but
when I tried to boot from the USB stick, the Systemback menu came up with the default
option to boot live, but it would not boot.

Not sure what to do now.

(Edit again): Made another image without the data files and it was < 4 GB, so I was able
to create an ISO file.  Burned the ISO file to a USB stick, but it still would not boot.
« Last Edit: March 10, 2018, 03:29:12 pm by arky217 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2869
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Timeshift snapshot to laptop
« Reply #3 on: March 11, 2018, 09:03:26 am »
I can't help much with Systemback, but there should be plenty of Systemback tutorials on youtube.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline anselm

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.5(64 bit)
Re: Timeshift snapshot to laptop
« Reply #4 on: March 11, 2018, 11:42:03 am »
I assume your buying another 120gb ssd?

What I use is the disks program, its in pep by default. You will need a 128gb usb thumb drive.

Boot into your desktop with the pep live usb, run the disks program highlight your 120gb ssd, click the gears icon a box will show asking where to save image.

I save my images to my home server, never tried to a usb stick should work.

Boot your new laptop with pep live usb,  run the disks program highlight your 120gb ssd, click the gears icon a box will show asking where to restore image.

Disclaimer this works for me your mileage may vary  ;)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2869
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Timeshift snapshot to laptop
« Reply #5 on: March 11, 2018, 11:55:44 am »
Ah, I was misunderstanding this, for some reason I thought you were trying to clone a 320GB HDD to a 120GB  SSD .. if you're cloning between drives of the same size...

Either just use "Disks", or Clonezilla, or Redo
http://redobackup.org/
All of these need to be run from a LiveCD/LiveUSB
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 63
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Timeshift snapshot to laptop
« Reply #6 on: March 11, 2018, 12:02:35 pm »
Hi arky217, you may be able to shrink your laptop SSD partition to a size just bigger than what's being used, then clone that to a storage device with clonezilla and then when you restore on your desktop, there should be no problems. You should already have your desktop SSD partitioned and copying the grub into the SSD should be a snap. Don't forget, any time you burn an iso file into a new partition, you will either have to run update-grub from another distro in the hard drive or install the grub into the device. Good luck. 
What was I thinking?

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Timeshift snapshot to laptop
« Reply #7 on: March 11, 2018, 05:49:54 pm »
I assume your buying another 120gb ssd?

What I use is the disks program, its in pep by default. You will need a 128gb usb thumb drive.

Boot into your desktop with the pep live usb, run the disks program highlight your 120gb ssd, click the gears icon a box will show asking where to save image.

I save my images to my home server, never tried to a usb stick should work.

Boot your new laptop with pep live usb,  run the disks program highlight your 120gb ssd, click the gears icon a box will show asking where to restore image.

Disclaimer this works for me your mileage may vary  ;)


Ok, I haven't bought the laptop yet or the 128GB USB drive, but I thought that I would try out the Disks program.
Well, I booted up from a live P8 USB and started the Disks program.
I selected the 120GB SSD where P8 is installed for the source,
and selected the 1TB HHD for the target.
But when I try to create new image, it gives the following error:

Error Creating Disk Image
Error opening /dev/sda: Device or resource busy (udisks-error-quark,0)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2869
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Timeshift snapshot to laptop
« Reply #8 on: March 11, 2018, 06:13:59 pm »
when you boot the LiveUSB, don't do anything that might mount a partition on sda (such as opening the file manager and navigating into sda)

then unmount the swap partition with:
Code: [Select]
sudo swapoff -a
then try disks
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Timeshift snapshot to laptop
« Reply #9 on: March 11, 2018, 06:46:01 pm »
when you boot the LiveUSB, don't do anything that might mount a partition on sda (such as opening the file manager and navigating into sda)

then unmount the swap partition with:
Code: [Select]
sudo swapoff -a
then try disks

Unmounting the swap partition did the trick, and I was able to make an image on the HDD.
I understand about using a 128GB USB stick to put the image on,
but is there any way I could restore this image that I just made
on my desktop HDD to a laptop without using a 128GB USB for the image.
Maybe through a home network via the router if I boot a live P8 USB on the laptop
and select the image from the desktop HHD via the network ?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2869
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Timeshift snapshot to laptop
« Reply #10 on: March 11, 2018, 07:06:03 pm »
Yeah you should be able to do that .. may take a while though.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec