Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 6547  / 2 Years ago, wed, may 25, 2022, 1:47:04

I have been looking at different tutorials about rsync about some specific situation I have.



I have a home server with all my pics, this server is my backup, my PC is the one that receives the new pics and until now i had been manually copying and pasting new photos from the PC to the server.



I was trying to setup rsync to do this automatically and in principle, it does without problem.



Now the issue; when I fire up rsync it start copying all the files, even the ones were already in the destination (this is because it is the 1st sync).



so my question is: Is it possible for rsync to verify that a file is the same (name/size/bin) so it will skip the copy on the 1st sync?


More From » 11.04

 Answers
5

You mean it starts copying everything again because even though they're already there, they have different timestamps because you copied them over yourself?



The --size-only flag, or --checksum, might be what you need to stop it doing that, but the first time you run rsync without that flag it will revert back to this behaviour.



You can probably fairly safely run it all the time with --checksum though, I think, so it might not be an issue.


[#41944] Wednesday, May 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gerrin

Total Points: 347
Total Questions: 109
Total Answers: 121

Location: Tanzania
Member since Fri, Oct 29, 2021
3 Years ago
gerrin questions
Sun, Sep 25, 22, 12:20, 2 Years ago
Sat, Sep 11, 21, 20:11, 3 Years ago
Tue, Jan 11, 22, 22:26, 2 Years ago
Thu, Oct 28, 21, 14:34, 3 Years ago
Sat, Mar 12, 22, 10:03, 2 Years ago
;