Webinoly is just the perfect tool for NGINX experts. Give it a try!
+3 votes
1.3k views
by Talented

Hi,

I was thinking that a nice feature would be the ability to migrate a site from a different server. E.g. something like: 

migrate example.com -from=[SERVER_IP]

Obviously, it would have to assume that both servers run Webinoly and they can already communicate with each other via SSH. Α command like that should also be able to identify specific Webinoly settings and migrate them as well (e.g. -cache=on or off, ssl, httpauth users etc). 

In conjunction with that, it would be nice if we could assign aliases to other servers so that we could use it instead of the IP like so

migrate example.com -from=[SERVER_ALIAS]
by Rookie

This is exactly what I was looking for on Google before I landed here!

It would be AWESOME to have this feature!

1 Answer

+3 votes
by Expert
A similar feature is currently in our roadmap for the next year.

As an extension of the backup feature, the possibility to create a complete backup of a site or maybe the whole server, obviously including all the Nginx and Webinoly configurations, and then you can take and export/import this file to any other Webinoly server.

Maybe the next step would be, as you describe, send this file via an SSH connection. I will meditate on this idea!
by Talented
Wow, I had the same thing on my mind. After submitting this post, I was thinking that it would also be nice if we could do special backups for our sites, keeping the Webinoly settings (ssh, cache, httpauth users etc) and then just import them with a single command - I was planning to submit a new feature suggestion for that :D.

This could have even more value if you had the option to also do it for the entire server, as you suggested, or even for multiple specific sites all in one command (e.g. backup a live site and it's staging).

As for the migration part, being able to move them between servers via SSH would be really convenient. From time to time I have to move one or more sites to a new server and it can be relatively time-consuming. I believe that other people might have the same need too.
by Rookie
edited by
AWESOME!

Moving the whole server with ALL those configurations through SSH from a server to another where we ONLY need a clean server with Webinoly installed on it is something I can't wait for! So brilliant and so fast to achieve!

I'm thinking...

webinoly -move-from=domain.com
OR
webinoly -move-from=11.22.33.44
by Expert
A first approach to this feature was released in v1.13.0, it's a partial functionality that will be improved in future releases.

Import/Export server or site has been added to the backups section.

What do you guys think?
by Talented
It sounds like a great start!

Does it matter if a full backup gets restored on a server with different specs (memory, cpu)?
by Expert

We only copy a list of packages and features that are enabled/disabled, the installation on the new server is like a fresh installation following this list, but each package will be optimized with the new server resources.

So you have nothing to worry about, it's the same as if you have a list of things and you install a new server following this list.

by Talented

Hi,

The past few days I did a few site migrations from one server to another. Everything worked great and Webinoly made the process very easy, as all it took was a few commands. As I didn't want to migrate the entire server but only a few sites, though, I thought that a great feature would be to batch migrate selected sites, with something like:

sudo webinoly -backup=local -export=[example1.com,example2.com,example3.com]

This could export a single file which, in turn, when running import on the destination server, would batch import all of them. 

by Expert
In fact, this feature is actually scheduled to be released in v1.15.0.

Multiple websites support for export and WP database backup, also this will fix the issue that we currently have when trying to export WP sites installed in subfolders.

Thanks, Giorgos!
by Talented
LOL, it's not the first time that you are ahead of me :D That's great news, it would be a very convenient feature!
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...