In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to backup and migrate the SVN warehouse". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to backup and migrate the SVN warehouse" can help you solve your doubts.
Warehouse backup
Svnadmin dump
There are many backup methods. If there are too many versions, the dump process will be very slow, the backup will take more time, and the data will become larger when the backup is more time consuming. The data may become smaller after recovery. The passwd and authz under the warehouse will not back up the full backup. Execute the following command sudo svnadmin dump / path/repository > / path/repository-backup.2019-12-27 on the server that needs to back up the SVN warehouse.
Make a backup of version 0-2
Sudo svnadmin dump / path/repository- r 0:2-incremental > / path/repository-backup_0-2.2019-12-27
Incremental parameter description
It exports the version incrementally, that is, only changes since the previous version are exported each time. The benefits are as follows:
First: a large document can be divided into several small files.
Second: when the version library already exists, we only need to export the modified part each time, not the whole version library every time.
You can even automatically use the modified dump of the day for backup every night through the hook script.
Warehouse migration
Use tools such as SCP to transfer the backed up files to the target server, such as / home directory.
# build a new svn warehouse sudo svnadmin create / path/new_repository# import data sudo svnadmin load / path/new_repository read here, this article "how to backup and migrate SVN warehouse" article has been introduced, to master the knowledge of this article, you still need to do your own practice to understand it. If you want to learn more about related articles, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.