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

Re: [PATCH] hot_backup.py backup removal bug.

From: Michael <mixtim_at_ispwest.com>
Date: 2003-02-22 18:45:41 CET

Michael writes:
> I couldn't find this in the mail archive (was sent on 2/14) so I'm
> sending it again.

Uh, I suppose I could explain what it does huh :)

In the hot_backup.py script as it is now its assumed that not only is
the script run every commit but also that it finishes before the next
run. So, for those of us who run it nightly or for those who run it
every commit but the commits come too fast then we get old backup
directories left around.

The patch I forwarded examines the directory, obtains a list of the
directories to keep, and removes all the other directories (making sure
we only touch our directories and not the backups of another repo in the
same directory).

I've been running it since the 14th backing up multiple repos into the
same directory and have been happy with the results.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 22 18:46:38 2003

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.