Re: SQL and VBS

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Backwards wrote:
Dont know if this is the right group for this but i'll ask anyway.

What u want to achive is a very simple backup solution which copies
our daily SQL2000 database files to a network share.

This works? Are you copying the database files (.mdf, .ldf)? If so, this
should not work. The files should be in use and attempts to copy them should
raise an error. Even if you are allowed to copy them, the copies should not
be usable. You would need to detach them from the database server before
copying to make them usable.

If you are copying the backup files (.bak, .trn) then that's another story.


This script runs on the server and just does a basic file copy.
The problem i have is we have 72 servers we want to roll this out to
but i have to change the network path for each one.

is there anyway to replace the added code to get the client computers
(where the backup files copy to) This setting is held in a table on
the SQL server.

Can i do a select statment to pick this value with the code below?

Why not? Are you familiar with ADO? are you familiar with creating a SELECT
statement? Where do we start? If we have to show you how to construct the
SELECT statement, then we need more details, such as the name of the
database, the name of the table, the name of the column that needs to be
queried, the name of the sql server.


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


.



Relevant Pages

  • RE: HTTP 404 errors
    ... NIC (network Interface Card) in our configuration. ... "Company Web Page" or to list the backup results in the "Server ... Backup program is functioninng properly, but the part that lists the results ... Server Management -Backup - Monitoring and Reporting ...
    (microsoft.public.windows.server.sbs)
  • Thanks to All Or How I saved my AD
    ... and do rebuild of Windows 2000 Server and Service Packs. ... Explorer 5.5, Backup Exec, Diskkeeper and McAfee. ... But Exchange was unable to Mount ... receiving complaints from all over the network about all kinds of problems. ...
    (microsoft.public.win2000.active_directory)
  • Thanks to All Or How I saved my AD
    ... and do rebuild of Windows 2000 Server and Service Packs. ... Explorer 5.5, Backup Exec, Diskkeeper and McAfee. ... But Exchange was unable to Mount ... receiving complaints from all over the network about all kinds of problems. ...
    (microsoft.public.exchange2000.active.directory.integration)
  • Re: DR procedure per smallbizserver.net
    ... the server logon screen has now appeared and I can ... I suspect thus that the system still thinks there is another network ... before we did we tried to do a restore from our backups ... >> because of our method of backup we were completely ill prepared for a DR ...
    (microsoft.public.windows.server.sbs)
  • exam questions
    ... All network servers run windows ... choose a terminal server from a list. ... on each branch office server while you are working at the main office. ... MAil a physical copy of the backup to the branch office. ...
    (microsoft.public.cert.exam.mcsa)