Any way to program a system which automatically restores home / sql database
- by Mirage
I have made two shell scripts
Script 1: It does all Home directory backups with name
username_home_date.tar.gz
Script 2: It does SQL backups of all sites every 3 hrs.
username_databse_date.sql.gz
Now currently if I want to restore the site, I have to copy the tar file to
/home/username
and then untar there with all the permissions as well and then manually import the database.
Is there any way (for instance a program, system or script) that I can just select which backup I want to restore and do automatically?
Maybe like a cPanel addon thing.