Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Starting encrypted DD from the command line

3 posts in General Discussion Last posting was on 2009-02-12 16:26:55.0Z
gchq Posted on 2009-02-12 04:21:05.0Z
Sender: 6d9f.49939e72.846930886@sybase.com
From: gchq
Newsgroups: ianywhere.public.general
Subject: Starting encrypted DD from the command line
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4993a3b1.6df1.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 11 Feb 2009 20:21:05 -0800
X-Trace: forums-1-dub 1234412465 10.22.241.41 (11 Feb 2009 20:21:05 -0800)
X-Original-Trace: 11 Feb 2009 20:21:05 -0800, 10.22.241.41
Lines: 11
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7356
Article PK: 5771

Hi there

Just moved from v8 to v11 - and would like to just write a
.bat file to start the server and all the db's - but I'm
having an issue with the syntax for the encypted db's! How
do I insert the key? Here is an example:-

dbsrv11 = -n Severname C:\db\db1.db C:\db\db2.db
C:\db\EncyptedDB.db

Thanks in advance


Stephen Rice [Sybase] Posted on 2009-02-12 13:56:39.0Z
From: "Stephen Rice [Sybase]" <stevedotriceatsybasedotcom>
Newsgroups: ianywhere.public.general
References: <4993a3b1.6df1.1681692777@sybase.com>
Subject: Re: Starting encrypted DD from the command line
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49942a97@forums-1-dub>
Date: 12 Feb 2009 05:56:39 -0800
X-Trace: forums-1-dub 1234446999 10.22.241.152 (12 Feb 2009 05:56:39 -0800)
X-Original-Trace: 12 Feb 2009 05:56:39 -0800, vip152.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:7358
Article PK: 5773

From the docs:
http://dcx.sybase.com/index.php#http%3A//dcx.sybase.com/1100en/dbadmin_en11/ek-database-engine.html

dbsrv11 -n Severname C:\db\db1.db C:\db\db2.db C:\db\EncyptedDB.db -ek "key"

The -ek switch is a database switch so it follows the database file it
applies to.
--
/steve
Stephen Rice, Sybase iAnywhere
Please reply only to the newsgroup

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Docs : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swd/base.do
-> Choose SQL Anywhere Studio
-> Set filter to "Display ALL platforms IN ALL MONTHS"

<gchq> wrote in message news:4993a3b1.6df1.1681692777@sybase.com...
> Hi there
>
> Just moved from v8 to v11 - and would like to just write a
> bat file to start the server and all the db's - but I'm
> having an issue with the syntax for the encypted db's! How
> do I insert the key? Here is an example:-
>
> dbsrv11 = -n Severname C:\db\db1.db C:\db\db2.db
> C:\db\EncyptedDB.db
>
> Thanks in advance