{"id":8444,"date":"2020-08-28T13:16:27","date_gmt":"2020-08-28T05:16:27","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8444"},"modified":"2020-08-28T13:16:27","modified_gmt":"2020-08-28T05:16:27","slug":"svnadmin","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/svnadmin","title":{"rendered":"svnadmin\u547d\u4ee4 – \u7ba1\u7406SVN\u7248\u672c\u5e93"},"content":{"rendered":"\n

\u4f7f\u7528svnadmin\u547d\u4ee4\u53ef\u4ee5\u7ba1\u7406subversion\u7248\u672c\u5e93\uff0c\u6bd4\u5982\u521b\u5efa\u3001\u5347\u7ea7\u3001\u68c0\u9a8c\u3001\u4fee\u590d\uff0c\u4ee5\u53ca\u4ea7\u751f\u5373\u65f6\u526f\u672c\u7b49\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>svnadmin [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

dump<\/td>\u5c06\u6587\u4ef6\u7cfb\u7edf\u7684\u5185\u5bb9\uff0c\u79fb\u690d\u5230\u201c\u8f6c\u5b58\u201d\u683c\u5f0f\u8f93\u51fa\u5230\u6807\u51c6\u8f93\u51fa<\/td><\/tr>
lslocks<\/td>\u663e\u793a\u6240\u6709\u9501\u7684\u63cf\u8ff0<\/td><\/tr>
rmlocks<\/td>\u65e0\u6761\u4ef6\u5220\u9664\u9501<\/td><\/tr>
verify<\/td>\u68c0\u9a8c\u7248\u672c\u5e93\u4e2d\u7684\u6570\u636e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u521b\u5efa\u7248\u672c\u5e93\uff0c\u6307\u5b9a\u7248\u672c\u5e93\u76ee\u5f55\u4e3a\/etc\/subversion:<\/p>\n\n\n\n

[root@linuxcool~]# svnadmin create \/etc\/subversion<\/pre>\n\n\n\n

\u5c06\u6587\u4ef6\u7cfb\u7edf\u7684\u5185\u5bb9\uff0c\u4ee5\u53ef\u79fb\u690d\u201c\u8f6c\u5b58\u201d\u683c\u5f0f\u8f93\u51fa\u5230\u6807\u51c6\u8f93\u51fa\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# svnadmin dump \/etc\/subversion<\/pre>\n\n\n\n

\u68c0\u9a8c\u6302\u8d77\u7684\u7248\u672c\u5e93\u53f7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# svnadmin verify \/etc\/subversion<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u4f7f\u7528svnadmin\u547d\u4ee4\u53ef\u4ee5\u7ba1\u7406subversion\u7248\u672c\u5e93\uff0c\u6bd4\u5982\u521b\u5efa\u3001\u5347\u7ea7\u3001\u68c0\u9a8c\u3001\u4fee\u590d\uff0c\u4ee5\u53ca\u4ea7\u751f\u5373\u65f6\u526f\u672c\u7b49\u3002 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8444"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8444"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8444\/revisions"}],"predecessor-version":[{"id":8629,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8444\/revisions\/8629"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}