From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IoktF-0005u6-2U for garchives@archives.gentoo.org; Sun, 04 Nov 2007 19:12:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id lA4J9u8l024792; Sun, 4 Nov 2007 19:09:56 GMT Received: from mail.st4vs.net (mail.st4vs.net [88.96.252.46]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id lA4J4p4L018772 for ; Sun, 4 Nov 2007 19:04:51 GMT Received: from localhost (localhost [127.0.0.1]) by mail.st4vs.net (Postfix) with ESMTP id 2368214F7C22 for ; Sun, 4 Nov 2007 19:04:51 +0000 (GMT) X-Virus-Scanned: amavisd-new 2.4.1 (20060508) at st4vs.net Received: from mail.st4vs.net ([127.0.0.1]) by localhost (mail.st4vs.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v8KGvK8iigP5 for ; Sun, 4 Nov 2007 19:04:50 +0000 (GMT) Received: from hotdog (unknown [88.96.252.45]) by mail.st4vs.net (Postfix) with ESMTP id 8C2191A04E for ; Sun, 4 Nov 2007 19:04:50 +0000 (GMT) From: Steve Dommett To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] rsync via ssh Date: Sun, 4 Nov 2007 19:04:44 +0000 User-Agent: KMail/1.9.7 References: <589486.43504.qm@web83109.mail.mud.yahoo.com> <200711041759.42670.steve@st4vs.net> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711041904.44895.steve@st4vs.net> X-Archives-Salt: 6f465926-4984-42d7-8c0b-62dcec37da6a X-Archives-Hash: f1533136d22083c32e9fba2a987e22a4 On Sunday 04 November 2007, Roger Mason wrote: > Did you have to do anything special to make it work from cron? No, but then the crontab entry is simply: > 47 4 * * * /root/backup.sh The backup.sh is essentially: rdiff-backup \ --print-statistics \ --exclude /mnt \ --exclude /dev \ --exclude /proc \ --exclude /tmp \ --exclude /var/tmp \ --exclude /var/cache/squid/ \ --exclude /var/lib/mysql/ \ --exclude /var/lib/postgresql/data/base/ \ --exclude /var/lib/postgresql/data/global/ \ --exclude /var/lib/postgresql/data/pg_clog/ \ --exclude /var/lib/postgresql/data/pg_subtrans/ \ --exclude /var/lib/postgresql/data/pg_tblspc/ \ --exclude /var/lib/postgresql/data/pg_xlog/ \ --exclude /sys \ --exclude /usr/portage \ --exclude /usr/portage/distfiles \ --exclude /var/run \ / backups@backuphost::/home/backups/hostname/ -- gentoo-user@gentoo.org mailing list