LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2011, 06:11 AM   #1
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Rep: Reputation: 35
Ubuntu Backup Question


Hi all,

I am wondering if someone could give some advice on backing up my system in case of an emergency.

System so far is running Ubuntu 8.04LTS(no gui) and currently have a 2 disk raid0 setup.

The machine is currently my ftp server / mail server / ldap server / NFS & Samba server amongst other things and it is in use 24/7.

What I would like is a total backup solution to grab all data and also hardware configurations should something go terribly wrong.

Every night I run an incremental tar backup of the home dirs and at the weekend I run a tar of the whole system and store these files offline onto an online storage area.

But not sure if this would also restore my applications / settings etc etc in Ubuntu should I need to restore the OS???

Any help would be greatly appreciated.

Rgds
 
Old 08-24-2011, 12:35 PM   #2
transient
LQ Newbie
 
Registered: Aug 2011
Posts: 17

Rep: Reputation: Disabled
I believe the full backup that you do on the weekend of the whole system would indeed restore all of your applications/settings, etc. Most of the settings for the stuff you've mentioned (Samba, mail, ftp) are stored in the /etc directory under the appropriately-named sub-directory. Hardware info and things like your drive layout, etc. would also be stored in various files here. So, after installing your OS some of these files could simply be dumped back into the system for easy recovery, while others would really be used as a reference point I think (like remembering how your drives were laid out). For example, I don't think you could just dump the contents of the /dev file because the system will assign different values to the hardware in a new install, but you could copy the /etc/fstab directory I believe provided you change the UUIDs to match whatever values the new system has given to your drives.

HTH
 
Old 08-24-2011, 04:09 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
No backup strategy can be considered reliable until you have tested it.

I know this to my own cost (I got the system back, eventually, but I really, really wished I had tested it before I relied on it, because it was a nightmare).

So, get yourself another PC.

Pretend your functioning hardware is broken.

Restore from your "backup".

Does it work?
Is all your data intact?

If not, you need to re-think your strategy.

8.04 is old, so I think it is high time you considered this seriously. Hardware failure might be imminent even if 8.04 is still running sweetly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Upgrade from Ubuntu 9.10 to Ubuntu 10.04 crashed now I cant backup my files bubbajed Linux - Newbie 15 05-07-2010 04:05 PM
backup question - NFS share in Ubuntu 9.04 backup to READYNAS NV+ newellrp1 Linux - Newbie 3 05-19-2009 04:57 PM
Question about backup rastellig Linux - Server 7 02-06-2009 09:47 AM
Ubuntu backup question, best practice? legacyprog Linux - Software 6 01-05-2008 08:09 PM
About backup question. satimis Linux - General 12 06-29-2006 06:47 AM


All times are GMT -5. The time now is 01:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration