![]() |
|
|
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 |
| Advantage of executing program in user shell? | seeker333 | UNIX for Advanced & Expert Users | 2 | 05-21-2008 03:19 PM |
| rsync, which files where moved? | JCR | UNIX for Dummies Questions & Answers | 5 | 02-11-2008 02:04 PM |
| rsync not copying all files from smb-mounted fs | fishsponge | UNIX for Advanced & Expert Users | 2 | 10-04-2005 04:40 AM |
| moving files from a unix directory to a windows directory | gleads | UNIX for Dummies Questions & Answers | 2 | 08-29-2002 09:42 PM |
| Does automount have an advantage over hard mount? | 98_1LE | UNIX for Dummies Questions & Answers | 1 | 03-31-2002 10:44 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
rsync: taking advantage of files in different directory other than destination
Dear Folks,
I have to backup pgsql database dump everynight on a routine. The database dump actually contains sql(text) statements. The actual size of the database dump is aroung 800 MB. Between two days backup, only few lines of statements are modified/added/deleted. I dont want to do incremental backup. Instead, I want everyday's full dump to be stored on to a folder named DD-MM-YY(ex: 01-05-08). Everyday there will be a folder created with name DD-MM-YY and the dump will be stored there. Since the difference between the two day's backup are pretty minimal, I dont want to resend the 800 MB files everyday. Suppose, 1. I have taken yesterdays dump in a folder named 04-05-08 in database server 2. I have rsynced the folder 04-05-08 to the backup server. 3. I have taken today's dump in folder named 05-05-08 in database server. 4. Now while doing rsync, I want rsync to compare the <database server's 05-05-08/dump file> with the <04-05-08/dump file> which already exists in backup server. (then eventually, I want rsync to send only the differences and store the output in folder 05-05-08). Typicaly I want to take advantage of yesterday's file which already present in a different folder. Can anyone suggest a working method to implement this ? (I tried --copy-dest / --compare-dest .. but couldnt get it to work) Any response in this regard is most appreciated. Regards, rssrik |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|