-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to manage database and uploads migration for multiple sites on multiple servers #7
Comments
Hi, in our company we use a single Trellis project for each customer and, if necessary, we insert more sites in the wordpress_sites.yml file so that we have multiple sites on the same machine. We have never used a single Trellis installation to handle multiple servers and multiple sites (in addition to the classic staging and production servers).
I currently have no way of trying to make changes to the application, if you were willing to help me, I could integrate the tool to make it compatible with what you're asking me. |
Hello @valentinocossar! I get the following error when pulling with your hosts configure:
Then I changed the hosts configure to:
or:
I get the following error when pulling:
|
Hi @davidyv, sorry, I think I was wrong, the correct
However, I think it gives the same problem or even others. I'm sorry, I understand the utility in supporting the functionality you require but I do not think I have time to test the implementation in the short term. Certainly, the problem is tied to the If you find the way to fix the problem, I'll ask you to open a pull request to integrate the changes into the tool. Of course, it does not have to alter the way it works now (a least not too much). |
Hi,
First of all I would like to thank you for this awesome project. I use it daily for all my projects.
I'm wondering how to go about manage database and uploads migration for a combination of multiple websites (not multisite) across multiple servers.
I have provisioned and deployed multiple sites on multiple servers with hosts/production file like this:
And the hosts_folder like this:
In those folders, I made copies of the vault.yml, wordpress_sites.yml and main.yml.
During provision and deploy, I comment out those lines for Hosts configuration of trellis-database-uploads-migration and uncomment those line for multiple sites on multiple servers provision and deploy, then:
During the database and uploads migration, I uncomment those lines for Hosts configuration of trellis-database-uploads-migration and comment out those line for multiple sites on multiple servers provision and deploy, then
But I’d rather like to find a more elegant and simpler workaround instead like use the --limit option.
The text was updated successfully, but these errors were encountered: