I am looking for a rsync script that will backup specific directories from my home machine to a remote server nightly. So say: /home/me/Pictures to ssh -p 6587 email@example.com/Pictures. It would be nice if it can look for changes but im not worried so much about the changes aspect is having a script that runs at a certain time of night with cron or however. I have googled and found scripts but those scripts were specific to the operations of those creators. Any help would be happily accepted as the scripted part really throws me off. Thank you, Janice
It's really simple to create basic scripts. You use a text-editor (
The basic magic first line is
So create a file
It really is as simple as taking the command you'd run at the prompt and putting it into a file, with a special first line. It's designed to be the same commands, the same syntax, and so on.
rsync will look for changes on its own -- that's part of its job.
Do you also need pointers to the cron part?