N
N
neochar2019-01-01 19:33:41
Data transfer
neochar, 2019-01-01 19:33:41

Is there a ready-made solution for transferring several dozen sites to another server?

Happy New Year!

I need to transfer a couple of dozen sites from one hosting to another. I have ssh access on both machines. Requirements:
- a tool for which the config is filled in and which is launched by one command
- separation of access rights, ownership of files and folders by different users
- different versions of php for different accounts
- creating ssh access for each user (based on the config)
- copying files and a database (MYSQL)
- not a self-written sh script, but a ready-made solution
- if there is no ready-made solution - then examples of scripts, if you have come across
- billing is not included in the list of requirements
- ideally with the ability to link it all to plesk / cpanel
- for free :)

I would like to learn the basics of deployment, plus I'm tired of carrying client sites manually. Help :)

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sanes, 2019-01-01
@neochar

Of course not. This is a special case.
In order not to drag manually, use the control panel, for example ISPmanager. Or write your bike if there is nothing to do.
ps Look towards configuration management systems. The simplest Ansible.
My old LEMP bike . If you need + Apache mpm_itk, write, I will share.

S
Serg, 2019-01-01
@sergrych

better your "bike" than these ISPmanagers
, but "plesk/cpanel" is the same way past the "bicycle"...

I
Ivan Shumov, 2019-01-01
@inoise

I recommend learning Ansible and automatic deployment. If you need non-stop work and there is a permanent record in the database, then with replication and other dances with a tambourine. Automating here is evil

L
Ltonid, 2019-01-02
@AtaZ

If the sites were not created by you, you are not the owner of both hosting, then you can forget about automation simply on pain of death. I don't know what level of access you have, but with a random set of hosts, even hand bikes are not very secure.
In the case when everything is yours, or at least one half is yours, then plan the bike. You can’t advise anything specific here, in my opinion, any project older than a year is individual in everything.

P
Puma Thailand, 2019-01-02
@opium

Splash and panel is not about deployment
at all. They have a site and user migration tool, everything is done in several commands

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question