ADSM-L

[ADSM-L] SQL-backup with no config file

2014-06-02 07:52:00
Subject: [ADSM-L] SQL-backup with no config file
From: Hans Christian Riksheim <bullhcr AT GMAIL DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 2 Jun 2014 13:50:08 +0200
I noticed that if someone(usually a DBA) accidentally renames or deletes a
tdpsql_XXXX.cfg file the command still runs and just uses the default
config. it will return with no errors.

Example:

Someone has deleted a configfile which points to a specific instance.

tdpsqlc backup * full /configfile=tdpsql_INSTANCE.cfg will backup the
default server instance if the config file is missing with rc=0.

Would it be possible to have the command end in error if /configfile points
to a non existent config file?

Regards

Hans Chr.

<Prev in Thread] Current Thread [Next in Thread>