** UPDATE ** Last version of scripts had typo in removal of old files.
Hello,
For those of you that use the VCSA, backup can be a manual process. VMware official KB:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2034505
Attached is a script that will basically:
- Create a custom log and error file
- Ensure an existing process is not currently running or terminate if running for too long
- Remove backups older than X days
- Create a database dump and Gzip it
- Verify the file is not empty
If you have any improvements on this script, please post here to share with everyone.
Thanks