Jump to content

[Guide]Backup through Admin [FIX]


PsyCho0

Recommended Posts

If you backup your Topsite Database throught the Topsite control panel, it dont backup completly. Its missing one table.

 

Please update the following file, so everything get backed up correctly and you dont recieve errors once you uploaded your backuped data

 

open sources/admin/backup_database.php

find:

else {
      $tables_to_backup = array(
        "{$CONF['sql_prefix']}_settings" => true,
        "{$CONF['sql_prefix']}_bad_words" => true,
        "{$CONF['sql_prefix']}_ban" => true,
        "{$CONF['sql_prefix']}_custom_pages" => true,
        "{$CONF['sql_prefix']}_etc" => true,
        "{$CONF['sql_prefix']}_categories" => true,
        "{$CONF['sql_prefix']}_ip_log" => false,
        "{$CONF['sql_prefix']}_reviews" => true,
        "{$CONF['sql_prefix']}_sessions" => false,
        "{$CONF['sql_prefix']}_sites" => true,
        "{$CONF['sql_prefix']}_stats" => true,
      );

 

replace with

else {
      $tables_to_backup = array(
        "{$CONF['sql_prefix']}_settings" => true,
        "{$CONF['sql_prefix']}_bad_words" => true,
        "{$CONF['sql_prefix']}_ban" => true,
        "{$CONF['sql_prefix']}_custom_pages" => true,
        "{$CONF['sql_prefix']}_etc" => true,
        "{$CONF['sql_prefix']}_categories" => true,
        "{$CONF['sql_prefix']}_ip_log" => false,
        "{$CONF['sql_prefix']}_reviews" => true,
        "{$CONF['sql_prefix']}_sessions" => false,
        "{$CONF['sql_prefix']}_sites" => true,
        "{$CONF['sql_prefix']}_sites_edited" => true,
        "{$CONF['sql_prefix']}_stats" => true,
      );

Link to comment
Share on other sites

  • 7 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...