This Thread had not been rated yet
1. installed XUI on new server.
2. On old server make a database backup with this command
the file name has timestamp when the backup is created and copy this SQL file to the new server directory /home/xui/backups/
4. copy /home/xui/www/images/ folder from old to new server - use the same location (here is located your channels picons and VOD images)
5. copy /home/xui/bin/nginx/conf/codes/ folder from old to new server - use the same location (here is the nginx access codes to match your old database)
6. login to new server and go to Backup Settings and at the right side of your backup file hit Restore backup
7. when restore finished login to new XUI panel BUT NOW WITH YOUR OLD ACCESS CODE !!! The access code what are using before backup no longer works because your database was restored from old server. So use old access code + old admin username and password.
If XUI login page dont load restart XUI with command
8. In XUI panel go to Servers / manage servers / edit server and check if SERVER IP adress is the same as your actual server IP adress (I have here the IP address from old server but streams work i dont know why but change this SERVER IP to the new server IP address) .
If you use SSL and domain change your domain in Domains tab (redirect you dns to your new server IP before generating SSL), go to SSL Certificate - generate SSL certificate and when SSL sucessfully generated ENABLE HTTPS
9. You can see all your Loadbalancer is Offline because you must also need to edit all your loadbalancer local config files to be able to access the mysql database from loadbalancer (loadbalancer still have IP of your old server)
10. In your loadbalancer servers find the file /home/xui/config/config.ini and edit the line
Repeat step 10. in all your loadbalancer servers.
2. On old server make a database backup with this command
3. find the created SQL backup file in /home/xui/backups/ folder./home/xui/xui_backup
the file name has timestamp when the backup is created and copy this SQL file to the new server directory /home/xui/backups/
4. copy /home/xui/www/images/ folder from old to new server - use the same location (here is located your channels picons and VOD images)
5. copy /home/xui/bin/nginx/conf/codes/ folder from old to new server - use the same location (here is the nginx access codes to match your old database)
6. login to new server and go to Backup Settings and at the right side of your backup file hit Restore backup
7. when restore finished login to new XUI panel BUT NOW WITH YOUR OLD ACCESS CODE !!! The access code what are using before backup no longer works because your database was restored from old server. So use old access code + old admin username and password.
If XUI login page dont load restart XUI with command
and try again login.service xuione restart
8. In XUI panel go to Servers / manage servers / edit server and check if SERVER IP adress is the same as your actual server IP adress (I have here the IP address from old server but streams work i dont know why but change this SERVER IP to the new server IP address) .
If you use SSL and domain change your domain in Domains tab (redirect you dns to your new server IP before generating SSL), go to SSL Certificate - generate SSL certificate and when SSL sucessfully generated ENABLE HTTPS
9. You can see all your Loadbalancer is Offline because you must also need to edit all your loadbalancer local config files to be able to access the mysql database from loadbalancer (loadbalancer still have IP of your old server)
10. In your loadbalancer servers find the file /home/xui/config/config.ini and edit the line
and change the xxxxx to your new main server IP adress. Save the file and run this command in your loadbalancerhostname = "xxxxxxxxx"
After this check if Loadbalancer appear online on your main server.service xuione restart
Repeat step 10. in all your loadbalancer servers.
This Thread had not been rated yet