I need to recover files that have been deleted.
My scenario:
I have a rsync script that runs at 9PM and mirrors everything from server1 directory to another directory on backup server2.
A couple of files have been accidentally deleted from server1.
How do I recover those files from server1 with rsync?
You should be able to do so with the
--update
option. According to the man pageFrom server1: