From owner-freebsd-questions Sun Dec 8 20: 7:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0920C37B401 for ; Sun, 8 Dec 2002 20:07:29 -0800 (PST) Received: from labs.unixhideout.com (dsl-65-187-193-189.telocity.com [65.187.193.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E7843EC5 for ; Sun, 8 Dec 2002 20:07:27 -0800 (PST) (envelope-from mike@unixhideout.com) Received: from unixhideout.com (webserver@localhost.unixhideout.com. [192.168.1.20]) by labs.unixhideout.com (8.12.6/8.12.3) with SMTP id gB947xgL046457 for ; Sun, 8 Dec 2002 23:07:59 -0500 (EST) (envelope-from mike@unixhideout.com) From: mike Received: from 192.168.1.10 (SquirrelMail authenticated user mike) by email.unixhideout.com with HTTP; Sun, 8 Dec 2002 23:07:59 -0500 (EST) Message-ID: <1842.192.168.1.10.1039406879.squirrel@email.unixhideout.com> Date: Sun, 8 Dec 2002 23:07:59 -0500 (EST) Subject: Re: Silly cvsup question. (CLOSED) To: In-Reply-To: <20021208221351.G33272-100000@radzinschi.com> References: <44k7ik5b9b.fsf@be-well.ilk.org> <20021208221351.G33272-100000@radzinschi.com> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On 8 Dec 2002, Lowell Gilbert wrote: > >> mike writes: >> >> > Hello. i use cvsup to backup certain critical folders on the machine >> labs, to the machine labs2 automatically every night. My question is >> this. If i add new stuff to say, /home/mike (or wherever) then that >> gets mirrored at night and everything does its job as i want it to. >> However, if i DELETE something from /home/mike (or whereever) It >> never gets deleted from labs2. So its not "synching" correctly. For >> example i just went to zip -r cvsup-backup cvsup-backup on labs2, so >> i can pull it to XP and burn it, and i realized it had my library >> still in there which i deleted months ago. >> >> cvsup isn't going to be very good at tracking which files have been >> deleted on the original, unless you are pulling from a cvs repository >> (that's where it keeps information on directory contents). Otherwise, >> it won't know whether a file has been deleted from the original >> machine, or is a local modification on the duplicate. >> >> Given that you're not using cvs, you'd probably do better with rsync >> for this job. You could also use other tools that can keep metadata, >> like dump(8) or even use the incremental facilities of Gnu tar. > > This is not accurate, as the cvsup CLIENT keeps directory information > for the repository. When the client is run, if a file has been added on > the server, it will download it. > > If a file has changed on the server, it will use the rsync algorithm to > synchronize the files. > > If the client is set to delete files, it will also delete any files that > it has and which the server does not. > > I know because I use it at work to synchronize tens of thousands of > images. Rsync works, but it does not scale very well. I had to use > cvsupd and cvsup because the memory usage of rsync would grow past 512 > MB and it would eventually core dump. > > Marco Radzinschi > E-Mail: marco@radzinschi.com > > Sun Dec 8 22:13:51 EST 2002 Its true. I added "*default delete" to my sup file, and i made a test dir ran it once, then i rm the test folder, and ran it again. and it worked. thanks to all that that could and did respond. Now i got a perfect backup solution. I simply zip -r cvsup-backup on labs2 monthly or so and burn it to cdr, and thats assuming some day BOTH of my freebsd servers go bad? i think not.. -- -mike mike@unixhideout.com Network administrator The unixhideout network http://www.unixhideout.com Need to get a hold of me? finger mike@unixhideout.com ----------------------------------------- Free email that kicks ass from UnixHideout "The UnixHideout network" http://www.unixhideout.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message