
March 21st, 2008, 12:24 PM
|
|
|
|
Using ASP to backup a site .MDB file
Greetings again, everyone.
I've gone through the site I've been charged with and consolidated all the .MDB files into one master file. This is nice for me because I no longer have to keep track of multiple MDBs, but I can simply add new tables as needed.
Problem is, this now provides a single point of failure that would be devastating to the site. So, what I would like to do is have a script that would create backup copies of the file.
I'm sure I can make something quick and dirty with the copyfile method, but I was hoping someone knew of some way I could, say, append the date to the file name or have it create 10 backups and delete the oldest when a new one is made.
I've tried searching for ASP methods of file archiving, but nothing like what I'm suggesting. Or would I just be better off with an automatic backup software on the server?
|