cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to do a live backup

04-27-2012 4:15 PM
4440 views 7 comments
SAP Managed Tags
Subscribe

I've been trying to set up and test to see how this live backup thing works and have been having trouble getting to backup utility to run to monitor the log.

I type the following in a command window:

dbbackup -l c:\\backup\\blog.log -c "uid=dba;pwd=mypswd;eng=mydb;dbn=mydb;links=tcpip"

And all that happens is I get back the usage message. I am able to get a regular full backup to run.

Accepted Solutions (0)

Answers (3)

Answers (3)

t1950
Participant
0 Likes

Instead of the command line, you can set up events in Sybase Central with a schedule.

Breck_Carter
Participant
0 Likes

The BACKUP statement cannot be used to start a live backup, only dbbackup can do that.

0 Likes
dbbackup -c "uid=dba;pwd=mypswd;eng=mydb;dbn=mydb;links=tcpip" -l c:\\backup\\blog.log c:\\backup

Works for me in V10.

Former Member
0 Likes

I am using SA 12 so it may not be exactly your case but can you try using the full path for dbbackup and the -y redirection?

For instance:

"C:\\Program Files\\SQL Anywhere 12\\bin32\\dbbackup" -c "UID=xxx;PWD=yyyy;DBN=mydbn;ENG=myeng;LINKS=tcpip;" -y "R:\\APPS\\DATABASE"