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...
WebDNA ModulesA list of the currently available modules...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
Download WebDNA ApplicationsWebDNA applications...
Tips and TricksA list of user-submitted tips ...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
This small script finds the number of working days between two dates...
Find duplicate recordsFind duplicate records and do something with them...
Calculating Standard Deviation...
Hideif on IP rangeThis will show or hide stuff according to the IP...
File upload example...
Redefining [date] & [time] to match your time zoneYour server is not always in the same time zone as your web site...