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

Re: Compression?

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Sun, 18 May 2008 03:30:34 -0500

On May 18, 2008, at 03:14, Holger Schulz wrote:

>>> How save is my data within that repository?
>>
>> I'm confident that my data is safe in my Subversion repositories.
>> Of course a good backup plan is essential when using any software.
>
> Well, yes, usually I store a current working copy as well as a dump
> of the repository as backup. In case the repository should be
> damaged I still have the working copy an can continue working with
> it. The pristine copies aren't useful in a backup, are they?
>
> Can I use "svn export" to produce a copy without the pristine
> stuff? Perhaps this can be useful for a backup.

I was just thinking of repository backups. So you may want a periodic
dump of the entire repository, plus incremental dumps of the just-
committed revision in the post-commit hook. Maybe you want hotbackups
as well.

You should be committing after every logical change, so if your
working copy is lost or corrupted, you would only lose whatever you
were currently working on. But there can be value in backup up
working copies as well, if you want to protect against that. I would
expect you would want to back up the entire working copy (not an
export of the working copy) so that you could use "svn diff" to see
the differences, and if the repository is still around, "svn commit"
to commit the changes, if desired.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-18 10:31:11 CEST

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

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