[TriLUG] Linux Backup and Restore to totally wiped partition

Tarus Balog tarus at opennms.org
Tue Feb 26 16:33:41 EST 2013


On 02/26/2013 11:52 AM, Brian wrote:
> Another potential advantage to the dd approach is, if you don't compress
> the images, you can mount them directly using the loopback device.  This
> could be useful if you realize you want to make a tweak to a config file
> without taking a new snapshot.

Hrm, I have an external hard drive that I could use for the images. So I
would just boot to some linux with dd and then:

dd if=/dev/sda of=/path/to/my/harddrive/sys1-backup

and then to restore

dd if=/path/to/my/harddrive/sys1-backup of=/dev/sda

?

-T
-- 
Tarus BALOG, Maintainer                     Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 773 345 3645
Email: tarus at opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C



More information about the TriLUG mailing list