From owner-freebsd-questions@freebsd.org Sun Feb 16 03:40:38 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 78EEA252EAD for ; Sun, 16 Feb 2020 03:40:38 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48KtDj5lxqz45GX for ; Sun, 16 Feb 2020 03:40:37 +0000 (UTC) (envelope-from kremels@kreme.com) From: "@lbutlr" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: rsnapshot Date: Sat, 15 Feb 2020 20:40:35 -0700 References: <3759E97D-0CDA-4503-B585-3DEA8F2E875E@kreme.com> To: FreeBSD In-Reply-To: <3759E97D-0CDA-4503-B585-3DEA8F2E875E@kreme.com> Message-Id: X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48KtDj5lxqz45GX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [-0.39 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.936,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MISSING_MIME_VERSION(2.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; IP_SCORE(-0.07)[ip: (-0.24), ipnet: 65.112.0.0/12(-0.00), asn: 209(-0.03), country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[42.55.121.65.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2020 03:40:38 -0000 On 15 Feb 2020, at 19:23, @lbutlr 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=3D--rsync-path=3D/path/to/myrsnapscript --delete = --numeric-ids --relative --delete-excluded --exclude=3Dcore 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. --=20 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