Migrate WP to new server - problems with htaccess in wp-content/uploads/snapshots

Hello,

I wanted to move a WP-installation from an old server to a new one.

DB is migrated via phpmyAdmin successfully.
But with files via FTP I get errors, that a few htaccess-files are obviously blocking to move the complete wp-content folder. I searched and found them on
wp-content/uploads/snapshots/.htaccess
wp-content/uploads/snapshots/_backup/.htaccess
wp-content/uploads/snapshots/_logs/.htaccess
wp-content/uploads/snapshots/_logs/_sessions/.htaccess
and
wp-content/uploads/snapshots/_restore/.htaccess

I wonder, where these belong to, as I cannot remember using any snapshot function here.
There's a plugin called "snapshot" from author "Incsub" in the plugin folder, but the client may have never used it.

I need help, because I don't know how to migrate the website without deleting the snapshot-folder. I would appreciate any help a lot.

Thank you,
Sascha

  • Predrag Dubajic

    Hey Sascha,

    Hope you're doing well today :slight_smile:

    Snapshot is actually our plugin used for backups and it can also be used to migrate your sites.
    Plugin:
    https://premium.wpmudev.org/project/snapshot/
    Migration using snapshot:
    https://premium.wpmudev.org/blog/easy-migration-snapshot/

    wp-content/uploads/snapshots/ folder is folder where Snapshot stores its backup files, they would look something like this snapshot-1461667513-160426-104541-1391ccb9.zip
    If there are no .zip files in there and you haven't actually used the plugin before then you can simply remove that folder altogether and if you decide in future to use Snapshot it will create that folder once activated.
    If you do have .zip files in there you might want to check the dates and see if you want to keep them in case they are recent backups of your site.

    Best regards,
    Predrag

  • sushling

    Hi Predag,

    thank you for your prompt reply.

    So I have followed the instructions on
    https://premium.wpmudev.org/blog/easy-migration-snapshot/

    and imported the snapshot.zip on the new server after installing a fresh WP. Unfortunatly there were no posts and I couldn't figure out why :slight_frown:

    I wonder if I needed to do this using snapshot. I rather went got the conventional way:
    Old Server:
    - dumb DB
    - download files
    New Server:
    - import DB
    - upload files
    - check wp-config

    Still, the only way to download all files incl. wp-content-dir was to delete the plugin completely, because htaccess within the snapshot-folders are un-removable!

    I may use snapshot for backups later, but for migration purpose is was not working correctly (or it was not intuitive enough or I was just to dumb and unpatient) and I was very carefully going through all the steps, repeating 3 times actually as it never worked well and then I gave up.

    It's working now after doing it all manually.

    Have a nice week :slight_smile:
    Sascha

  • Predrag Dubajic

    Hi Sascha,

    Glad to hear you managed to successfully migrate, sorry that it took the other way though.

    If you want us to further investigate this we could have a look at your snapshot file and see if there's anything missing in it.

    You can upload it to any file sharing service and send us the download link by using our contact form https://premium.wpmudev.org/contact/

    IMPORTANT: Make sure you select "I have a different question" for your topic so it doesn't go back to forums - this and the subject line ensure that it gets assigned to me.

    Subject: "Attn: Predrag Dubajic"
    Include
    - Download linkn
    - Link back to this thread for reference

    Make sure you don't post download link in thread as snapshot contains sensitive data from your installation.

    Have a great weekend!

    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.