Backups: Difference between revisions
adds link to restore page |
No edit summary |
||
| Line 140: | Line 140: | ||
"reduce your kernel's size" | "reduce your kernel's size" | ||
if I want to create a boot floppy, but it doesn't matter if I want to use a boot ISO instead. | if I want to create a boot floppy, but it doesn't matter if I want to use a boot ISO instead. | ||
== Disk Image for re-deploying a drive/computer == | |||
On a more recent "backup" effort, I needed to archive off the contents of a laptop to an external USB drive that was mounted on another system. The source system was a Windows XP machine, while the target machine was running Linux. The tools I used to make the backup were <code>dd</code><ref>http://en.wikipedia.org/wiki/Dd_(Unix)</ref> and a LiveCD of the [http://linuxmint.com/ Linux Mint] distribution. By inserting the Linux Mint Live CD, and rebooting the laptop, I would have access to a bash shell that I could then run the dd tool from. Not only that, but I could use the Secure Shell to pipe the command over the network to the target machine's mounted external 1TB drive. Note that in my case, I used a private key (identity file) to authenticate my ssh session. | |||
<source lang="bash"> | |||
sudo dd if=/dev/sda2 | ssh -i /home/mint/id_rsa-greg-notebook greg@192.168.1.11 "dd of=/media/disk-a/backups/sheila-laptop/acer.image.2" | |||
</source> | |||
== Performance == | == Performance == | ||
| Line 147: | Line 154: | ||
In most backup scenarios, the first backup is the one that takes the most time. | In most backup scenarios, the first backup is the one that takes the most time. | ||
{{References}} | |||
[[Category:Howto]] | [[Category:Howto]] | ||