
11th November 2005, 11:00
|
|
Senior Member
|
|
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
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
|

11th November 2005, 11:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
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
|

11th November 2005, 11:12
|
|
Senior Member
|
|
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
I assume that /root/ispconfig director never gets changed then, and so restoreing this from a system image will be fine.
|

11th November 2005, 11:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
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.
|

13th November 2005, 15:21
|
|
Senior Member
|
|
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
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
|

13th November 2005, 17:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
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!
|

13th November 2005, 17:11
|
|
Senior Member
|
|
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
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
|

15th December 2005, 14:02
|
|
Member
|
|
Join Date: Dec 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

17th December 2005, 12:05
|
|
Junior Member
|
|
Join Date: Dec 2005
Location: Atlanta, GA, USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

20th December 2007, 10:00
|
|
Junior Member
|
|
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 04:09.
|
|
Recent comments
1 day 4 hours ago
1 day 4 hours ago
1 day 9 hours ago
1 day 16 hours ago
1 day 16 hours ago
1 day 18 hours ago
1 day 22 hours ago
2 days 5 hours ago
2 days 8 hours ago
2 days 10 hours ago