![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
| Display Modes | Rate This Thread |
|
|