Jump to content

How to manually restore database backups


Recommended Posts

1. Make sure you have made a double copy of your backup file !

 

2. Delete your existing database:

mysql -u root -e "DROP DATABASE midnight_iptv"

 

3. Create a new empty database:

mysql -u root -e "CREATE DATABASE midnight_iptv"

 

4. Unzip your backup file:

gunzip auto_backup_My_Streaming_Server_2024-08-08_19_16_04_v5.3.7.gz

 

5. Restore your backup:

mysql -u root midnight_iptv < auto_backup_My_Streaming_Server_2024-08-08_19_16_04_v5.3.7

 

6. Done

 

Link to comment
Share on other sites

  • midnightstreamer changed the title to How to manually restore database backups
 Share

×
×
  • Create New...