Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th November 2005, 11:00
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default Server Backup

Ok I know that this topic has been covered and falko has posted links to guides... but they dont do what I want... What I plan to do is use Ghost 2003 to do a full system image to dvd's and then do a nightly backup of data to cd rw/r.

1) Is there a better solution to doing a full system image so that I can burn the image to dvd and then be able to restore from those images. The guides talk about backing up to remote servers which I dont have.

2) Can you back user folders ect... to CD RW's and then reuse them

3) Can someone list all the folders that I would need to back up so that all I would need to do incase of a disaster is use the large DVD system image of the system and then use the latest CDRW/CDR and restore back the customer files and relevent configuration files.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 11th November 2005, 11:05
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,386
Thanks: 833
Thanked 5,485 Times in 4,317 Posts
Default

Quote:
Originally Posted by mphayesuk
1) Is there a better solution to doing a full system image so that I can burn the image to dvd and then be able to restore from those images. The guides talk about backing up to remote servers which I dont have.
You can try e.g. partimage, i dont know if norton ghost supports all the different linux filesystems.

Quote:
2) Can you back user folders ect... to CD RW's and then reuse them
Use tar with options to preseve the owners and permissions (tar pcfz ....)

Quote:
3) Can someone list all the folders that I would need to back up so that all I would need to do incase of a disaster is use the large DVD system image of the system and then use the latest CDRW/CDR and restore back the customer files and relevent configuration files.
/var
/etc
/home

If you want to have a smaller backup you should exclude /var/log and /var/spool
Reply With Quote
  #3  
Old 11th November 2005, 11:12
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

I assume that /root/ispconfig director never gets changed then, and so restoreing this from a system image will be fine.
Reply With Quote
  #4  
Old 11th November 2005, 11:15
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,386
Thanks: 833
Thanked 5,485 Times in 4,317 Posts
Default

Quote:
Originally Posted by mphayesuk
I assume that /root/ispconfig director never gets changed then, and so restoreing this from a system image will be fine.
Yes. It changes only if you update ISPConfig.
Reply With Quote
  #5  
Old 13th November 2005, 15:21
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

I have done a full image of the server using ghost 2003 which worked and tested with a full restore just to be sure, now for the daily backups this is what I thought of doing... very simple backup...

************************************************** *************************************
/etc/init.d/ispconfig_server stop

T1-01:~ # tar pcfz /tmp/SystemBackup/Storage/archives/test1.tar /home
T1-01:~ # tar pcfz /tmp/SystemBackup/Storage/archives/test2.tar /vat
T1-01:~ # tar pcfz /tmp/SystemBackup/Storage/archives/test3.tar /etc

/etc/init.d/ispconfig_server start

************************************************** ****************************************
Or this line:

T1-01:~ # tar pcfz /tmp/SystemBackup/Storage/archives/full.tar /home /var /etc

which should back up the contents of all the important ispconfig dirs to my storage system.

Now is there a problem with any of the above code... as I said very simple but it should work....

Also I wanted to put the backup onto a cdr or dvdr or dvdrw.... what would I need to do to make this automatic.

Thanks
Reply With Quote
  #6  
Old 13th November 2005, 17:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by mphayesuk
I have done a full image of the server using ghost 2003 which worked and tested with a full restore just to be sure, now for the daily backups this is what I thought of doing... very simple backup...

************************************************** *************************************
/etc/init.d/ispconfig_server stop

T1-01:~ # tar pcfz /tmp/SystemBackup/Storage/archives/test1.tar /home
T1-01:~ # tar pcfz /tmp/SystemBackup/Storage/archives/test2.tar /vat
T1-01:~ # tar pcfz /tmp/SystemBackup/Storage/archives/test3.tar /etc

/etc/init.d/ispconfig_server start

************************************************** ****************************************
Or this line:

T1-01:~ # tar pcfz /tmp/SystemBackup/Storage/archives/full.tar /home /var /etc

which should back up the contents of all the important ispconfig dirs to my storage system.

Now is there a problem with any of the above code... as I said very simple but it should work....
Looks good, should work!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 13th November 2005, 17:11
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

Good... what about putting the files on dvdr/dvdrw/cdr/cdrw I know I could do it manually but there must be a way to add something to the backup scripts to copy them over when the taring is finished.

Any suggestions
Reply With Quote
  #8  
Old 15th December 2005, 14:02
alex916 alex916 is offline
Member
 
Join Date: Dec 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Time ago i make a dvd backup in this way.

Install dvd+rw-tools,cdrecord and mkisofs
In debian:
#apt-get install dvd+rw-tools
This install all packages that we need.

#dvd+rw-format /dev/cdrom -blank
Format the dvd+rw if you want use a rw dvd

#mkisofs -J -R -l -o /tmp/image.iso /tmp/test1.tar /tmp/test2.tar [every file you want]

#dvdrecord --dev=/dev/cdrom -dao /tmp/image.iso

If you want to test your image.iso before burning it
#mount -o loop image.iso /mnt

I used this command a lot of time ago, a test could be good

Bye
Alex

Last edited by alex916; 15th December 2005 at 14:35.
Reply With Quote
  #9  
Old 17th December 2005, 12:05
transops.net transops.net is offline
Junior Member
 
Join Date: Dec 2005
Location: Atlanta, GA, USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Better backup solution (maybe).

Depending on your needs, it may be easier and safer for you to install a removeable IDE hard drive kit in your server and do backups with dd for a full system image. Hard drives are cheap, and you don't have to worry about spanning over multiple DVD-ROM images for large systems. This is exactly the setup I have at a client's office; once a month I pop a drive into the bay, image the main disk(s), and walk away with the full backup in hand a couple of hours later.
Reply With Quote
  #10  
Old 20th December 2007, 10:00
philokoi philokoi is offline
Junior Member
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Running Linux SLES10 Image

Hello,

Regarding your Image, I am looking for a similar system to create an image of a running Linux, is there a way to do this without stopping the system?

Installing a software and running it at a certain time and creating a clone
of your entire disk on a usb disk?

This to be sure to be able to recover from a disk crash.

Thank you,

Philippe
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup routine for ISPConfig-equipped server IntnsRed General 4 5th May 2006 17:29
Server Backup mphayesuk General 1 14th November 2005 16:33
POP3 SMTP FTP problem arsu Installation/Configuration 1 11th November 2005 09:32
ISPConfig and separate machines pfm.smits Installation/Configuration 1 11th October 2005 15:09
Server can't "see" the internet Luciano Installation/Configuration 8 22nd August 2005 23:22


All times are GMT +2. The time now is 09:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.