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

Re: Re: repositories and backups...

From: Michael Abele <michael.abele_at_aqcon.com>
Date: 2004-05-26 17:22:41 CEST

Paul Puschmann wrote:
> Okay, but a backup of the whole repository would also work?
> (I guess)

Yes, but I think having a dump file of your repository is more save for case of having a corrupted repository.

A dump can be done by:
svnadmin dump REPOSITORY_PATH > name_of_dump.dmp

Check out the complete help for dump:

dump: usage: svnadmin dump REPOS_PATH [-r LOWER[:UPPER]] [--incremental]

Dump the contents of filesystem to stdout in a 'dumpfile'
portable format, sending feedback to stderr. Dump revisions
LOWER rev through UPPER rev. If no revisions are given, dump all
revision trees. If only LOWER is given, dump that one revision tree.
If --incremental is passed, then the first revision dumped will be
a diff against the previous revision, instead of the usual fulltext.

Valid options:
  -r [--revision] arg : specify revision number ARG (or X:Y range)
  --incremental : dump incrementally
  -q [--quiet] : no progress (only errors) to stderr

Regards,
Michael.

-----Ursprüngliche Nachricht-----
Von: Paul Puschmann [mailto:paul.puschmann@medcom-service.de]
Gesendet: Mittwoch, 26. Mai 2004 17:16
An: users@subversion.tigris.org
Betreff: Re: repositories and backups...

Michael Abele schrieb:

| Hi,
|
| The common way is to do a "svn dump" of your repository. Than you can
move the dump file to your backup server. To get a higher level of security you can also implement a post-commit script that dumps the incremental change after every commit. (See SVN book for details about post-commit and svn dump)
|

Okay, but a backup of the whole repository would also work?
(I guess)

What should be the syntax for this svn dump ?

I'm using subversion-1.0.0-51 (from SuSE 9.1)

Please give answer to the mailingslist.

Kind regards,

Paul

- --

http://learn.to/quote
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1-nr1 (Windows 2000)

iD8DBQFAtLJRvlzXJuk76fMRArKfAJ4+d135z2TCyAJPUTJMN9xLMBAr8wCgkPIi
G/H7J8xgxDuhu2lJ1JltYzU=
=9yw/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 26 17:23:18 2004

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.