LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05:11 AM   #1
fusion1275
Member
 
Registered: Jul 2007
Location: Knaphill, Surrey
Distribution: Linux Mint
Posts: 310

Rep: Reputation: 36
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, 11:35 AM   #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, 03:09 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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



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 03:05 PM
backup question - NFS share in Ubuntu 9.04 backup to READYNAS NV+ newellrp1 Linux - Newbie 3 05-19-2009 03:57 PM
Question about backup rastellig Linux - Server 7 02-06-2009 08:47 AM
Ubuntu backup question, best practice? legacyprog Linux - Software 6 01-05-2008 07:09 PM
About backup question. satimis Linux - General 12 06-29-2006 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 PM.

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
Open Source Consulting | Domain Registration