LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 08-22-2005, 11:45 PM   #1
iqlinx
LQ Newbie
 
Registered: Nov 2004
Location: Toronto - Canada
Distribution: Fedora Core 2
Posts: 6

Rep: Reputation: 0
Post how can I Backup on linux


Hi there,

Instlled a clone of RedHat Enterprise 4 (Cent OS 4), and performed RAID 1 on DUAL hard drive machine.
I would like to know what is the best way to backup a linux system.
A friend told me to use AMANDA is this the best tool for backup? or there is another simpler tool that does the job. what is the limitation of this tool?

currently I am backingup database with a simple cronjob that runs a script.
what I need is to backup this system regulary once every month the backup files on a CD.

Thanks,

IQ
 
Old 08-23-2005, 03:22 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Code:
#!/usr/bin/perl
#sysbkup.pl
#Created by Milkman    
#Change These paths to fit your needs.
my $filename="/home/sysbkup/backup";
my $exclude="/home/milkman/exclude";
my $data="/home/milkman/locations";
my $tar="\.tar";
my $gz="\.gz";


    $file=$filename.$tar.$gz;

     system ("tar -Pzcvf $file -X $exclude -T $data");

	
	Hope this helps!!
I do this, and just change the locales of what I want to backup and burn to a CD-r.........
 
Old 06-17-2006, 02:11 AM   #3
c_debashis
LQ Newbie
 
Registered: Dec 2005
Location: Calcutta
Posts: 1

Rep: Reputation: 0
i' rhel 4 inatalled on prolient server

i' installed 4mm dds tape drive from hp

please tell me how to take backup on tape
regular at incremental basis as wel as restore
 
Old 07-06-2006, 12:21 PM   #4
Hep
LQ Newbie
 
Registered: Dec 2005
Posts: 25

Rep: Reputation: 15
Hi, you can make a little script for your backups using the commands dump (for the backup, also incremental if you want) and mt (for storing on tapes). Here is a good link, at least I think so. http://hr.uoregon.edu/davidrl/tape.txt.
Hope it helps.
 
  


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
DISCUSSION: Using Linux to backup and recover Windows and Linux systems shshjun LinuxAnswers Discussion 3 12-05-2009 09:42 PM
How do YOU backup Linux? paulinimus Linux - Software 11 08-26-2004 05:34 AM
Linux Backup mallikar Linux - Newbie 1 06-07-2003 08:55 AM
Linux backup juno Linux - General 2 11-04-2002 10:29 PM
How to backup my linux CobraMagic Linux - General 4 09-13-2002 11:08 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:26 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
Open Source Consulting | Domain Registration