[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: server problems

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-24 21:26:09 CET

On Thu, Jan 24, 2002 at 07:03:49AM -0600, Ben Collins-Sussman wrote:
> Greg Stein <gstein@lyra.org> writes:
> > I ran into the disk space problem earlier tonite and started doing some work
> > to fix it. We still have a bunch of old logs sitting in the DB directories.
> > I wrote a little script to run db_archive to find the old logs, so we can
> > remove them.
> >
> > I started doing that, but had to drop it for a while.
>
> Okay. Well, in theory, that's what tools/backup/hot-backup.py is
> doing already. It copies the whole repo to a backup dir, then
> *re-copies* the log files, then it uses db_archive to purge old db
> logs. Is there a reason to have 2 such scripts?

No, but I had to write a script to delete logs from the backed-up
directories. If hot-backup.py does its job, then my "toss-logs.sh" would
have no work to do.

I just ran the script again, and it tossed logs from some of the recent
commits. IOW, it appears that hot-backup still doesn't seem to quite be
getting rid of logs properly.

I also went into the svn repository and removed a bunch of old logs in that
directory, too. At least we don't have to copy 20 logs each time, just to
delete them :-)

In all, I cleared up 15 gig of disk space :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:59 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.