LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SVN dump failing (https://www.linuxquestions.org/questions/linux-software-2/svn-dump-failing-650416/)

laggerific 06-19-2008 06:38 PM

SVN dump failing
 
I'm trying to run the following command:
svnadmin dump testrepo > /data/svndump/testrepo.uncompressed

But I keep getting this error:
svn: Can't open file 'testrepo/format': No such file or directory

Any thoughts on why it's unable to open the file format? It's world readable, and even if I open it wide, I still get the error.

crazedsanity 06-20-2008 12:57 PM

The svnadmin dump command requires a repository path (like file:///path/to/testrepo) :::

Code:

danf@Hippie:~> 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



All times are GMT -5. The time now is 08:54 AM.