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!

Tutorial Trim and Export and Import the Xtream Codes Database as sql or gzip manually

redhat

Administrator
Staff member
Administrator
Joined
Jun 19, 2019
Messages
3,298
Reaction score
15,890
Points
134
Location
root[@]woi
You can trim your Database and remove the useless entries. This will clear the tables client_logs and user_activity,

1. Install WinSCP
2. Install Putty
3. connect with WinSCP to your Server
4. open Putty
5. Connect to the Database
Bash:
mysql -u root -p

At the Enter password: prompt, well, enter mySQL Root Password

6. Select Xtream Codes Database
Bash:
mysql> USE xtream_iptvpro;

7. Trim your Database and remove the useless entries with:
Bash:
mysql> TRUNCATE TABLE client_logs;
mysql> TRUNCATE TABLE user_activity;
mysql> TRUNCATE TABLE user_activity_now;
mysql> TRUNCATE TABLE reg_userlog;
mysql> TRUNCATE TABLE epg_data;
mysql> TRUNCATE TABLE streams_sys;
mysql> TRUNCATE TABLE stream_logs;
mysql> TRUNCATE TABLE streams_options;

mysql> exit;

8. Export Xtream Codes Database as gzip manually
Bash:
mysqldump -u root -p xtream_iptvpro | gzip > XtreamBackup.sql.gz

Export Xtream Codes Database with Timestamp and as gzip manually
Bash:
mysqldump -u root -p xtream_iptvpro | gzip > XtreamBackup_$(date "+%b_%d_%Y_%H_%M_%S").sql.gz

At the Enter password: prompt, enter again mySQL Root Password

9. Download with WinSCP the Backup File from /root Folder to your local PC

Importing the DB Dump in to the new DB

As .sql file
Bash:
mysql -u root  -p xtream_iptvpro < [filename].sql

As gunzip archived sql (.sql.gz) File
Bash:
gunzip < databasefile.sql.gz | mysql -u root -p xtream_iptvpro
or
zcat databasefile.sql.gz | mysql -u root -p xtream_iptvpro
 
Last edited:
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
thank you ...... but how to import this backup to streaminny panel without migrating from server ?

any solution ?

and please explain this warning when i try to migta xc v2 database to streaminy

[The Migration will do a database wipe! All Data would be lost. Local stored VODs won't be migrated automaticaly. Please contact us for further details. ([email protected])]

what this mean, my database on xc server will be deleted ?

thanks
 
thank you ...... but how to import this backup to streaminny panel without migrating from server ?

any solution ?

and please explain this warning when i try to migta xc v2 database to streaminy

[The Migration will do a database wipe! All Data would be lost. Local stored VODs won't be migrated automaticaly. Please contact us for further details. ([email protected])]

what this mean, my database on xc server will be deleted ?

thanks
no it means your current streaminy database will be wiped
 
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

i have server a = xc v2 + 1 balancer (big server)

server b = streaminy frech install (testing server)

my idea is to migrate my xc v2 backup to server b (streaminy) and after i reinstall server (a) with ubuntu 18 and i install streaminy on it and finaly take a backup from b and restore it to a

it is possible ?

thank you bro
 
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
i have server a = xc v2 + 1 balancer (big server)

server b = streaminy frech install (testing server)

my idea is to migrate my xc v2 backup to server b (streaminy) and after i reinstall server (a) with ubuntu 18 and i install streaminy on it and finaly take a backup from b and restore it to a

it is possible ?

thank you bro
This is how I done it

Bought a temp server and set up streaminy.
Migrated database
Took a database dump
Reinstalled main with 18.04

Changed main on streaminy
Added load balancers etc
 
This is how I done it

Bought a temp server and set up streaminy.
Migrated database
Took a database dump
Reinstalled main with 18.04

Changed main on streaminy
Added load balancers etc
Did you migrarte movies series?
Streams opening slow if they are on demand?
Did your load balancer works?
Its working with mag, whmcsmarters android app, android stb emulator
 
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
Did you migrarte movies series?
Streams opening slow if they are on demand?
Did your load balancer works?
Its working with mag, whmcsmarters android app, android stb emulator

i tested iptv smarters with streaminny without migrating xc v2 database, and doesnt work , the app shut down when do refresh channel list and vod
 
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
Yes its working
i will setup evrithing on streaminy then just change dns and thats it, i just hope they will fix speed and bugs for opening streams on demand

try to put 512000 on demande channels annd you must have good stream source to opennn fast i think

i come back after testing my streams
 
i have managed to install the panel for 3 days now and testing
working xcv2 migration works
all streams migrate ok
all users migrate ok
all bouquets migrate ok
all category live and vod migrate ok
all manage reseller migrate ok
RESELLER PACKAGES DOESN'T MIGRATE OK
NO VOD ARE IMPORTED ONLY HAVE TO DO MANUALLY
STREAMS THAT WERE ONDEMAND MIGRATE AS NORMAL STREAMS, SO CAN MASS EDIT AND PUT TO ONDEMAD

ONDEMAND STREAMS TAKING TO LONG TO OPEN OR NOT OPENING IF ANYONE CAN HELP WITH THE SETTINGS
Probesize Stream 5000000
Analyze Stream 16000000
Buffersize for Reading 4096
Prebuffer in Seconds 30
ANY ONE HAVE CORRECT SETTING FOR ONDEMAND TO WORK CORECTLY HELP PLS ????????

EPG FILES http://www.vuplus-community.net/rytec/rytecUK_Basic.xz .XZ FILES ARE NOT SUPPORTED ONLY .GZ FILES SUPPORTED
ALSO NEED THE URL TO FETCH THE EPG.XML FILE ANY HELP PLS ?????

OVERALL THE CMS IS WORKING OK AND HAPPY WITH STREAMINY CMS FEW SMALL TWEAKS NEEDED

THANKS TO STREAMINY TEAM ANY HELP WOULD BE APPRECIATED
 
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