全量备份:
svnadmin hotcopy [原版本库目录] [目标版本库目录]
eg.
svnadmin hotcopy svnRoot/repos1 /home/backup/repos1
完全备份还原:
同完全备份是一样的
eg.
svnadmin hotcopy /home/backup/repos1 svnRoot/repos1
增量备份:
svnadmin dump [版本库目录] -r [版本号1]:[版本号2] > [增量备份目标目录]
eg.
svnadmin dump svnRoot/repos1 -r 1:100 > /home/backup/repos1_dump
增量备份还原:
svnadmin load [增量备份目标目录] < [版本库目录]
svnadmin load svnRoot/repos1 < /home/backup/repos1_dump