zoukankan      html  css  js  c++  java
  • 备份 Repository Backup

    版本库备份
    上一页  第 3 章 版本库  下一页

    版本库备份

    无论你使用何种版本库,定期维护和验证版本库备份非常重要,或许你可以访问最近版本的文件,但是如果没有版本库,所有的历史将会丢失。

    The simplest (but not recommended) way is just to copy the repository folder onto the backup medium.

    最简单(但不推荐)的方式,是直接复制库文件夹到备份的媒体(新的文件夹)

    However, you have to be absolutely sure that no process is accessing the data. In this context, access means any access at all. If your repository is accessed at all during the copy, (web browser left open, WebSVN, etc.) the backup will be worthless.

    然而,要绝对确保,没有进程正在存取数据。。。

    推荐的方法是运行

    The recommended method is to run

    svnadmin hotcopy path/to/repository path/to/backup
        

    to create a copy of your repository in a safe manner. Then backup the copy.

    以安全的方式,创建库拷贝,然后再备份库拷贝。

    The svnadmin tool is installed automatically when you install the Subversion command line client. The easiest way to get this is to check the option to include the command line tools when installing TortoiseSVN, but if you prefer you can download the latest version of command line tools directly from the Subversion website.

  • 相关阅读:
    Window 中的自带方法Base64
    React_Class1
    npm 常用操作
    React__生命周期
    axios 简单方法个人理解
    JavaScript_Window对象
    常见的搜索引擎技巧
    JS_String常见问题Demo
    java调用C++代码
    java虚拟机指令dup的理解
  • 原文地址:https://www.cnblogs.com/CodeGear/p/12260638.html
Copyright © 2011-2022 走看看