The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
The CCP1GUI: New incremental release iBot Software Releases - RSS News 0 01-08-2008 08:00 PM
rsync question sidmuchrock UNIX for Advanced & Expert Users 3 03-18-2007 06:02 PM
tar - incremental backup Funky_ass Shell Programming and Scripting 0 07-19-2006 07:28 AM
rsync question skotapal UNIX for Dummies Questions & Answers 1 10-19-2005 07:13 AM
rsync question? cstovall IP Networking 4 02-15-2005 03:17 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-18-2007
zhivko.neychev zhivko.neychev is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 12
rsync incremental question

Hi, I have problem with incremental copy of files from source to destination.
I would like to copy different sources to different destinations. I made a backup script which look like that:

curd=$(date +%w)
day=$(date +%A)

mkdir -p /home/backup/DATA/$day

case $curd in
1|2|3|4|5)
rsync -rP --ignore-errors --force /home/backup/Data-Finance /home/backup/DATA/$day;
rsync -rP --ignore-errors --force /home/backup/data /home/backup/DATA/$day;
rsync -rP --ignore-errors --force /home/backup/data-tb /home/backup/DATA/$day;;
6)
rsync -rWP --delete --ignore-errors --force /home/backup/Data-Finance /home/backup/DATA/$day;
rsync -rWP --delete --ignore-errors --force /home/backup/data /home/backup/DATA/$day;
rsync -rWP --delete --ignore-errors --force /home/backup/data-tb /home/backup/DATA/$day;;
*) exit

The problem is that I have source almost 400 GB.I want to back up only those files which was modify only on the current day without those are older.

When rsync start for first time it starts coping all files from src to dest.
Is there any option which to resolve this?

Thanks in advance!
 

Bookmarks

Tags
linux, mtime

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0