Hi,

I'm sorry if this has already been covered in the list or elsewhere; I
have searched but not found a solution and thus I'm trying here.

I currently use svn. As a backup solution all changes made to all
repositories on my central server are dumped to files (one incremental
dumpfile for each change to a repo) each night, gpg-encrypted and then
copied to other servers. In case of a problem with my central server I
can just create a new svn repo and then decrypt and load each dump
file in to get back to the same state. The encryption is central for
me since I cannot have the repos in a readable form on the other
servers for sec reasons. Thus I cannot simply create another darcs
repo on the backup server(s) and push to them. Can someone hint at a
good solution for accomplishing a similar thing with darcs repos?

My first try was to simply encrypt and backup all the patch files in
_darcs/patches. However, I cannot seem to find a good way to recreate
the darcs repo from only these patches files?

My second try was to use darcs send and save the output to a file.
However, it seems that darcs send needs a target repo to send against
so cannot be used in case there is only a single repo?

Best regards,

Robert Feldt


PS. here is info about svnadmin dump:

feldt:~/pronovomundo$ svnadmin help 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
  --deltas                 : use deltas in dump output
  -q [--quiet]             : no progress (only errors) to stderr

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to