View previous topic :: View next topic |
Author |
Message |
loppe n00b


Joined: 25 Jan 2004 Posts: 18 Location: Melbourne, Australia
|
Posted: Tue Mar 16, 2004 10:17 pm Post subject: Complete system backup? |
|
|
Is it possible to do a complete system backup with one command with Gentoo?
I know of a command in HP-UX (make_recovery -A) that allows you to write a DAT tape that you can boot from which will install an exact clone of the system and installed applications.
I've never seen anything like this for Linux - if it doesn't exist I would be interested in developing such a tool (although to make a CD/DVD image rather than DAT tape). Anyone else interested?
- Lars - |
|
Back to top |
|
 |
grimshaw Tux's lil' helper


Joined: 07 Aug 2003 Posts: 101 Location: Greensboro, NC 27403, USA, Earth
|
Posted: Tue Mar 16, 2004 10:49 pm Post subject: |
|
|
How about dump... or tar... or dd...
dump -0a /dev/st0 /
tar -zxcf /dev/st0 /
dd bs=1024 if=/dev/hda of=/dev/hdb
It all depends on what you want to do. Amanda is a good program to investigate as well.
- John _________________ All that is necessary for the triumph of evil is that good men do nothing.
-- Edmund Burke (1729-1797) |
|
Back to top |
|
 |
loppe n00b


Joined: 25 Jan 2004 Posts: 18 Location: Melbourne, Australia
|
Posted: Wed Mar 17, 2004 7:41 am Post subject: |
|
|
Quote: | It all depends on what you want to do. |
The one nice thing about HP-UX's make_recovery is that you pluging the DAT drive, insert the make recovery tape and turn on the machine - that's all you have to do. All partitions are created, it takes about 15min to install and that's it.
This is very handy for re-instating a mission-critical machine quickly. It's also handy if you've got a number of machines in the network that perform the same task that need to be installed in an identical manor (yes, the hostname and IP address would need to be modified after the restore in order to avoid conflicts).
I was under the impression that dump (or dd) require the disque which is being restored to have the same number of cylinders (or some hardware limitation from original to restored machine). I was also under the impression that tar has some problems with device files. True?
- Lars - |
|
Back to top |
|
 |
|