How to recover from svn hotcopy backups

前端 未结 4 943
醉话见心
醉话见心 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:47

    I would do much more then simply run a hotcopy every night. I would use "svnadmin dump" to create a history of revisions into a dumpfile, which can be restored to a working repository.

    You should be backing up these dumpfiles to tape or offsite disk as is standard backup procedure. If a corrupt repository persists over several days before it is caught (such as on a weekend or holiday), you can go back to the last good file.

提交回复
热议问题