troubleshooting Question

rsync doesn't copy everything

Avatar of sow56091
sow56091 asked on
Storage Software
1 Comment1 Solution716 ViewsLast Modified:
Hi experts,

Scenario: 2 debian sarge boxes running this command each night: rsync -avPl -e 'ssh -i /root/.ssh/nas2_id_dsa' --delete --force --exclude '/some/obscure/path' root@nas1:/some/path/ /some/path/. Only one server is sync'ing with stratum 2 time server; the other does not sync with time servers.

Problem: Using comparison software (Beyond Compare), I see that not all files copy over--e.g. /some/path/directory/abc.pdf (though I've seen word docs and excel docs too) from NAS1 to NAS2--i.e. they are "missing" on NAS2.

Question: How do I make rsync copy everything over, or at least learn what failed?

Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros