1.Create a script file (mysqlbackup.sh)that when executed will conduct a mysql backup
1.Save the script file in Ubuntu’s Home Directory
2.Database name mysql
3.backup_mysql.sql (name of mysql backup)
2.Schedule a job that will run at 11:00pm every Sunday and execute the mysql backup
3.Schedule a job that will run Monthly and execute the following commands:
1.apt-get update –y
2.service apache2 restart
4.At 7:45pm schedule a job to run that will conduct the following:
1.Create a new directory called ‘Backup’ in azureuser’s home directory
2.Move the mysql backup script file inside the ‘Backup’ folder
5.Verify that all jobs will run correctly
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here