• Resolved smithy468

    (@smithy468)


    I got this notification after attempting a restore that I ended up cancelling because of a warning that said: “UpdraftPlus was unable to find the table prefix when scanning the database backup.”

    Here is the new notification that appears everytime I open the plugin:

    “Your WordPress install has old directories from its state before you restored/migrated (technical information: these are suffixed with -old). You should press this button to delete them as soon as you have verified that the restoration worked.”

    What exactly does this mean? How were these old directories generated? The resotre was cancelled so none of the database should have been overwritten.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    This message is regarding the file directories in ‘wp-content’. When UpdraftPlus performs a file restoration, it moves the old files into new directories named with the ‘-old suffix’.

    You need to remove these folders before you can attempt a new restoration. This can be done through the indicated button, or manually via FTP.

    Plugin Contributor DNutbourne

    (@dnutbourne)

    As for the original issue, the WordPress database should have a set prefix that is used to identify the tables that belong to WordPress. By default this prefix is ‘wp_’.
    Could you check your wp-config.php file for the ‘WordPress Database Table prefix’? What is this set to?

    If a site does not have a prefix, it can cause issues. I’m afraid that UpdraftPlus cannot restore a database backup that does not contain a prefix.
    If your site does not have a prefix, then you will need to manually restore the database backup via phpMyAdmin or your hosting’s equivalent MySQL database tool.

    In phpMyAdmin, select the relevant database, and import the database backup file. The database should then be overwritten by the backup.

    Thread Starter smithy468

    (@smithy468)

    Hi, I just want to be sure that deleting the old directories is safe. When browsing my site via FTP, I found that most of the directories with an ” – old” prefix are empty. However, one called “wptouch-data-old”, has a bunch of folders in it. There is another directory called “wptouch-data” that looks like it has the same files but I’m not sure if they are the same or not. I’m a little hesitant deleting the old directories since now I’m not sure if I’ll be able to restore the site from my backups if something goes wrong…

    As for the table prefix, I opened up my wp-config file and found this:

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_gvdb_’;

    So it looks like there is a prefix, correct? Thanks for your help, I’d really like to get this worked out. Up to now, the plugin has worked great, and I don’t really want to use something else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Your WordPress install has old directories’ is closed to new replies.