Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

The v16 docs give a sample command line of:

dbbackup -l path-on-secondary-computer\filename.log -c "connection-string"

but when I try this format I get a usage error. I find that I have to put the folder for the live log file at the end of the command line:

dbbackup -l path-on-secondary-computer\filename.log -c "connection-string" path-on-secondary-computer

Oddly, if I do something like this

dbbackup -l c:\temp\MyLogFile.log  -c "ENG=SA16;DBN=v16test;UID=DBA;PWD=****" c:\nottemp

it works fine despite the contradictory paths - putting the file MyLogFile.log in the folder c:\nottemp


asked 07 Jan '16, 12:13

Justin%20Willey's gravatar image

Justin Willey
accept rate: 20%

edited 07 Jan '16, 12:13

The docs specify

   dbbackup -l filename ... target-directory

so it appears to be ignoring your first directory

   dbbackup -l ignore-this-directory\filename ... target-directory

This wouldn't be the first time SQL Anywhere has ignored extra "noise" :)

permanent link

answered 07 Jan '16, 12:55

Breck%20Carter's gravatar image

Breck Carter
accept rate: 20%

Thanks Breck, I should have been clearer :) My (minor) moan is that the docs are inconsistent:


dbbackup -l filename ... target-directory



dbbackup -l path-on-secondary-computer\filename.log -c "connection-string"
(07 Jan '16, 13:04) Justin Willey
Replies hidden

Many of the examples have never been tested, alas.

(07 Jan '16, 15:31) Breck Carter

@Graham... the second answer appeared when I edited the first one.

permanent link

answered 07 Jan '16, 12:56

Breck%20Carter's gravatar image

Breck Carter
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 07 Jan '16, 12:13

question was seen: 1,967 times

last updated: 07 Jan '16, 15:31