LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Linux Server Backup (https://www.linuxquestions.org/questions/linux-hardware-18/linux-server-backup-72107/)

peterab85 07-12-2003 06:51 AM

Linux Server Backup
 
Hi All

I am going to be setting up RedHat 9 as a file server on a small network. The server will have alot of music stored on it, about 20gigs of music in mp3 format and about another 20gigs of wave sound files along with about 1gig of word documents. I am unsure what backup system and hardware I should use on the server. I only have a small budget of $400 to spend on backup so tape backup is out of the question. Would any one be able to suggest a sutiable backup system for my setup?

Thanks In Advance, Peter

kris.kj.jacobs 07-12-2003 07:14 AM

I backup my system using a CD-Writer and a small shellscript. If you're interested, I can send it to you. You can write it yourself as well.

This is how it works:

1/ I take an image of my /boot partition using dd and bzip2. I only do this after installation and when I do a kernel upgrade.
2/ I do some queries on the system: partition layout (fdisk), package list (rpm), LVM layout (vgdisplay) and save this in a file.
3/ I've set up a system with soft links to know which directories I need to backup.
4/ I copy all the selected directories with cp -d -r -p into a directory /backups/<hostname>. This preserves the permissions and the ownerships.
5/ I write the backups to one or more CD-R's using zisofs. This is a Linux-only on the fly compressed ISO filesystem.

In case you're interested in the code, just post a reply mentioning your email address.

Hope it helps.

david_ross 07-12-2003 07:16 AM

For that amount you could get another bog standard pc that has enought hard disk space for you to rsync the data to.

MasterC 07-12-2003 07:19 AM

Or even a DVD-RW and a set of 10 DVD's to burn (at what, 10GB a pop? 9.4 something...).

400 bux for a backup budget sure doesn't seem to be a "meager" amount ;)

Cool

peterab85 07-12-2003 07:22 AM

kris.kj.jacobs my email is peterab85@hotmail.com I would be interested in the shellscript.

MasterC 07-12-2003 07:29 AM

Shame on me, I forgot to mention my new found cool backup utility:
http://www.partimage.org/

;)

Cool

phantom0810 07-12-2003 10:21 AM

I agree with kris.kj.jacobs's opinion.

Each time u want to backup firstly mount CD Writer then tar(or whatever to compress) files to it.

I think this'll fit ur budget and it's quite simple.

Varyag 07-16-2003 02:42 AM

Hello to all.I am interesting in backup as you .
I get my backup into CD-RW and using a shell script. I take a images of partition /etc , mail directory, web directory and of database which in server Win 2000 .I do it using tar.
But sometimes the tar proccess don't stopping a I handly need to kill it.
Then the archive a good , I put in on CD with cdrecord .
Have you ever some errors when you a backup???


All times are GMT -5. The time now is 12:58 AM.