We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to sync files between servers. W/O SQL
-
- Posts: 38
- Joined: Tue Aug 16, 2016 4:58 pm
How to sync files between servers. W/O SQL
Hello Everyone!
My current setup is 3 Vesta CP servers configured in a round robin configuration using 1 domain.
All 3 of these servers will be hosting 1 website, and my 4th server is an remote SQL server for storing SQL data
My question is, How can i sync files from the webroot of 1 Vesta CP server to another Vesta CP server using the same domain?
(Realtime file sync)
Please keep in mind i do not need to worry about SQL Syncing.
I been having difficulties attempting Rsync as there is a lot of mixed information in the vesta forums.
Responses usually complain about SQL and do not receive accurate answers to fix this challenge.
Some other responses provide vague information, lacking commands & example directories.
Your help is much appreciated!
My current setup is 3 Vesta CP servers configured in a round robin configuration using 1 domain.
All 3 of these servers will be hosting 1 website, and my 4th server is an remote SQL server for storing SQL data
My question is, How can i sync files from the webroot of 1 Vesta CP server to another Vesta CP server using the same domain?
(Realtime file sync)
Please keep in mind i do not need to worry about SQL Syncing.
I been having difficulties attempting Rsync as there is a lot of mixed information in the vesta forums.
Responses usually complain about SQL and do not receive accurate answers to fix this challenge.
Some other responses provide vague information, lacking commands & example directories.
Your help is much appreciated!
Re: How to sync files between servers. W/O SQL
If your only syncing files this will sync files from public_html folder on the remote server to local server.
Code: Select all
rsync -va [email protected]:/home/admin/web/mydomain.com/public_html/ /home/admin/web/mydomain.com/public_html/