In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to release the one-click backup and recovery tool for the Linux face. the content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Panel backup / recovery program for backing up all panel data, including websites, databases, scheduled tasks, etc. Warning: if you use this tool for data migration, make sure that both servers have the same MySQL version and the same Web server type.
Instructions for use:
1. Use python to execute script files
2. Backup parameters: python backupAll.py backup
Note: all data will be backed up to the backup.zip package in the directory where the script resides. After the backup is completed, you can download it through sftp or move to a website directory and download via http.
3. Recovery parameters: python backupAll.py input
Note: before executing the restore command, please make sure that backup.zip has been uploaded / downloaded to the same directory. Make sure there is no data in the database. After recovery, the database will be overwritten. Please log in using the password before the backup.
Example of an one-click command (entered in ssh):
Backup:
Wget-O backupAll.py http://www.bt.cn:5880/tools/backupAll.py & & python backupAll.py backup
Restore:
Wget-O backupAll.py http://www.bt.cn:5880/tools/backupAll.py & & python backupAll.py input
This is the end of the release of the one-click backup and recovery tool on the Linux faceplate. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
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.