LinuxQuestions.org
Visit Jeremy's Blog.
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 03-10-2007, 04:58 PM   #1
DIL23
LQ Newbie
 
Registered: Mar 2007
Location: Edinburgh
Distribution: ubuntu
Posts: 9

Rep: Reputation: 0
Post Backup strategy


Hello

As a complete newbie I was wondering what I should back up and how? I know I could zip (into a TAR ball?) my home directory and all sub-directories that way as it can keep the folder names and I presume you could run it incrementally like pkzip in Windows/DOS.

But what else should I be backing up? I'm still finding the myriad of folders and what the contain very confusing! (so a pointer to any docs would be great too!)

..and I presume there are also a load of Backup scripts and apps I could use to make life even easier!

Any help appreciated.

DIL23
 
Old 03-10-2007, 06:32 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,759

Rep: Reputation: 78
If you are using a stock install (no custom kernels and such). You could get by with backing up /home and /etc. Most config files are in your /etc directory. If you compiled any software from source you might want to back up the directory of those too. If this is a server (like DNS) you will want to backup /var, since the DNS config files are there.

I asked this question a before and did quite a bit of searching on the net and never came up with a solid answer. I would say back up all the config files and you can be back up in running in minutes after a clean install.
 
Old 03-10-2007, 06:52 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
One of the key questions is what you use the computer to do. Is it a server, is it always on, etc. For my server at home, it's always on and runs a variety of services such as apache and samba. I run a weekly script that backs up /root, /etc, /home, some of /var and the shared samba stuff. This then copies to a DVD. I then run a daily incremental that stays on disk. All of this also gets rsynch'ed to a separate hard disk in case of disk failure.
 
Old 03-10-2007, 07:36 PM   #4
DIL23
LQ Newbie
 
Registered: Mar 2007
Location: Edinburgh
Distribution: ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks Guys

I'm using it at as a home desktop, so not always on and nothing is **REALLY** critical. Just nice to get back to where you were in minutes instead of days!

billymayday if you have an example of either of your scripts I could hack for my own use or a pointer to some examples would be great. BTW if I put the script in the /cron/weekly-daily folder or whatever does that automatically carry out the script - I suppose the script needs to contain a start time etc

Thanks for your help guys (also found this helpful doc re: directory structures) http://www.pathname.com/fhs/

DIL23
 
Old 03-10-2007, 07:59 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Send me an email and I'll send one back to you. You can send to me by clicking on my name to the left
 
  


Reply

Tags
backup


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
Linux backup strategy feffer777 Linux - Software 4 01-24-2006 09:54 PM
Backup strategy xpucto Linux - Networking 2 11-16-2005 12:19 PM
Tar and partimage backup strategy jrdioko Linux - Software 1 06-08-2005 07:50 PM
Building a backup strategy pembo13 Linux - General 16 04-28-2004 01:02 PM
Backup strategy Swift&Smart Linux - General 3 04-17-2003 03:07 AM

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

All times are GMT -5. The time now is 11:07 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