04. november 2004 - 11:40Der er
3 kommentarer og 1 løsning
backup (copy) db på server
hejsa jeg har en database på min server, og vil gerne have lavet en backup af denne i et andet bibliotek på servere.
jeg havde tænkt mig at bruge dette script:
<% dim fs set fs=Server.CreateObject("Scripting.FileSystemObject") fs.CopyFile "X:\domæne.dk\data\database.mdb","X:\domæne.dk\data\backup" set fs=nothing %>
Specifies the relative or virtual path to map to a physical directory. If Path starts with either a forward (/) or backward slash (\), the MapPath method returns a path as if Path is a full virtual path. If Path doesn't start with a slash, the MapPath method returns a path relative to the directory of the .asp file being processed.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.