Skip to content

Migrating 50 sites between $5 boxes—automation or pain?

VPS Hosting by lookuppierre 1 replies 129 views
10 #1

How to say... I am the fool, yes? I decide to migrate 50 small sites from one RackNerd box to another, and I think « ansible will save me »

48 hours I budget. Two weeks later, I am still debugging the Random Failures.

The Playbook:

  • rsync the files
  • mariadb dump and restore
  • nginx template with the variables
  • SSL certificate from the acme
  • DNS update with the api

Sounds simple, yes? But the php versions are different between the boxes, and the acme client change the format, and one site use the custom cPanel backup that extract wrong...

I am too proud to do the manual way. Now I am too tired to admit the defeat.

Someone please tell me I am not the only fool here

prix fixe infrastructure: €5/mo
#2

¡the migration classic!

The script red of 500 lines, the pride big of the engineer, the result same: pain

I use the ansible too, but for the project small only. For 50 sites? The bash simple wins always

My advice: the rsync first, the database after, the nginx last. And the test with the site one before the sites 49

For what it's worth, your suffering is the normal one

hot air, steady hand, magic smoke

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft