dbTalk Databases Forums  

dbbackup and the -n Option Versus the -r -n Options

comp.databases.sybase comp.databases.sybase


Discuss dbbackup and the -n Option Versus the -r -n Options in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Don Stallone
 
Posts: n/a

Default dbbackup and the -n Option Versus the -r -n Options - 07-08-2003 , 12:04 PM






What's the difference between using the -n and the -r -n options?

When I use the following ASA 8 command at the command prompt

dbbackup.exe -c dsn=ABC;uid=MyID;pwd=MyPassword; -r BackupTest

the database backup (ABC.db; 11,108KB) and the
transaction log backup (named 030708aa.log; 192KB) are put in
C:\MyDocuments\ABC_db8. Not too surprising since dsn ABC
says the database is in C:\MyDocuments\ABC_db8. Actually I
thought it was supposed to it in C:\MyDocuments\ABC_db8\BackupTest,
but we'll come back to that in a moment.

The next time it's executed it puts the database backup
(ABC.db; 11,108KB) and the transaction log backup (named
030708ab.log; 192KB) in C:\MyDocuments\ABC_db8.

When I add the -n option thusly

dbbackup.exe -c dsn=ABC;uid=MyID;pwd=MyPassword; -n -r BackupTest

the same results happen. Is there supposed to be a different result or am
I misunderstanding the documentation?

TIA,
Confounded



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.