I need a sh script that I can run on a crontab.
the script needs to do the following
read ip-address, ssh password and mysql password from a file
connect to the ip-address by ssh using the ssh password
make a mysqldump of all databases using the mysql root password and download to local /backups/IP-TODAYSDATE/DB/
and rsync /var/www/ folder to the local /backups/IP-TODAYSDATE/WWW
then move on to the next in the list.
Some error handling would be nice also, an e-mail being sent for each fail with the ip-address perhaps.
The script will be run on a debian machine, connecting to centos servers.
Hello, I am an expert in Linux (18 years of experience; Debian, Ubuntu, CentOS and many others) and shell scripting. I'm ready to start working on your project. If you have any questions, please feel free to a Plus
29 freelance font une offre moyenne de $131 pour ce travail
Hello. I would like to help you with backup remote system . I have experience. Please read my feedbacks. Thank you.
Hello, I can do your script for an hour. Thanks.....................................................
Hello! My name is Andrey. I'm from Odessa, Ukraine. I have right skills and great experience for begin working on your project just right now! You may show good reviews at my profile https://www.freelancer.com/u/odessk Plus
Hello. I did a similar script recently, but for automated MySQL replication, so I think I can handle your project as well. Kind regards, Askar
Linux System Administrator and RHEL Certified Engineer, Security Specialist, Offensive Security Certified Professional. Skills: 1. Administrating Linux Based Servers 2. Penetration Testing 3. Securing and conf Plus
easy task that i have done before ******************************** *********************************************************
Hello, Please share more information about server configuration so that i can check and complete the project. Thank you
Hello Team, I'm vishulal , I'm an expert in LInux and Unix server.I have experience on CentoS , Ubuntu , Fedora , Debian , Redhat , Solaris, etc.. I have good experience on Webhosting , Email Hosting , Server Sec Plus
Dear Employer, I would recommend to use rsa authentication over password authentication for ssh, its the prefered way of handling scripts for rsync. I would like to work on your project. From how many servers you wa Plus
Hello I can help you with your backup script project, I do have extensive experience developing and deploying with similar instances for over 15 years. There are a few queries I would have regarding the security of Plus
Hello. More 20 years programming experience. Made similar many times, but I need more details to set real time and price. Regards. ---------------------------------------------------------------------------------- Plus
I am holding CEH, CCNP, CCNA, MCSA, MCTS, MCP. Also I am experienced in C/C++/Java/Python.. etc. If you are willing to hire me drop me a message. Check my linkedin ([url removed, login to view]) and GitHub (http:/ Plus
Hi. I can do the script for you. Have done similar during my work. I also have couple of improvement suggestions. But of course if you do not like them, I can do it your way.
I can easily write a script for this. Are all IP's going to be saved in one file? Does MySQL DB are accepting connections from remote hosts or script need to ssh inside of the machine first? Is mailing program installe Plus
Amazon Web Services: EC2, Load Balancers, RDS, Elastic Beanstalk, Elastic File System, IAM, VPC, Security Groups, Cloud Formation, Lambda, S3, CLoudFront, Redshift, Route 53, Cloud Watch, Kinesis, SNS, SQS, API Gateway Plus
I can write this in shell and give you a demo of this this on team-viewer . I have done similar kind of projects in past. Thank you, Rajiv kumar