Any way to program a system which automatically restores home / sql database
Posted
by Mirage
on Server Fault
See other posts from Server Fault
or by Mirage
Published on 2010-03-09T02:26:03Z
Indexed on
2010/03/09
2:38 UTC
Read the original article
Hit count: 284
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.
© Server Fault or respective owner