Rsync file list


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Rsync file list
# 1  
Old 08-28-2006
Rsync file list

Hello, I'm trying to utilize rsync to backup 7 gigs of approximately 10,000 files, from what I've read this should be no sweat. However subsequent syncs seem to build an entirely new file list and the process takes a great deal of time. Reading the man page I'm not sure if I need to specify a file list or if it is loaded automatically, additionally I'm not sure where the file list is stored if I do need to specify a file list. I'm running mac os x 10.4 (hold your insults please Smilie connecting to an ssh server thats running on mac os 10.3 server.
# 2  
Old 08-28-2006
what options are you using with the rsync command?
# 3  
Old 08-29-2006
rsync -e "ssh" -rca --delete-after ~/server/ User@serverIP:backup
# 4  
Old 08-29-2006
PHP

Quote:
Originally Posted by hexaplus
rsync -e "ssh" -rca --delete-after ~/server/ User@serverIP:backup
I think it may be your use of -c that is causing you some issues. The checksum option can be REALLY slow, but I can understand why you want it. I don't see anything there that would cause a full resync though.

BTW, you don't need -r with -a. -a is the same as -rlptgoD
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

rsync a file as it gets created and after 3 minutes old

- run a backup job - The jobs creates partial files one after the other, about 2 minutes interval. What i want to do is that while the job is still running or while a file was last modified or created 3 minutes ago, the file should be rsync to a remote server untill the last file has been... (4 Replies)
Discussion started by: malaika
4 Replies

2. Shell Programming and Scripting

Rsync Error: rsync: link_stat failed: No such file or directory (2)

I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies

3. Shell Programming and Scripting

Help with rsync file restore script

Hello Friends, I am trying to create an rsync file restore script. I will post want I have below and explain the problem I am having. #!/bin/bash # # Partial Rsync File Restore Script # # clear echo # Shell loads into /raid0/data/backup/bin/ cd .. # I cd to the backup... (1 Reply)
Discussion started by: jdavis_33
1 Replies

4. UNIX for Advanced & Expert Users

rsync not syncing a file

I am trying to sync the source tree into backup and somehow this one file dumper.c is not in sync, see below after running the script: /u/prj/dir$ l -tr dumper.c /v/tmp/prj_src/dir/dumper.c -rw-rw-r-- 1 prj group 15635 Jun 20 16:28 /v/tmp/prj_src/dir/dumper.c -rw-rw-r-- 1 prj ... (2 Replies)
Discussion started by: migurus
2 Replies

5. UNIX for Dummies Questions & Answers

rsync file list help

Is it possible to make rsync output a list of all the files transferred to a separate text file? If so how? I wondered if the --write-batch=FILE optionis what I need Thanks (1 Reply)
Discussion started by: barrydocks
1 Replies

6. Shell Programming and Scripting

rsync a single file

I have been using rsync scripts for a while and use them to sync directories across my servers. However i need to set up an rsync script to copy only one file from a server. Is this possible with rsync? If so how would i do this? I have looked on examples on the internet and only see examples for... (2 Replies)
Discussion started by: timgolding
2 Replies

7. Shell Programming and Scripting

rsync - update file on backup when file renamed on source

hi all, Please help me with rsync. I configured rsync to preserve timestamps using the -a option. When i renamed fileA to fileB on source machine I have to copies at the backup server. The aim is to keep the most recent file. fileA & fileB has same contents. When i renamed fileB to... (2 Replies)
Discussion started by: coolatt
2 Replies

8. UNIX for Advanced & Expert Users

Rsync building file list/catalog path/location

Where is the file list created by rsync when it says building file list ? (1 Reply)
Discussion started by: glev2005
1 Replies

9. UNIX for Advanced & Expert Users

rsync with particular file pattern

I'd like to rsync any files that end with 'rpt' under source dir called 'opt', and here is the command i tried: rsync -avz --include='*.rpt' --exclude='*' /opt /tmp -n but the list returned is a complete listing under opt. can anyone help out please? (2 Replies)
Discussion started by: jw_712
2 Replies

10. Shell Programming and Scripting

Rsync to an external list of URLs

I'm going to have a text file formatted something like this: some_name http://www.someurl.com/ another_name http://www.anotherurl.com/ third_name http://www.thirdurl.com/ I need to write a script that can rsync from a file path I'll set, to each URL in the list. Any ideas? (8 Replies)
Discussion started by: ibsen
8 Replies
Login or Register to Ask a Question