Best practises for backing up


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Best practises for backing up
# 1  
Old 07-05-2005
Computer Best practises for backing up

Hi,

I'm about to start a regular backup schedule for my Linux system.

I need some pointers if I may Smilie

The system is *mainly* used as a personal home computer (it's actually a laptop running SuSE 9.2) although I do host some client material from it being a PHP developer.

I know that in an *ideal* situation I should have /home on a separate disk but being a laptop this isn't true in my case.

So what I basically have, is a laptop which is pretty much running 24/7, with a 30GB hard drive and a fair few user accounts on it.

Because *most* of the stuff isn't business critical I feel that a once weekly backup will suffice. I want to backup EVERYTHING, not just /home for example. The idea being, if my single hard disk fails (and being Dell I almost know it will at some point - I work with these things in my job all the time) I can restore the whole system from the most recent backup without all the hassle of doing a full system reinstall and then restoring /home.

Problems/Questions:
I don't have enough space on the HDD to duplicate everything (I have about 8GB free) during the backup process.
Do I make tar files before copying to another media or simply copy the files?
I only have a CD-R drive to backup too, whats the best way to handle this?
Important: Can I do this while the system is runnning X Desktop or do i need it to be read from a Live CD?

I'm basically looking for advice on doing a FULL weekly backup onto separate CD's. Thanks,

d11
# 2  
Old 07-06-2005
SuSE 9.2 Admin Guide - search for backup - note that they don't even mention cd's as a backup media. If you are being paid for a service, then legally, you may be liable.

Backing up to CD - you can do it, but you will not just restore these to a blank disk - you would probably have to do some set up. Note in his article, he does not backup everything meaning he would rebuild the system, restore system files that make his system unique, and then restore his data (home directory).
# 3  
Old 07-06-2005
Thanks for pointing me the right way. I decided I'm going to end up with too many disks to put anywhere if I do a FULL backup weekly so what I'm doing instead is to backup the regularly changed stuff (/home and /MP3) weekly and the FULL backup once monthly.

I'm going to play with that BASH script on the link you posted and enhance it to suit my needs / automate a few more things as well as log the details of the backups somewhere.

Thanks again,

d11
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Backing up an entire HD

Are there any recommended methods for Backing up an entire HD? I want to backup my data. I do not care about the OS file. I just want my work, movies, and music. I have about 600 GB of work, movies, and music so a bit worried about fragmentation if I just copy and paste. (1 Reply)
Discussion started by: cokedude
1 Replies

2. Shell Programming and Scripting

Need help in backing up of databases.

Hi Everyone, I am new to DBA stuff. I wonder if anyone can help me. Task is that, I have 10 databases and need to take backups of all the databases using data pump in Unix/Linux, compress them using gzip and use cron to schedule the job twice a day. Appreciate if anyone can help me in... (1 Reply)
Discussion started by: sreepriya0987
1 Replies

3. Shell Programming and Scripting

best practises for scripting + a few unclear points

Hi guys, Besides the points bellow, what would best practices for scripting be ? 1) set the PATH 2) unset the current environment (set -u ?) 3) (re)set the IFS to default value - space (IFS="" <- is this correct ?) 4) check the return code for each action inside the script (cd, rsync,... (1 Reply)
Discussion started by: da1
1 Replies

4. Solaris

Backing up using fssnap and ufsdump

Hi all! Here's my situation: I need to backup a running system before I can bring it down I've tried performing a ufsdump while it's in multi-user mode but my ufsdump fails because there is too much activity on the system. So I read that I could use fssnap to create a snapshot of (in my... (3 Replies)
Discussion started by: Keepcase
3 Replies

5. AIX

what am i backing up

we are running aix on are server. we would like to start doing online backups, but the software company that we use is not beeing much help on what files we are backing up. is there a command that will tell me what files that we are backing up. they offer a service that would back it up for use,... (3 Replies)
Discussion started by: shane.hankins
3 Replies

6. Solaris

Backing up the system

Hello Mentors, Before anything else I would like to thanks to all expert here especially Pressy as he guided me to recover our server from disk failure. I posted a lot of question from these forum site concerning on how to recover our server and luckly you guys help me. Our server is now up and... (6 Replies)
Discussion started by: eykyn17
6 Replies

7. Solaris

Can usfdump be used for backing up 1 directory?

I know I can use ufsdump to backup a full device, but can I use it to just backup specified directories within the device? If so , how? (The man pages do not mention how to do that). If ufsdump can not do it, what are my choices? Thank you! (5 Replies)
Discussion started by: FredSmith
5 Replies

8. UNIX for Dummies Questions & Answers

backing up the vtoc

Can you backup the vtoc, then restore it if you somehow mess it up? This is solaris 9, x86. (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

9. UNIX for Dummies Questions & Answers

Backing Up Directories

Hi Guys, I'm writing a shell script that presents the user with various options, they select one (numbered 1-9) and it then excecutes the correct code. No problem, but I'm having slight difficulty with one option. The user can select to backup all the files in the current directory to another... (2 Replies)
Discussion started by: indigoecho
2 Replies

10. UNIX for Dummies Questions & Answers

backing up

Ok I'm trying to backup a HD using ufsdump but no matter what I do it rewinds the tape after the dump. Now the tape isn't full (only 285mb) and I still have 6 more partitions I want to put on this tape. How can I stop the tape from rewinding because I can't think of anything. Also is there any... (4 Replies)
Discussion started by: merlin
4 Replies
Login or Register to Ask a Question