I need to set up a job to create backup everyday. I also need to overwrite an existing backup.
Can somebody please help me with it.
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have a look at
mysqldump.will dump the a db / table and overwrite backupfile.sql if it exists.
Use
rsyncorscpto copy it to another host if needed.