Options for a "I'm done" flag file
Lorenz Weber
mail at lenzw.de
Tue Apr 28 05:47:01 MDT 2015
Or
rsync -avH ${all_gubbins} / user at remote.machine:/dest/ && ssh user at remote.machine touch /etc/donefile
so your client touches a file on your server (that sounds so wrong...)
Am 28.04.2015 um 13:36 schrieb Simon Hobson:
> Michael Johnson - MJ <mj at revmj.com> wrote:
>
>> rsync -av /src/ /dst/ && touch /dst/done
>
> Aaaaahhhh, knew I'd miss some detail.
> All the syncs are pushed to the backup server.
>
> But that does give me an idea. I guess I could do that on the source, then sync the flag file over.
> rsync -avH ${other_gubbins} / user at remote.machine:/dest/ &&
> touch /etc/donefile &&
> rsync -av ${some_other_gubbins} /etc/donefile user at remote.machine:/dest/
>
> That (or some variation of it) could work.
>
More information about the rsync
mailing list