Advertisement

07.22.2008 at 12:48PM PDT, ID: 23586347
[x]
Attachment Details

How would I set up a cronjob using rsync to do a incremental copy of a set of folders?

Asked by Devain in rSync Backup Utility, Linux

Tags:

Hello Experts,


Hello I am using Linux-centos was wondering How would I set up the cronjob using rsyncto do a incremental copy of a set of folders from one place to another. If files exist do nothing if it doesnt then copy new files.

example folders I want to do a incremental copy of.

/home/account1/public_html/images
/home/account1/public_html/thumbnails
/home/account1/public_html/otherimages


to

/home/account2/public_html/images
/home/account2/public_html/thumbnails
/home/account2/public_html/otherimages


I need the cronjobs to run everynight at 2am 3am and 4am to keep load on server low unless doing the incremental copy uses less cpu cause to does not copy all files again.

ThanksStart Free Trial
 
Keywords: How would I set up a cronjob using rsy…
 
Loading Advertisement...
 
[+][-]07.22.2008 at 01:36PM PDT, ID: 22063410

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:47PM PDT, ID: 22063516

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:53PM PDT, ID: 22063564

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 02:03PM PDT, ID: 22063651

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 02:20PM PDT, ID: 22063812

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: rSync Backup Utility, Linux
Tags: Linux,Rsync,Cronjob
Sign Up Now!
Solution Provided By: agriesser
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.22.2008 at 02:29PM PDT, ID: 22063881

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628