The forum will be down for maintenance over the weekend of August 18-20, 2017. The forum will be shut down on the evening (EDT) of Friday, August 18. Downtime is unknown but may be up to two days. The forum will be restarted as soon as maintenance is complete.

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: 21%

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: 21%

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: 367 times

last updated: 07 Jan '16, 15:31