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

Re: repository on USB drive

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-11 12:01:19 CET

On Jan 11, 2006, at 10:18, Alexander E Genaud wrote:

> (.) For backup on USB drive: export or dump rather than checkout/
> update.

I'm not sure I understand your goal with this last point, since the
various concepts you're mentioning are used for different purposes.

You said you were going to have a repository on a USB drive.
"svnadmin dump" is a command that can be used on a repository to dump
its entire history to a text file which can later be used to recreate
the repository should the original repository fail for some reason.
This is one good method of creating a backup of a repository.
(Another is the hot-copy method or, for FSFS repositories, simply
copying the repository directory.)

"svn export" is an operation that gives you a copy of the HEAD of the
repository (or of the current state of a working copy, if applied
instead on a working copy). It does not give you any history, and is
thus not a strategy for backing up a repository.

"svn checkout" creates a working copy and "svn update" updates a
working copy. These are commands you would use with a Subversion
working copy for the purpose of making changes to the working copy
and checking these in to the repository. They are not, however, any
part of a backup strategy.

Were you planning on also keeping your working copy(ies) on the USB
drive? I don't think you mentioned that initially. Not that there's
anything wrong with that, of course; should work fine too. I'm just
starting to wonder whether your USB drive has space for all this.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 11 12:04:10 2006

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.