cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to do a live backup

Former Member
3,460

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 Kudos

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

Breck_Carter
Participant
0 Kudos

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

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

Works for me in V10.

0 Kudos

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"