• Resolved dzarelli

    (@dzarelli)


    Hello – I’ve tried about half a dozen times to restore a duplicator backup to a site that was accidently destroyed. I’m starting from a fresh wordpress install using the archive.zip, .sql, and installer.php files from the backup of the site before it was destroyed. In the new instance (when we deploy it as vanilla) we create a database called wordpress, and create the site using the same name, url, and DB users as before. The site is installed to /var/www/html. We then copy the archive.zip, .sql, and installer.php to var/www/html/backup and open the installer.php in a browser. We select to overwrite the existing DB (named ‘wordpress’) and ensure all the DB user/password data is correct. We do not receive any warnings or errors when running the installer. It appears to create the site in the /var/www/html/backup folder but after we go on to step 4 and click “site login” it opens https://hostname/backup/wp-login/php and returns a connection refused error. We simply want to deploy our backup and restore the page so that it server from https://hostmname (not from https://hostname/backup)

    As the previous site was deleted accidently and was considered critical to our business, we have a need to get this back up and running as soon as possible. Any help is appreciated.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Here is my experience that may or may not be helpful. I’m just a user, but it sounds urgent for you.

    I’ve moved locally developed sites to a number of different hosts where no site existed. Simply created a folder for the site (cPanel) and made sure I had a fresh database. In my experience, the installer.php has rarely failed under those circumstances. So I wonder if simply creating a fresh folder/location and database might get you to where you need to be quickly.

    Have you tried installing the site backup as if new like that? My assumption is that you duplicated everything for the site without excepting media, files, etc.

    Hope that helps.

    • This reply was modified 6 years, 4 months ago by johnwp413.
    Thread Starter dzarelli

    (@dzarelli)

    This is a local host so I don’t have cpanel access for it. However, I did start with a fresh install and a new DB called “wordpress”. I configured the vanilla instance and it works as expected. When I run the installer it succeeds but then there is no site available at the URL any longer. Could this be SSL related? The old site enforced SSL but the new site doesn’t have the certificate installed yet.

    In my experience SSL only interferes with browsers in rendering pages. And all browsers typically throw up a specific error message.

    How are you using the term “local host”? Do you mean one that isn’t public (e.g. would not load in a browser using a domain name URL like https://www.mywebsite.com)? If so, it sounds like you are running some form of an intranet for limited use within a network, or something.

    • This reply was modified 6 years, 4 months ago by johnwp413.

    Hi @dzarelli

    You will need to place the installer and archive inside of the /var/www/html/ directory. The installer will install the application relative to the path it is placed at. If you want to keep it in the backup directory you can also work with your host to properly map the domain to that path.

    Hope that help~

    Thread Starter dzarelli

    (@dzarelli)

    Thanks. I tried putting the installer in the html folder, it complained about the existence of a wp-config.php file. I tried deleting/renaming the wp-configfile and proceeding with the restore process. The process completes successfully with no errors or warnings but the site does not render. I will try it again today and reply back with the results. Thanks for the help.

    Hey @dzarelli,

    There are a few items in the FAQ that may provide a solution to this issue, this one may get you going.

    ? ? – Why do I get a blank/white screen on my site?
    ? ? – https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-270-q

    Hope this helps~

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Connection refused after migration’ is closed to new replies.