rsnapshot
@lbutlr
kremels at kreme.com
Sun Feb 16 03:40:38 UTC 2020
On 15 Feb 2020, at 19:23, @lbutlr <kremels at kreme.com> wrote:
> am setting a backup from one machine to another. This is brand new install of Rsnapshot on a brand new install of FreeBSD 12.1, the server the is being backed up is run-in 11.4.
I think I have solved this one of two possible ways.
1) Write a script on the server that rsnapshot uses instead of rsync to launch sudo rsync. This requires passing all the usual arguments that rsnapshot uses for rsync manually.
+rsync_long_args=--rsync-path=/path/to/myrsnapscript --delete --numeric-ids --relative --delete-excluded --exclude=core
2) allow root login in sshd.conf (Since logins require a certificate, this is not as bad as it might seem).
I went with option 1, and allow the backup user access to that one line bash script.
--
Light thinks it travels faster than anything but it's wrong. No
matter how fast light travels it finds the darkness has always
got there first, and is waiting for it. --Reaper Man
More information about the freebsd-questions
mailing list