We have a Ubuntu [url removed, login to view] server.
-On the server we have some websites in /var/www/xxx
-Mysql with some databases
-We have also a standard installation of Atlassian Jira and Confluence
I need to create a backup script that can take backup of the systems above.
The backup should be compressed to one file and be placed in a folder.
The file should be tagged with date and time.
The script should only keep the ten latest backup files.
On my personal computer I run OS X 10.8.2. I want a script that automatically connect to the server with SFTP and download the latest file to my local folder.
The script must keep the ten latest backup files.
You need to write the two script. The script must have good source code documentation so we can see how it works (and modify it if needed).
I also need a “how to guide” on how we can install both script and schedule them to automatically run every day.
I would be glad to meet your need. I have experience writing shell scripts for bash, and also in Perl, PHP, and Python. I create the two scripts necessary. More is in a private message.