I have a script that runs on Linux Ubuntu Server every dat at 5am. This script backups all my SVN in this way:
#!/bin/bash svnadmin dump /home/xxx/svn/p1 > /home/xxx/svn-backup/p1 svnadmin dump /home/xxx/svn/p2 > /home/xxx/svn-backup/p2 svnadmin dump /home/xxx/svn/p3 > /home/xxx/svn-backup/p3
The problem is that only the first project (p1) is really dumped. The rest of the projects are files with this text in them:
Revision-number: 0 Prop-content-length: 56 Content-length: 56
K 8 svn:date V 27 2009-11-12T15:25:00.461875Z PROPS-END
(edit) When running the script from command line it backups all the repositories and does this problem only when running from cron.
Why is that?