1. Backup data:
To back up SQL 2000 data, please back up SQL 2000’s DATA directory (default is C:\Program Files\Microsoft SQL Server\MSSQL\Data). If you also open the user database in another directory, such as D:\SQLDATA, please also back up this directory.
Backup MySQL data is also a DATA directory and files that back up the MySQL directory.
Backup email content:
A. If it is Winwebmail, you can back up the entire winwebmail directory.
B. If it is an imail, you need to back up the IMail registry first. You can click localhost and backup on the server imail management console, and a backup file will be generated in the imail security directory. Then please back up the entire imail directory.
If this server is a master server, please back up the master website. The default is in the c:\freehostmain directory, and the proxy image directory must also be backed up. The default is in C:\FreeHostAgentPhoto
2. Reinstall windows 20003 Chinese Enterprise Edition in format C: disk, then install sp2, and install all necessary software.
3. Install php, sql2000, mysql, and email software, please install it back to the original directory (note that the version must be exactly the same, such as SQL2000's sp4 version, Mysql5.0.41 version, and copy it back even if it is different). In this way, you can restore it normally. For old backup files, you can first change them to another directory name.
4. After installing the platform, run the main control terminal automatic settings and the controlled terminal automatic settings. Then, stop SQL 2000, restore the backup SQL 2000 data back, and SQL 2000 will be automatically restored. For MySQL, it is also necessary to stop the MySQL service. Copy the data directory of mysql and restore it. If MySQL chooses the wrong encoding during installation, you can also copy the file back and try it.
5. Enter the platform management area and check whether it is normal.
6. Rename the folder on the upper layer of the old user data such as d:\freehost to d:\oldfreehost
7. Create a new user data folder: d:\freehost
8. Enter the platform management area and click to rebuild the user function, which will generate the website of all users.
9. Select all the subfolders under d:\oldfreehost and move them to the new d:\freehost. Note that it is to move, not copy, and the speed of moving the folder is very fast. It takes a lot of time to copy.
10. Click "Reset permissions of the data directory to the initial state" in the user. After two minutes, the scheduled task on the server will start to restore the permissions (you can see a process in the Task Manager on the server, which will call the process to set the permissions). If it is 100G of data, this time usually takes 60-120 minutes. After the permission is automatically restored, the website can access it normally. Since this function requires scheduled task services, the scheduled task (Task Scheduler) service cannot be prohibited in service management, and this service must be in the startup state.
11. Point to rebuild the quota function in the user function, so that the actual space used by each user will be recalculated.
12. Restore other software: After winwebmail is installed successfully, you can copy the entire directory back. After the imail is installed successfully, please stop all imail services, open the imail console, restore the registry first, and then copy the entire imail directory back.
13. Finally, the extra-star security package must be run to solve the problem of ASP *s. According to the video, modify the user of SQL 2000 and the user of mysql to be ordinary users.
Starting from 2007-6-18, subdirectory websites have also been automatically restored with the main site in the rebuilding users.
To back up SQL 2000 data, please back up SQL 2000’s DATA directory (default is C:\Program Files\Microsoft SQL Server\MSSQL\Data). If you also open the user database in another directory, such as D:\SQLDATA, please also back up this directory.
Backup MySQL data is also a DATA directory and files that back up the MySQL directory.
Backup email content:
A. If it is Winwebmail, you can back up the entire winwebmail directory.
B. If it is an imail, you need to back up the IMail registry first. You can click localhost and backup on the server imail management console, and a backup file will be generated in the imail security directory. Then please back up the entire imail directory.
If this server is a master server, please back up the master website. The default is in the c:\freehostmain directory, and the proxy image directory must also be backed up. The default is in C:\FreeHostAgentPhoto
2. Reinstall windows 20003 Chinese Enterprise Edition in format C: disk, then install sp2, and install all necessary software.
3. Install php, sql2000, mysql, and email software, please install it back to the original directory (note that the version must be exactly the same, such as SQL2000's sp4 version, Mysql5.0.41 version, and copy it back even if it is different). In this way, you can restore it normally. For old backup files, you can first change them to another directory name.
4. After installing the platform, run the main control terminal automatic settings and the controlled terminal automatic settings. Then, stop SQL 2000, restore the backup SQL 2000 data back, and SQL 2000 will be automatically restored. For MySQL, it is also necessary to stop the MySQL service. Copy the data directory of mysql and restore it. If MySQL chooses the wrong encoding during installation, you can also copy the file back and try it.
5. Enter the platform management area and check whether it is normal.
6. Rename the folder on the upper layer of the old user data such as d:\freehost to d:\oldfreehost
7. Create a new user data folder: d:\freehost
8. Enter the platform management area and click to rebuild the user function, which will generate the website of all users.
9. Select all the subfolders under d:\oldfreehost and move them to the new d:\freehost. Note that it is to move, not copy, and the speed of moving the folder is very fast. It takes a lot of time to copy.
10. Click "Reset permissions of the data directory to the initial state" in the user. After two minutes, the scheduled task on the server will start to restore the permissions (you can see a process in the Task Manager on the server, which will call the process to set the permissions). If it is 100G of data, this time usually takes 60-120 minutes. After the permission is automatically restored, the website can access it normally. Since this function requires scheduled task services, the scheduled task (Task Scheduler) service cannot be prohibited in service management, and this service must be in the startup state.
11. Point to rebuild the quota function in the user function, so that the actual space used by each user will be recalculated.
12. Restore other software: After winwebmail is installed successfully, you can copy the entire directory back. After the imail is installed successfully, please stop all imail services, open the imail console, restore the registry first, and then copy the entire imail directory back.
13. Finally, the extra-star security package must be run to solve the problem of ASP *s. According to the video, modify the user of SQL 2000 and the user of mysql to be ordinary users.
Starting from 2007-6-18, subdirectory websites have also been automatically restored with the main site in the rebuilding users.