Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Complete system backup?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
loppe
n00b
n00b


Joined: 25 Jan 2004
Posts: 18
Location: Melbourne, Australia

PostPosted: Tue Mar 16, 2004 10:17 pm    Post subject: Complete system backup? Reply with quote

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
View user's profile Send private message
grimshaw
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2003
Posts: 101
Location: Greensboro, NC 27403, USA, Earth

PostPosted: Tue Mar 16, 2004 10:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
loppe
n00b
n00b


Joined: 25 Jan 2004
Posts: 18
Location: Melbourne, Australia

PostPosted: Wed Mar 17, 2004 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum