LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2004, 01:13 PM   #1
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Rep: Reputation: 30
Backup Data


Hello there .
I want to backup some data to aip disk. Is tehre a way to tell linux to do this automated in a specific hour?
something like copy /home/db/data.mdb to /mnt/zip
at midnight

?????????
 
Old 08-31-2004, 01:34 PM   #2
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
Yes there is a way its called Cron

You can tell cron to run a script to do anything anytime.

Do you use a GUI or command line? Kcron is a GUI based kinda like the taskmanager for Windows.

You need some one to drop by here that has some scripting knowledge.

Personally I use Rsync to mirro data to an off site server.
See man rsync or
http://www.linuxquestions.org/questi...ticle&artid=80

I use this script

#! /bin/sh
#This script is to sync /home/midgett/ with outside backup machine
echo "Syncing drive personal directory"
rsync -e ssh -avz --delete --progress /home/mmidgett/ root@midgettsvr:/home/midgett/mmidgett/


#end
See man rsync
Just modify or I can help you out.

This copys from the server that you are on to off site server, to do this to the same computer do it like this

rsync -avz --delete --progress /home/mmidgett/ /mnt/backup

Then have a job tar the files. You could tar the files before and just transfer one tarball.

Last edited by phatboyz; 08-31-2004 at 01:36 PM.
 
  


Reply


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
KNOPPIX Data Backup jpassion General 1 12-20-2004 06:09 PM
KNOPPIX DATA BACKUP problems jpassion Linux - Newbie 0 12-20-2004 06:05 PM
data backup solution suggestions disorderly Linux - General 5 08-31-2004 08:41 PM
backup data Dannydy Linux - Newbie 3 07-21-2004 04:03 PM
data backup on CD RW or DVD+RW frannack Linux - Software 1 04-10-2004 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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