Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Suggest HOWTO

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th March 2009, 14:33
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 173
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 30th March 2009, 13:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Did you check out the Backup category? http://www.howtoforge.com/howtos/backup
__________________
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
  #3  
Old 30th March 2009, 13:47
barney.parker barney.parker is offline
Junior Member
 
Join Date: Jun 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry, answer found
Reply With Quote
  #4  
Old 14th June 2009, 09:41
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 173
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
Default

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.

Last edited by dipeshmehta; 14th June 2009 at 10:50.
Reply With Quote
  #5  
Old 15th June 2009, 14:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You must specify another device (or image file) as the output file.
__________________
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
  #6  
Old 17th June 2009, 10:53
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 173
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
Default

Quote:
Originally Posted by falko View Post
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
Reply With Quote
  #7  
Old 18th June 2009, 14:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

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.
__________________
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
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
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 12:31
cacti problem - graphs have huge gaps Chip Installation/Configuration 7 7th February 2008 23:24
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 16:30
Best set-up for a backup server? trigar Installation/Configuration 10 15th June 2007 11:48
server blocked/stopped by host Ovidiu Technical 11 14th February 2006 10:50


All times are GMT +2. The time now is 02:42.


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