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

Re: Hot backup changes

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-08-22 19:39:06 CEST

Michael Price wrote:
> Blair Zajac writes:
> > I do need to sweat the log stuff doing the incremental backups.
> >
> > I plan on replacing the db backup solution with the svnadmin dump based
> > backup solution due to the large disk space that the db based backups
> > are using, I indicated my the first message in this thread.
> I guess I'm already lost then. With several of my repos at home, the
> gzip'd dump is several times LARGER than the gzip'd repository itself.
> Where exactly is the space savings? (or do I not understand what your
> doing?)

I was comparing the disk usage when I keep the hot-backup.py backups
back to revision 0 to the potential savings of the `svnadmin dump'
solution. But thinking about it now, there's no point in doing this
after a repository format change, since you couldn't rerun all the logs
anyway. Dahhh...

By the way, I'm not proposing to `svnadmin dump' the entire repository
after each commit, which would take a lot of redundant space, just create
new files for the revisions which were never backed up, which in the
standard case would be just the last committed revision.

The incremental cost of a `svnadmin dump' solution is less than the
hot-backup.py solution. The question is, how many revisions back with
the hot-backup.py solution do you need, which says which backup solution
takes less space.

Finally, here's the backup of our repository at work. Most of the
hot-backups are larger than the repository. This is with 1 Mbyte
DB log files.

# du -ks repos
12632 repos

# du -ks hot-backups/repos-[89]?
8832 hot-backups/repos-80
15144 hot-backups/repos-81
9024 hot-backups/repos-82
18788 hot-backups/repos-83
9576 hot-backups/repos-84
17776 hot-backups/repos-85
9596 hot-backups/repos-86
16488 hot-backups/repos-87
10360 hot-backups/repos-88
14052 hot-backups/repos-89
18468 hot-backups/repos-90
10284 hot-backups/repos-91
12936 hot-backups/repos-92
9892 hot-backups/repos-93
12372 hot-backups/repos-94
10352 hot-backups/repos-95
18664 hot-backups/repos-96
9452 hot-backups/repos-97
20232 hot-backups/repos-98
9992 hot-backups/repos-99


Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 22 19:39:52 2002

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.