Linux Shell script WordPress Site Mirror Script for Failover Server

Lukket Opslået 3 måneder siden Betalt ved levering
Lukket Betalt ved levering

The objective of this shell script is to create a mirror image of a WordPress site on a second duplicate server, which will serve as a failover option. The script will utilize technologies such as rsync to synchronize web directory files and perform a database copy. It should also support logging and notification features to report any sync or database copy errors. The script will be scheduled to run at least once daily.

Script Configuration Options:

Source Database:

- Database name

- Database user

- Database password

- Source Web Directory:

- Web directory location

Destination Database:

Database name

Database user

Database password

Database location

Destination Web Directory:

Web directory location

Notification Settings:

Email address(es) to receive notifications in case of errors or completion

Estimated Script Workflow:

- Connect to the source database using the provided source database credentials.

- Create a backup of the source database.

- Connect to the destination database using the provided destination database credentials.

- Drop the existing destination database if it exists.

- Restore the source database backup to the destination database.

- Connect to the source server using SSH and rsync the web directory to the destination server's web directory location.

- Monitor the rsync process for any errors and log the progress.

- Send a notification email if any errors occur during the rsync process or database copy.

- Log the script's execution details, including success and failure status, in the specified log file.

Important Considerations:

- Ensure that the script is executed with appropriate permissions to access the necessary files and directories.

- Use secure methods to store and retrieve sensitive information such as database credentials.

- Validate all user input to prevent any potential security vulnerabilities.

- Test the script thoroughly before deploying it in a production environment.

- Schedule the script to run at least once daily using a cron job or a similar scheduler.

Can make use of WP CLI

Note: This brief provides an overview of the desired shell script's functionality and configuration options. The actual implementation may require additional steps or modifications based on the specific server setup and requirements.

Linux Shell Script PHP MySQL WordPress

Projekt ID: #36689437

Om projektet

40 bud Remote projekt Aktiv 2 måneder siden

40 freelancere byder i gennemsnit $144 timen for dette job

nabeelawais83

Hi there, Hope you are doing great! I am a professional WordPress expert and I can quickly copy your website on another server for you Wordpress is my specialty, ready to start and look forward to work with you. Tha Flere

$90 AUD på 1 dag
(339 bedømmelser)
7.7
vashishtrupinder

Hello, How are you? I read through the job details carefully and I am absolutely sure that we can do the project very well I have rich experience in PHP MySQL Linux WordPress Shell Script Web Development I am ready to Flere

$250 AUD in 7 dage
(170 bedømmelser)
7.3
techwelfare

WORDPRESS EXPERTS! We are working on wordpress since last 11 years. We could do it. Could we discuss in details over chat now? Best Regards Techwelfare

$250 AUD in 10 dage
(217 bedømmelser)
7.5
crystalhitesh

Hey there, As per the description, I have relevant experience of 8 years as a security/network engineer and can help you out with your task as I have my expertise in it starting right away and finishing today only! Flere

$180 AUD in 3 dage
(165 bedømmelser)
6.9
omnamasshivay

Hello, I understood the project but have few doubts, please text me so i can clear all my questions right away and to confirm my skills and expertise you can have a look to my profile

$300 AUD in 5 dage
(21 bedømmelser)
5.8
AhmadSameer

Hey there, I have been working with Linux/Unix-like systems for years. I had developed tons of Shell scripts. I can develop your required script to create a mirror image of a WordPress site on a second duplicate ser Flere

$300 AUD in 7 dage
(46 bedømmelser)
5.8
akhilkumarmehrin

Hey, I am a professional web programmer with 10+ years of experience. I can do this job for you since i have all the skills which is necessary for the job to be completed. I have successfully delivered and launched m Flere

$75 AUD in 3 dage
(23 bedømmelser)
5.0
omemajawaid

Hello Client! My name is Omema and I am part of the Solution Providers team. We specialize in providing reliable web solutions using the highest development standards. With over 10 years of experience in various web te Flere

$100 AUD in 7 dage
(18 bedømmelser)
4.6
azfarkhan91

Hi I am experienced system admin. I will create a bash script which will do the following task. ON prod: -stop mysql db service -make mysql dump -start the mysql db service -copy database dump to failover server -rsync Flere

$200 AUD in 5 dage
(29 bedømmelser)
4.1
nekpaldevloper

Hello Tarik S., We went through your project description and it seems like our team is a great fit for this job. We are an expert team which have many years of experience on PHP, Linux, WordPress, Shell Script, MySQL Flere

$140 AUD in 7 dage
(2 bedømmelser)
3.3
Webinfamous

Hey Tarik S., Good evening! We have carefully examined your project and its requirements and we believe your best option to realize your project is with our fully qualified and professional team. We are a team of very Flere

$155 AUD in 4 dage
(11 bedømmelser)
3.4
syednomanali602

Hi Mate, I can create a shell script for you to mirror a WordPress site on a duplicate server. It will use rsync to sync files and perform a database copy. The script will support logging, notifications, and run daily. Flere

$95 AUD in 7 dage
(10 bedømmelser)
3.5
tymsolutions

Hello, my name is Muhammad Yaseen and I am the founder of TYM Solutions. I understand that you are looking for someone to create a shell script for mirroring a WordPress site on a second duplicate server that will serv Flere

$140 AUD in 7 dage
(5 bedømmelser)
3.2
sairusk

Job Title: Linux Shell script WordPress Site Mirror Script for Failover Server I'm cerified in webdesigning and development by freelancer.com.I'm also certified in wordpress , Woocommerce , Bidcommerce designing and Flere

$30 AUD in 5 dage
(16 bedømmelser)
3.3
NAASDIGITAL

Hello there, ⭐ I can agree with your budget and, requirements. I have thoroughly reviewed the specifics of your project and I am confident in my ability to assist you. With over 10 years of professional experience in Flere

$180 AUD in 5 dage
(1 bedømmelse)
2.0
yanprofee

Hi. Hope you're doing well. I understood that you want to build the shell script for creating a mirror image of a WordPress site. I am a full stack developer with experience in Shell Script, Linux, PHP, and MySQL for Flere

$150 AUD in 10 dage
(1 bedømmelse)
1.9
perezdann

Greetings, I'm thrilled to submit my proposal for your shell script project posted on Freelancer.com. The aim of this project is to create a failover option for a WordPress site by duplicating it on a second server. T Flere

$80 AUD på 1 dag
(2 bedømmelser)
1.1
rizdmabc

Hello Tarik S., Rizwan here, interested and willing in your Linux Shell script WordPress Site Mirror Script for Failover Server. With my expertise in PHP, Linux, WordPress, Shell Script, MySQL, I believe that I hav Flere

$130 AUD in 7 dage
(0 bedømmelser)
0.0
rhythmbhagat143

I understand that you are looking for someone to Linux Shell script WordPress Site Mirror Script for Failover Server and I believe I am the best fit for this job due to my extensive experience in web design and WordPre Flere

$60 AUD in 3 dage
(0 bedømmelser)
0.0
romilbhagat89

Hello I have reviewed your job description and completely understand your requirement for (Linux Shell script WordPress Site Mirror Script for Failover Server) . I can start working on your project immediately. I hav Flere

$60 AUD in 3 dage
(0 bedømmelser)
0.0