Re: backups and md5 all in one while splitting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 9 Nov 2007, Ruslan Sivak wrote:

I'm trying to back up our svn repositories, and I found a nice little backup command line bzip's the backup and creates the md5 hash all in one:

If you have a newer Subversion, svnsync is great for this, albeit without the md5 sums. The destination repository is an exact replica, revision properties and all, of the source repo.

E.g.,

  svnadmin create /srv/svn/myrepo.bak
  echo '#!/bin/sh' > /srv/svn/myrepo.bak/hooks/pre-revprop-change
  chmod +x /srv/svn/myrepo.bak/hooks/pre-revprop-change
  svnsync init file:///srv/svn/myrepo.bak http://src.me.com/svn/myrepo
  svnsync sync file:///srv/svn/myrepo.bak

Then, somewhat regularly,

  svnsync sync file:///srv/svn/myrepo.bak

--
Paul Heinlein <> heinlein@xxxxxxxxxx <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux