rsync in cron scripts or Start
saw how to use rsync to back remote, but if we use it in cron or within an automated script , we find the disadvantage that rsync us for the password of the remote system.
To avoid this we can save the password in a file that contains only the password and that necessarily has to have permissions 600 (read and write only for the owner).
Now we could use rsync as follows:
rsync - password-file = / root / FICHEROCONTRASENYA USER @ IP:: RESOURCE
much more detailed information in this article .
0 comments:
Post a Comment