SVN Nightly Backup
4 Replies
svnadmin dump /var/lib/svn -q | mailx -s "SVN Dump for `date +%Y%m%d`" foo@bar.com
Assuming your repository is in /var/lib/svn.
Curious what OS you are using for SVN. I set mine up on CentOS, imported a dumped repo but trying to check it out results in segfaults each time.
I was about to post a new topic but was curious
@dmuench:
I dump mine to a dated file, but this should work to mail it:
svnadmin dump /var/lib/svn -q | mailx -s "SVN Dump for `date +%Y%m%d`" foo@bar.com
Assuming your repository is in /var/lib/svn.
How does that deal with binary data?
Either encode it or send it as a attachment (and hence encoded) perhaps?
I suggest using gpg -ar you -e