LCHwebHost
04-26-2003, 07:47 PM
Hi,
Does anyone know of a script or how I could backup my databases and site daily (I only need to backup a single site not the whole server)? I would like some kind of script that backups up my site daily and keeps say the backups for a month then after 1 month it automaticly deletes them. Anyone know how I can do this?
AcuNett
04-26-2003, 08:35 PM
Just tar the site and do a mysqldump of the database, put it in a shell script.
LCHwebHost
04-29-2003, 10:30 PM
Hi,
How would I do that and have it automaticly delete backups that are older than a certain date? Any ideas?
apollo
04-30-2003, 01:32 PM
are u familiar with unix/linux shell ?
h057g33k
05-01-2003, 01:24 AM
Plesk already has some scripts for this purpose and documentation on how to do a backup and restore. Go to https://www.plesk.com/registration/register.php and register on the Plesk site. Then, go to http://www.plesk.com/Downloads/utilities.php and download the scripts and documentation.
Backup and restore at will !
Cheers.
Dylan
05-01-2003, 01:36 AM
Originally posted by h057g33k
Plesk already has some scripts for this purpose and documentation on how to do a backup and restore. Go to https://www.plesk.com/registration/register.php and register on the Plesk site. Then, go to http://www.plesk.com/Downloads/utilities.php and download the scripts and documentation.
Backup and restore at will !
Cheers.
Yep, and then throw the commands into a cronjob and vola :D
As for automatically deleting them, ask someone in the programming forum to code you a script; which you can also then throw into a cronjob.