Hi there i'd like to create a backup system of my webserver.
My webserver is on CentOs 6.7 64bit using ngx_pagespeed, php-fpm, mysql and memcached.
What i want to do if its possible is to create a script that will store on an external server (dropbox or other?) the following things.
1)nginx,php,mysql configs
2)Database
3)Html files
This will be the 1st step (backup script)
And the 2nd Step to will be the Restore Script.
This script will be placed on a clean setup and install services, apply settings, database and html files.
I want a complete solution and to have it for future usage if there is something better that i could use please tell me about it.