LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2005, 05:14 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
full System Backup


Im trying to find way how to backup all system. I have just take control over Debian where are installed and configured POSTFIX (mail server), DNS, Apache (www).
During disaster I won't have problems with install new system.
However i have no idea how to configure POSTFIX (mail server) and DNS. That's why I found that I can make disk imige - but it is just my own idea. Maybe there is better solution like tar some part of partitions and after restore system just untar it ?

Please help me to find some easy and quick solution... untill I learn how to configure DNS and POSTFIX(mail server).
 
Old 04-15-2005, 05:52 AM   #2
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
Do you have a spare hard drive?

you could plug in a spare hard drive, partition it the same and then copy all of the files across either using dd or using rsync.

Otherwise, I think partimage has the ability to make a system image, although I wasn't very successfull with that

hamish
 
Old 04-15-2005, 06:06 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
I have alrdy mounted another hard drive. Its formatted in EXT3. However this still dont solve out my problem . I dont know what should i backup.
If I could only know what parts of system should i backup to save instalation and configuration of DNS and POSTFIX.
 
Old 04-15-2005, 08:39 AM   #4
wilho
LQ Newbie
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 9

Rep: Reputation: 0
If you're doing this by copying file using rsync, rsnapshot, rdiff-backup, tar or cp -a, you can exclude at least these safely:
/tmp/*
/var/tmp/*
/lost+found/*
/dev/*
/proc/*
/mnt/*
/sys/*
/var/log/*

But you can allso backup whole partition or whole drive with dd or partimage as hamish said. dd has some pitfalls, I've heard there could be problems if drives don't have equal geometry, but you should be safe with partimage.

I'd go with rdiff-backup, it's very nice tool with incremental backups; it just stores diff files in special directories while latest files are readable without any additional tools. As drawback only diff files are compressed, for that you could check out the Bacula.
 
Old 04-15-2005, 09:51 AM   #5
Madd_hatter
LQ Newbie
 
Registered: May 2004
Posts: 15

Rep: Reputation: 0
I'm actually trying to solve the same problem right now. It's looking like I'm going to go with partimage. If I have any success I'll let you know how it went and how I did it.
 
Old 04-15-2005, 03:04 PM   #6
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
if you just want an identical partition, then you could just do:

# rsync -avl / /mnt/other_hd

this will preserve all the times and ownerships.

Note: you might want to do
# rsync -avl /bin /mnt/other_hd
# rsync -avl /boot /mnt/other_hd
.
.
.
and do each folder in / individually to avoid it copying the files from the /mnt/other_hd partition !

hope the backup went well.
hamish
 
Old 04-15-2005, 06:41 PM   #7
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I would recommend DAR . I have only found English version; I don't know if it's available in other languages. There is also Kdar, the Kde GUI version of DAR.
 
Old 05-06-2005, 06:04 AM   #8
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
Hamish:
1) Before i use rsync do i have to set exactelly this same partitions set on mounted hard disk?
2) if i type command rsync -avl / /mnt/backup_hd then what really happand ? Is this going to be a kind of mirrored disk - so i can put away and in case disaster of the 1st disk replace them ?

( does this disk will be bootable and contain all datas from 1st disk )
 
Old 05-06-2005, 01:12 PM   #9
screamautumn
LQ Newbie
 
Registered: Apr 2005
Posts: 9

Rep: Reputation: 0
i usually just copy my /home directory onto a cd. my home directory is where a store pretty much everything except what is currently installed on the system. i just keep links to everything i install after a fresh install. seems to work for me and it kills all the excess crap i have floating around from installing things i stopped using. not saying this is the best way to do things... just the way i do it.
 
Old 05-07-2005, 02:47 AM   #10
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
screamautumn:
the question was not about what u do to backup ur home dir.

Im repeating my question:

1) Before i use rsync do i have to set exactelly this same partitions set on mounted hard disk?
2) if i type command rsync -avl / /mnt/backup_hd then what really happand ? Is this going to be a kind of mirrored disk - so i can put away and in case disaster of the 1st disk replace them ?

( does this disk will be bootable and contain all datas from 1st disk )

Last edited by czezz; 05-07-2005 at 02:52 AM.
 
Old 05-08-2005, 01:50 PM   #11
screamautumn
LQ Newbie
 
Registered: Apr 2005
Posts: 9

Rep: Reputation: 0
sorry, misunderstood. no need to be fiesty, you could have just ignored it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Full system backup. Terroth Linux - Newbie 11 06-21-2005 12:52 AM
Full System Backup from network froggo Linux - Newbie 1 05-19-2005 02:03 PM
Full system backup Suse Personal 9.1 markbaravelli SUSE / openSUSE 4 11-13-2004 03:26 PM
Full Backup.... LinuxBie Linux - Newbie 3 01-02-2004 10:43 AM
full system backup dbc254 Linux - General 6 12-26-2003 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration