How do I back up a remote SVN repository

后端 未结 9 1330
被撕碎了的回忆
被撕碎了的回忆 2020-12-22 20:04

I am currently moving my SVN server from my home server to my remote server so I can access it more easily from other locations. My remote server is not backed up so I want

9条回答
  •  渐次进展
    2020-12-22 20:55

    EFraim mentioned rsync while I wrote this so that's covered.

    If you don't want to work with that, the Subversion Book offers the svnadmin dump --incremental option explained here:

    • Repository Maintenance (scroll down the page to the "backup" section)
    • Migrating a repository has examples on svnadmin dump --incremental

    However, to do this successfully, you have to juggle with revision numbers - rsync'ing the raw repository data directories will be easier.

    The hard part will probably be setting up rsync so your local and remote machine can communicate securely (i.e. set up an SSH service on the 2003 server). DeltaCopy that Wim mentions is very interesting and would be my first shot; for command line operation only, here is a howto on how to get Rsync running as a service on Windows 2003.

提交回复
热议问题