How to recover from svn hotcopy backups

前端 未结 4 945
醉话见心
醉话见心 2021-02-07 18:05

Our current backup process is doing a SVN HOTCOPY every night, to a backup location on a different machine. Can I somehow recover from that backup and retain all revision histo

4条回答
  •  别跟我提以往
    2021-02-07 18:37

    may be you want to look into my answer to a similar question: "Restore SVN backups from multiple files"

    You should also think about a strategy for recover your SVN-workingcopies: if you just recover an hotcopied(or dumped) repo all workingcopys which are on a higher revision will be invalid and the developers have to check out again. usually this takes much more time to be again on track than recovering the repo alone.

    The problem on dumps is: they are very time consuming to create and to play back.

    Also if you use hook scripts they will be included in your hotcopy, but they will not be inside your dumps.

    Thats said I would recomend a combination of hotcopy and per-commit dump

提交回复
热议问题