FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: stepage on April 08, 2006, 10:35:50 PM

Title: Automatic backup
Post by: stepage on April 08, 2006, 10:35:50 PM
Hi

I wanted to semi-auotmate the backup of my database, ie first of a month, but the only ways I can find ivolve using system(), exec() or passthru() functions which are not allowed. Is there any other way to be able to script the backup?
Title: Re: Automatic backup
Post by: webzone (archived) on April 08, 2006, 11:53:34 PM
Why do you want to make a script on the server to do backups?

The best way is to make a script (a batch file on Windows, or an AppleScript on a Mac) on your own computer to copy all files from the server using FTP. Also, there are probably applications to do the same thing.
Title: Re: Automatic backup
Post by: x on April 09, 2006, 01:14:03 AM
you could make a script so that when you access it with the password, it chucks all of the files you want and a dumped database into a zip file and sends you that which you can save on your harddrive somewhere. that would be quite easy to do.