Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2004
    Posts
    1

    Unanswered: dbbackup and at command in winnt

    Can i use the at command to schedule the dbbackup?
    the string in the cmd file work if i launch file manually but do not work in at command the cmd file containg this string
    dbbackup.exe -y -c "DSN=;UID=sissi;PWD=sissi" \\bdc_ipsia\backupsissi\
    thanks

  2. #2
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    110
    I don't know if this will help or not. By try a batch file which has an isql call in it.. eg:

    isql -SServerName -Uuser -Ppass -iC:\inputfilename.sql -oC:\logoutput.txt

    Then for your inputfilename.sql, just have your dump database TSQL.. eg:

    dump database pubs2
    to "whatever_device"
    stripe on "whatever_device_2"


    Hope this helps.

  3. #3
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    Quote Originally Posted by davide66
    dbbackup.exe -y -c "DSN=;UID=sissi;PWD=sissi" \\bdc_ipsia\backupsissi\
    thanks

    Works for me,

    E:\SQL Anywhere 9\win32>at
    Status ID Day Time Command Line
    -------------------------------------------------------------------
    1 Today 12:16 PM E:\backup.bat

    the bat file contains the dbbackup syntax.

Posting Permissions

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