From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 20:11:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F57B106564A for ; Sun, 10 Aug 2008 20:11:22 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5448FC21 for ; Sun, 10 Aug 2008 20:11:21 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m7AJT8d4054101; Sun, 10 Aug 2008 21:29:08 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id CABDDBA9E; Sun, 10 Aug 2008 21:29:07 +0200 (CEST) Date: Sun, 10 Aug 2008 21:29:07 +0200 From: Roland Smith To: Jos Chrispijn Message-ID: <20080810192907.GA31087@slackbox.xs4all.nl> References: <489F3B10.30203@webrz.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <489F3B10.30203@webrz.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: Rsync X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 20:11:22 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 10, 2008 at 09:01:36PM +0200, Jos Chrispijn wrote: > I have server1 of which I would like to backup some slices/directories=20 > to a backup server2 that in fact is a mirror of the one that I want to=20 > backup. > I don't allow root logon from prompt on Server2. Can someone tell me how= =20 > I can force rsync to backup server1 without having a root login=20 > permission on Server2? You could run rsync in daemon mode on server2, then use rsync on server1 to push the data to server2. See rsync(1) and rsyncd.conf(5). Assuming you have a module [backups] in rsyncd.conf on server2, you can do something like this on server1 (where part1 is a partition/directory you want to back up): rsync -acvx --delete /part1/ server2::backups/part1 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkifQYMACgkQEnfvsMMhpyWhPgCfaaO0R8OBHzVdUVEihzWtBZWw wq8AmgJUf4378kLoFfxOcbvMZ5nFC0/7 =3zAs -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--