How to make a backup of your databases
numero = 54[listfiles path=databases/][showif [isfile]=T][COPYFILE from=databases/[filename]&to=db_daily_archives/[listwords words=[filename]&delimiters=.][showif [index]=1][word]_[date %A_%p][/showif][showif [index]=2].[word][/showif][/listwords]][/showif][/listfiles]Write a trigger to run the script 2 times a day and change the path to your DB directory. This copies all .db & .hdr files to an archive folder with the day and AM or PM. You will get a morning and evening backup of each file in your DB folder. Each week the script overwrites the files with the new ones.Example.db would be saves as:Example_Monday_AM.dbExample_Monday_PM.dbExample_Tuesday_AM.dbetc.
[listfiles path=databases/]
[showif [isfile]=T]
[COPYFILE from=databases/[filename]&to=db_daily_archives/[listwords words=[filename]&delimiters=.]
[showif [index]=1][word]_[date %A_%p][/showif]
[showif [index]=2].[word][/showif]
[/listwords]]
[/showif]
[/listfiles]
DOWNLOAD WEBDNA NOW!
A compilation of some user's questions...
Tips and TricksA list of user-submitted tips ...
Download WebDNA ApplicationsWebDNA applications...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA ModulesA list of the currently available modules...
WebDNA LibrariesA list of available libraries for WebDNA...
The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...
Setting a 30-minute CookieConfiguring the expires time for a short-term cookie is tricky...
WebDNA interaction with zipI have a project where I'm allowing several people to upload images...
Do you hate updating the copyright notice at the bottom of all your pages?It's January 1st and you have to update the copyright notice at the bottom of all your websites...
How to setup CODA to work with WebDNA?This page will show graphically how to setup CODA as a WebDNA partner :-)...
Write Once Use ManyReuse the same code over and over again on your site with the [include] context...