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 as the template and lets you write an insecure file to a "db_s" directory. I have on several occassions entertained the idea of making the template stationary and having it identify all the .db's within any given directory. Then it could write them to a specified directory. I don't think this function would be too difficult to ammend to my utility. If you did this I would be glad to see a copy. ;-) I believe it is still up at Brian's site: webdnadev.net Something like.. have a form which requests the top level directory and the directory to which you want to write all the backups. use some sort of nesting listfiles code that identifies the directories and the .dbs. (when it finds a .db it writes it [see transform code] to the given backup directory.) Donovan Howard 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:

    
  1. Looking for easy way to back up dbs... ( "Ronny Mc" 2003)
  2. Re: Looking for easy way to back up dbs... ( Donovan home EHG 2003)
  3. Re: Looking for easy way to back up dbs... ( Donovan home EHG 2003)
  4. Re: Looking for easy way to back up dbs... ( Donovan home EHG 2003)
  5. Re: Looking for easy way to back up dbs... ( "Andrew Simpson" 2003)
  6. Looking for easy way to back up dbs... ( Howard Wolosky 2003)
Hi Howard, I have a fairly simple script that identifies .db's in the same directory as the template and lets you write an insecure file to a "db_s" directory. I have on several occassions entertained the idea of making the template stationary and having it identify all the .db's within any given directory. Then it could write them to a specified directory. I don't think this function would be too difficult to ammend to my utility. If you did this I would be glad to see a copy. ;-) I believe it is still up at Brian's site: webdnadev.net Something like.. have a form which requests the top level directory and the directory to which you want to write all the backups. use some sort of nesting listfiles code that identifies the directories and the .dbs. (when it finds a .db it writes it [see transform code] to the given backup directory.) Donovan Howard 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:

Custom Convertchars Database (2004) Search Command, multiple dbs, etc. --still confused (2000) Search Context: How to set Max=N? (2000) 2.0 Info (1997) removing commas from a preformatted number (2000) Cannot get subtotal to work (1997) WebDNA Codes in Secure Mode (1997) [WebDNA] Ubuntu 11.10 (2012) WebCat2b13MacPlugIn - more [date] problems (1997) Problems with Price field (1997) More questions about serial number dishing (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Orderfile context problem (1998) WebDNA-Talk Digest mode broken (1997) SPAM (OT) (2004) [WebDNA] WebDNA & MySQL (2014) NewCart+Search with one click ? (1997) Summing fields (1997) Document Contains No Data! (1997) Associative lookup style? (1997)