cancel
Showing results for 
Search instead for 
Did you mean: 

MaxDB - Error in Backup

Former Member
0 Kudos

Hi experts,

I tried to make a backup using dbmcli but I have the following error: -24991,ERR_NODBSESSION: no databse session available

Can you help me?

thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

lbreddemann
Active Contributor
0 Kudos

> I tried to make a backup using dbmcli but I have the following error: -24991,ERR_NODBSESSION: no databse session available

>

> Can you help me?

Sure, but it would be better if you'd help yourself ...

Did you check the documentation?

Why don't you just use the GUI tools instead of fiddling around with the dbmcli?

regards,

Lars

Former Member
0 Kudos

Yes I've checked the documentation.

I have excecuting backup_start. But I have the preciously error :S

Edited by: Jeronimo Arijo on Nov 12, 2009 4:10 PM

lbreddemann
Active Contributor
0 Kudos

> Yes I've checked the documentation.

No, you haven't - at least not properly: backup_start|http://maxdb.sap.com/doc/7_7/39/e89fe68c0f46ad888b055a9f11cb23/content.htm]:

You would have found this instead:

Prerequisites

- You have the server authorization Backup.

- You have opened a database session (see: db_create *dbconnect*_ ).

- If you want to perform an interactive log backup, you must have performed a data backup for the relevant database at least once.

....

You need to have a database session to run backup_start !

Therefore: use db_connect before you use backup_start.

Also have a look at the WIKI: [HowTo - SAP MaxDB backup with Database Manager CLI|http://wiki.sdn.sap.com/wiki/display/MaxDB/HowTo-SAPMaxDBbackupwithDatabaseManagerCLI]

> I have excecuting backup_start. But I have the preciously error :S

regards,

Lars

Former Member
0 Kudos

I have solved my problem with the following command:

dbmcli -uUTL -u dbuser,password -d DatabaseName backup_start mediumname

Thanks