Hi I am running Centos 6.4 and would appreciate any pointers with regards to the following.
I have set up a cron job to run a script file every day. The script is as follows: mysqldump -u root -ptest123 conversis >> /root/backup.txt
Basically all I am trying to achieve is for a backup to be created daily but I do not want it to over write the previous days back up. In an ideal situation the following would happen:
backup1.txt
backup2.txt
.
.
backup30.txt
and then it would start the cycle again and over write backup1.txt once it reached backup30.txt.
Any ideas or pointers appreciated.
Thank you,
I have set up a cron job to run a script file every day. The script is as follows: mysqldump -u root -ptest123 conversis >> /root/backup.txt
Basically all I am trying to achieve is for a backup to be created daily but I do not want it to over write the previous days back up. In an ideal situation the following would happen:
backup1.txt
backup2.txt
.
.
backup30.txt
and then it would start the cycle again and over write backup1.txt once it reached backup30.txt.
Any ideas or pointers appreciated.
Thank you,