Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question Changing Main Server

TvBossDVoss

Extended Member
Ext. Member
Joined
Feb 8, 2020
Messages
20
Reaction score
12
Points
14
Location
sudo su - @MTB
Hey guys, looking for tips/advise on best way to go about relocating Main server.
Is there a painless way to restore everything to a new server?
 
what is ur panel now and in wich panel do u want to restore?
 
what is ur panel now and in wich panel do u want to restore?
Xuione
Not a migration from one panel to another.

Just looking to move xuione from the server its currently on, to a new server, the most painless way, without having to redo LB's, etc.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Xuione
Not a migration from one panel to another.

Just looking to move xuione from the server its currently on, to a new server, the most painless way, without having to redo LB's, etc.
I looking to do the same thing i also have xuione let me know if you find out the most painless way of going about this,
i was about to make the same post as you just did
 
Hi.

As I remember when I moving main server I done it like this:

1. installed XUI on new server.
2. On old server make a database backup with this command
./home/xui/xui_backup
3. find the created SQL backup file in /home/xui/backups/ folder
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
service xuione restart
and try again login.
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
hostname = "xxxxxxxxx"
and change the xxxxx to your new main server IP adress. Save the file and run this command in your loadbalancer
service xuione restart
After this check if Loadbalancer appear online on your main server.
Repeat step 10. in all your loadbalancer servers.

Check if everything works and if all ok you can delete the old main server.

Thats all. I hope I dont make any mistakes in describing the proccess and not forget something important. Just dont delete anything from old server and delete it only after you are really make sure everything is working on new server. And if you stuck somewhere just ask me maybe i can help even if Iam feel also like beginner :)
 
Hi.

As I remember when I moving main server I done it like this:

1. installed XUI on new server.
2. On old server make a database backup with this command

3. find the created SQL backup file in /home/xui/backups/ folder
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.
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 loadbalancer

After this check if Loadbalancer appear online on your main server.
Repeat step 10. in all your loadbalancer servers.

Check if everything works and if all ok you can delete the old main server.

Thats all. I hope I dont make any mistakes in describing the proccess and not forget something important. Just dont delete anything from old server and delete it only after you are really make sure everything is working on new server. And if you stuck somewhere just ask me maybe i can help even if Iam feel also like beginner :)
Amazing write up, thank you very much!!

Pretty new with server side of this, but with your steps I think can get through it.

Again thank you very much.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top