I have an online db hosted by Godaddy. How can i back it periodically using ASP code? Doing manually is unrealistic because may be i can forget. I would like to for instance write a code that says "do a backup once 50 new records have been entered into the db" or "count the number of times users have logged in, back up on the 50th occasion"
Thank you!
MICAH
Reply from Richard Rost:
How are you storing your database? Is it just an Access file you uploaded (like I show in my tutorials?) If so, just use FTP. That's what I do. Like once a week I use FTP and backup my databases (including this Forum).
If you want to get REAL careful, though, I guess you could do something like you want. Perhaps every time a record is added, you could have it email a copy of the data to a separate backup email address? Or you could use the techniques I cover in my Web Synch Seminar to have an event in a local Access database automatically pull down the data daily/weekly?
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Active Server Pages Forum.