Jump to content

Copying website to staging server and keeping all in tact?


shogun
 Share

Recommended Posts

This looks interesting. I just installed it but I dont know how to create a package.

Step 6 says: Setup > Duplicator and build your package!

Even though i can see Duplicator as an installed module under Modules,  when I go to Setup at the top of process wire Duplicator doesn't show.

Screen Shot 2020-01-24 at 5.28.39 PM.png

Link to comment
Share on other sites

Solved:

I did find the packager under the Processes heading. i see it now and installed, but after generating a backup, I get this error when I click the installer file that should be created and I think the package needs the installer file...

 

Screen Shot 2020-01-28 at 4.50.17 PM.png

Screen Shot 2020-01-28 at 4.50.04 PM.png

Edited by shogun
Solved
Link to comment
Share on other sites

Ok lol i got the above all working. I found the package manager under Process and I had to re-name the directory of the module from Duplicate-master to Duplicate.

Now I'm wondering how does this handle the database on the clone. Does it create the database automatically? How does that work.

Link to comment
Share on other sites

Hey! Just chiming in here – i've done a ridiculous number of (~25) site migrations recently (mass exodus from bad hosting) and simply copied the entire web directory over, and have not had any issues, so for anyone reading this, might clarify that you do not need to run Duplicator, or re-install the CMS, to move or deploy a site.

In fact for many sites on shared hosting with larger files directories, duplicator could time out. The simplest way to move a site is to compress the web directory either using the command line, or e.g. cPanel compress command; This in combination with downloading the database of course, and changing the credentials in the config on the target server.

  • Like 2
Link to comment
Share on other sites

5 hours ago, shogun said:

What is your process as you make changes locally and want to keep local and staging links in sync while you add new page fields and cms content locally?

none, i don't do any sync, especially on sites where the database is being changed/updated on the live site. But there may be forum topics that explain various ways to do it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...