HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Suggest HOWTO (http://www.howtoforge.com/forums/forumdisplay.php?f=9)
-   -   Schedule Backup my server (http://www.howtoforge.com/forums/showthread.php?t=33009)

dipeshmehta 29th March 2009 14:33

Schedule Backup my server
 
Hello all,

I am running Ubuntu 8.04LTS Server, mainly as mailserver (postfix/courier), jabber (openfire), and OpenVPN server.

I want to backup all config files + postfix/courier/openfire data, to Lacie Ethernet Disk, connected to same network.

Suggestions for further reading about howto and other stuff are welcome.

Dipesh

falko 30th March 2009 13:42

Did you check out the Backup category? http://www.howtoforge.com/howtos/backup

barney.parker 30th March 2009 13:47

sorry, answer found

dipeshmehta 14th June 2009 09:41

Hello all,

I need your suggestions, regarding backingup my server.

If I mount external drive's share using CIFS into my linux server, and schedule to copy all data on my harddisk /dev/sda using dd, how it would be?

I want something like..
Code:

dd if=/dev/sda of=/mnt
however, dd do not work like this, it would give error something like /mnt is directory.

falko 15th June 2009 14:05

You must specify another device (or image file) as the output file.

dipeshmehta 17th June 2009 10:53

Quote:

Originally Posted by falko (Post 194203)
You must specify another device (or image file) as the output file.

Dear Falko,

At great help, can you please give me exact command to run? Will dd if=/dev/sda of=/mnt/sdaimage will work?

Moreover, in case I lose my server, how shall I be able to restore it from the image file?

Dipesh

falko 18th June 2009 14:00

Let's say you have a second hard drive, /dev/sdb. Then you'd use this command:

Code:

dd if=/dev/sda of=/dev/sdb
Quote:

Moreover, in case I lose my server, how shall I be able to restore it from the image file?
Boot into a rescue system (e.g. Knoppix) and then dd from /dev/sdb to /dev/sda.

dipeshmehta 18th June 2009 14:19

Putting second harddrive is a nice option, but I wish my backup should not reside at the server itself, because if there is any physical damage to the server, I will lose both. I need similar solution for external storage like ethernet harddisk or NAS.

Thanks anyway.

Dipesh

falko 19th June 2009 16:11

Try iSCSI or GlusterFS. netcat might also be an option.


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

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