Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > dbbackup and at command in winnt

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-21-04, 08:28
davide66 davide66 is offline
Registered User
 
Join Date: Jun 2004
Posts: 1
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
Reply With Quote
  #2 (permalink)  
Old 06-21-04, 22:39
bmalar bmalar is offline
Registered User
 
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.
Reply With Quote
  #3 (permalink)  
Old 06-22-04, 23:19
willy_and_the_ci willy_and_the_ci is offline
Registered User
 
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On