From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:55:56 2009 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 B0F801065694 for ; Thu, 17 Dec 2009 21:55:56 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 689158FC19 for ; Thu, 17 Dec 2009 21:55:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 6AE0C3FAC for ; Thu, 17 Dec 2009 22:56:08 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QGv0ORoU4Hzn for ; Thu, 17 Dec 2009 22:56:08 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id DA92E3EB5 for ; Thu, 17 Dec 2009 22:56:07 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1077) From: bsd In-Reply-To: <20091217171207.GB93764@slackbox.xs4all.nl> Date: Thu, 17 Dec 2009 22:55:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> <20091217171207.GB93764@slackbox.xs4all.nl> To: Liste FreeBSD X-Mailer: Apple Mail (2.1077) Subject: Re: incremental FTP backup program 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: Thu, 17 Dec 2009 21:55:56 -0000 Are there any specific scripting tools that I could use in order to = achieve that ?=20 =46rom what you are describing a tool that would automate the dump = process and take care of snapshots versions would be a must=85 ??=20 Any idea ?=20 Le 17 d=E9c. 2009 =E0 18:12, Roland Smith a =E9crit : > On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd wrote: >> Hello,=20 >>=20 >> I have been provided with a 1To backup space by my hosting company=85 >> unfortunately It is only accessible by FTP which does not allow me to = do the >> regular backup / restore I use to do using RSYNC. >>=20 >>=20 >> What are the options I have in order to do the backup / restore of = the files >> knowing that : >>=20 >> 1. I would like to have a time based backup solution (incremental = with >> sub-folder for daily backup so I can restore files from xxx days = ago). >>=20 >> 2. I need to use ftp as a transport >>=20 >> 3. Some of my servers have limited space so doing a local sync then = FTP will >> not be possible. >>=20 >> 4. If possible I would like a bullet proof solution ideally "well = known" | >> tested and available from the port tree. >=20 > There are several avenues available even with the tools in the base = system. >=20 > One of those is to use dump(8), assuming you are using UFS = filesystems, of > course. Make regular dumps (of different levels), compress them using > bzip2(1), encrypt the compressed dumpfiles using openssl(1) (do _not_ = use > crypt(1)!) and use ftp(1) to transfer them to the hosting company. >=20 > Another way is to use mtree(8). You can use this to generate a file = containing the > state of a filesystem hierarchy. Running it against a previously saved > specification can yield a list of files that have changed. Use tar and = bzip2 > to create an archive of the files that have changed. Encrypt and send = same as > above.=20 >=20 > All these programs come with the base system, you would just need to = script > them. >=20 > 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) =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing = this e-mail"