Professional Web Applications Themes

Backup - ASP Database

Hello, I want to take such a backup of my sprk box...that if the os crash down.....I may be able to restore the whole os along with all software installed on my box with one command. Is there any good idea. Atif...

  1. #1

    Default backup

    Hello,

    I want to take such a backup of my sprk box...that if the os crash
    down.....I may be able to restore the whole os along with all software
    installed on my box with one command.

    Is there any good idea.

    Atif
    Atif Munir Guest

  2. #2

    Default Backup

    When logged on as an administrator, when I try to backup
    my hard drive [c:] using my cd writer [d:]I get the
    following message.

    The backup file name could not be used
    D:\backup.bkf
    Please ensure it is a valid path and that you have
    sufficient access.

    any help would be welcome
    George Thomson Guest

  3. #3

    Default Re: Backup

    If you are referring to ntbackup, that program cannot backup directly to CD.
    You must backup to your hard drive and then use your CD burning software of
    choice to transfer the backup to CD.

    Mike Mulligan

    "George Thomson" <gthomsonglobalnet.co.uk> wrote in message
    news:035501c343d3$edef9dd0$a001280aphx.gbl...
    > When logged on as an administrator, when I try to backup
    > my hard drive [c:] using my cd writer [d:]I get the
    > following message.
    >
    > The backup file name could not be used
    > D:\backup.bkf
    > Please ensure it is a valid path and that you have
    > sufficient access.
    >
    > any help would be welcome

    Mike Mulligan Guest

  4. #4

    Default Re: Backup

    "Maz Ten" <mazlittlePond.com> wrote:
    >I would like to create a button which when pressed will backup my entire
    >database onto memory stick or CD RW or similar.
    >Can this be done and if so what is the code I need to do this
    Maz,

    depends on the Access version. AFAIK A2000 (and probably higher
    versions too) won't let you to copy an open DB. You would need a
    separate app.

    As for how to get a file programmatically on the memory stick or
    CD-RW, depends on the CDR software. I have Nero which has a command
    line module, and if you're using some UDF packet writing software for
    CDRWs like InCD then you can simply use a batch file with xcopy.

    But I'd like to ask you: don't you make regular backups including
    _all_ your doents, DBs, etc.?

    Best regards
    Emilia

    Emilia Maxim
    PC-SoftwareService, Stuttgart
    [url]http://www.maxim-software-service.de[/url]
    Emilia Maxim Guest

  5. #5

    Default Backup

    Hi all

    I am looking to automatically back up a Access 2002 database, hosted on a
    remote server, with some asp code on a daily basis.

    Can anyone point me in the right direction

    TIA

    Clive


    Clive Moss Guest

  6. #6

    Default Re: Backup

    "Clive Moss" <cliveREMOVEinstant-image.co.uk> wrote in message
    news:VK5Gb.4944$Jl4.43634842news-text.cableinet.net...
    > Hi all
    >
    > I am looking to automatically back up a Access 2002 database, hosted on a
    > remote server, with some asp code on a daily basis.
    >
    > Can anyone point me in the right direction
    >
    > TIA
    >
    > Clive

    Here's some code I posted in response to another post that is similar to
    what you want.

    However, a more practical approach would be to convert it to ASP, remove
    "WScript.Sleep", and have the Windows Task Scheduler call it every day. If
    a timestamp is not needed the delete all lines with "NOW" in them.

    '*
    '* Downloads file "cFIL" from "cURL" into "cOUT" every "cSEC" seconds.
    '* (To abort: press Ctrl+Alt+Del, select "WScript", then "End Task".)
    '* (If Timestamp isn't needed then delete all lines containing "NOW".)
    '*
    Option Explicit
    '*
    '* Declare Constants
    '*
    Const cVBS = "download.vbs"
    Const cFIL = "logo.gif"
    Const cOUT = "C:\temp\"
    Const cURL = "http://www.google.com/images/"
    Const cSEC = 86400 '= seconds between downloads
    '*
    '* Declare Variables
    '*
    Dim strMSG
    Dim arrNOW(6)
    Dim intNOW
    Dim strNOW
    ' strNOW = "ccyymmhhnnss_"
    Dim intOUT
    intOUT = 0
    Dim strOUT
    Dim strURL
    '*
    '* Fetch File
    '*
    MsgBox "Download started!",vbInformation,cVBS
    Do
    '*
    '* Timestamp
    '*
    arrNOW(0) = Now()
    arrNOW(1) = DatePart("yyyy",arrNOW(0))
    arrNOW(2) = DatePart("m",arrNOW(0))
    arrNOW(3) = DatePart("d",arrNOW(0))
    arrNOW(4) = DatePart("h",arrNOW(0))
    arrNOW(5) = DatePart("n",arrNOW(0))
    arrNOW(6) = DatePart("s",arrNOW(0))
    strNOW = ""
    For intNOW = 1 To UBound(arrNOW)
    If (arrNOW(intNOW) < 10) Then
    arrNOW(intNOW) = "0" & arrNOW(intNOW)
    End If
    strNOW = strNOW & arrNOW(intNOW)
    Next
    strNOW = strNOW & "_"
    '*
    '* Download
    '*
    strURL = cURL & cFIL
    intOUT = intOUT + 1
    'strOUT = cOUT & cFIL ' uncomment if Timestamp not needed
    strOUT = cOUT & strNOW & cFIL
    strMSG = "#" & intOUT & vbCrLf & strURL & vbCrLf & strOUT
    MsgBox strMSG,vbInformation,cVBS
    Call fetch(strURL,strOUT)
    '*
    '* Sleep
    '*
    WScript.Sleep(1000*cSEC)
    Loop

    Function fetch(url,out)
    'On Error Resume Next
    Err.Clear
    Dim b
    With CreateObject("Microsoft.XMLHTTP")
    .Open "GET",url,False
    .Send
    b = .ResponseBody
    If Err.Number <> 0 Or .Status <> 200 Then
    fetch = False
    Exit Function
    End If
    End With
    With CreateObject("ADODB.Stream")
    .Type = 1
    .Open
    .Write b
    .SaveToFile out,2
    End With
    fetch = Err.Number = 0
    End Function


    McKirahan Guest

  7. #7

    Default Re: Backup

    > Here's some code I posted in response to another post that is similar to
    > what you want.
    >
    > However, a more practical approach would be to convert it to ASP, remove
    > "WScript.Sleep", and have the Windows Task Scheduler call it every day.
    If
    > a timestamp is not needed the delete all lines with "NOW" in them.
    >
    <snip>

    Thanks - I'll work on it after the holidays

    Clive


    Clive Moss Guest

  8. #8

    Default backup

    Help! I need to get the windows server 2003 backup
    program that came with the OS, back on my server. The
    Icon was deleted and now the entire program is gone. Can
    any one help? I have tried to go into control panel ,
    add remove programs, windows componets but it isnt listed
    there! Thanks Tiffany
    TiffanX Guest

  9. #9

    Default Re: backup

    You can try and start it by going to Start -> Run -> here type in
    ntbackup.exe and click OK.

    I hope this helps,

    Mike

    "TiffanX" <tiffany.kennedyintermaxcomputer.com> wrote in message
    news:1e39d01c45532$fd01b5d0$a101280aphx.gbl...
    > Help! I need to get the windows server 2003 backup
    > program that came with the OS, back on my server. The
    > Icon was deleted and now the entire program is gone. Can
    > any one help? I have tried to go into control panel ,
    > add remove programs, windows componets but it isnt listed
    > there! Thanks Tiffany

    Miha Pihler Guest

Similar Threads

  1. NT Backup
    By Hooligan in forum Windows Server
    Replies: 1
    Last Post: July 2nd, 09:15 AM
  2. regarding backup
    By vaishu_girl81 in forum Linux / Unix Administration
    Replies: 2
    Last Post: September 10th, 07:58 PM
  3. Db2 hot backup
    By Stefano in forum IBM DB2
    Replies: 3
    Last Post: July 17th, 04:50 PM
  4. Db2 Backup...
    By Arijit Chatterjee in forum IBM DB2
    Replies: 2
    Last Post: July 17th, 04:15 PM
  5. loop - begin backup, end backup Oracle 8.1.7
    By Matthias Arth in forum Oracle Server
    Replies: 1
    Last Post: December 27th, 08:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139