Re: Looking for easy way to back up dbs...
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51282
interpreted = N
texte = Hi Howard,I have a fairly simple script that identifies .db's in the same directory asthe template and lets you write an insecure file to a "db_s"directory. I have on several occassions entertained the ideaof making the template stationary and having it identify allthe .db's within any given directory. Then it could writethem to a specified directory. I don't think this function wouldbe too difficult to ammend to my utility. If you did thisI would be glad to see a copy. ;-)I believe it is still up at Brian's site:webdnadev.netSomething like.. have a form which requests the top level directoryand the directory to which you want to write all the backups.use some sort of nesting listfiles code that identifies the directories andthe .dbs. (when it finds a .db it writes it [see transform code] to thegiven backup directory.)DonovanHoward Wolosky wrote:> Hey gang,>> I'm trying to make a backup of a bunch of different WebDNA enabled websites> on a server (webcat 3.x) that I don't have admin access to (to webdna), but> do have full write access to (i.e., I can upload a template that issues a> [closedatabase] context)>> The thing is, that I have a number of sites that have databases in a number> of different directories.>> I don't remember the name of all of them, nor the location of all of them,> and would have to dig through the source code to find all of the references.>> The databases don't show up in my FTP client, so I'm looking for a simple> script that identifies the databases, closes them, and copies them to a> separate location.>> Has anyone done something like this in the past? Anyone want to share the> code before i start pounding away at the keyboard?>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi Howard,I have a fairly simple script that identifies .db's in the same directory asthe template and lets you write an insecure file to a "db_s"directory. I have on several occassions entertained the ideaof making the template stationary and having it identify allthe .db's within any given directory. Then it could writethem to a specified directory. I don't think this function wouldbe too difficult to ammend to my utility. If you did thisI would be glad to see a copy. ;-)I believe it is still up at Brian's site:webdnadev.netSomething like.. have a form which requests the top level directoryand the directory to which you want to write all the backups.use some sort of nesting listfiles code that identifies the directories andthe .dbs. (when it finds a .db it writes it [see transform code] to thegiven backup directory.)DonovanHoward Wolosky wrote:> Hey gang,>> I'm trying to make a backup of a bunch of different WebDNA enabled websites> on a server (webcat 3.x) that I don't have admin access to (to webdna), but> do have full write access to (i.e., I can upload a template that issues a> [closedatabase] context)>> The thing is, that I have a number of sites that have databases in a number> of different directories.>> I don't remember the name of all of them, nor the location of all of them,> and would have to dig through the source code to find all of the references.>> The databases don't show up in my FTP client, so I'm looking for a simple> script that identifies the databases, closes them, and copies them to a> separate location.>> Has anyone done something like this in the past? Anyone want to share the> code before i start pounding away at the keyboard?>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Donovan home EHG
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat/CyberStudio Compatibility (1998)
Dummy Credit Card Number for debug? (1997)
So many lookers, hey smith micro (2003)
Modifying Carts (1999)
too many nested [xxx] (1997)
system crashes, event log (1997)
ImageMap (1997)
Major bug report on rootbeer (1997)
Separate SSL Server (1997)
Claris HomePage messes up the code (1997)
Generating unique SKU from [cart] - Still Stumped... (1997)
Appending with +1 ... (1997)
[OT] DOD again (2003)
Sku numbers (1997)
New Plug-in and Type 11 errors (1997)
Great product and great job ! (1997)
exclamation mark... (1999)
[SearchString] usage (1997)
Showif for mulitple variations (1997)
wc 2 pro users - sites, quotes wanted (1997)