Quantcast
Channel: SCN : All Content - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6745

Recover a db using SQL

$
0
0

Hi,

 

I'm trying to implement some administration tools (query, backup, recovery) inside a c# application.

So far, I've been able to do queries and backups but I'm currently having an issue with the recovery.

 

As you probably know, you cannot launch a recovery while the db is online, so I tried shutting it down but then I obviously cannot connect to the db and perform an sql statement.

The problem is, as pointed out in the admin guide, you need to be the <sid>adm user in order to perform this query but this user is not a db user, but an OS user, so you cannot connect to the db as <sid>adm.

 

So, if you have any idea how to proceed, I would be really thankful.

 

Best regards,

Benjamin.


Viewing all articles
Browse latest Browse all 6745

Trending Articles