on 2016 Jan 07 12:13 PM
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
v16.0.0.2018
Request clarification before answering.
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" 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Breck, I should have been clearer 🙂 My (minor) moan is that the docs are inconsistent:
http://dcx.sybase.com/index.html#sa160/en/dbadmin/dbbackup.html
says
dbbackup -l filename ... target-directory
but
http://dcx.sybase.com/index.html#sa160/en/dbadmin/da-backup-dbs-4978684.html
says
dbbackup -l path-on-secondary-computer\\filename.log -c "connection-string"
@Graham... the second answer appeared when I edited the first one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.