cancel
Showing results for 
Search instead for 
Did you mean: 

MAXDB Backup on windows share

0 Kudos

Dear Colleagues,

I'd like to backup MaxDb on windows share. According sap note 1377148, part 24, i need to change the user from local(MaxDB service) to user that has authorization whrite on share.

So, i perform dbmcli -u DBADMIN,SECRET -d MAXDB2 db_reg DB MAXDB2 USER domainid,password

But i got following issue:

-24799,ERR_CMDOPTION: Invalid option or invalid parameter "DB" for command "db_reg" -24947,ERR_DBNAME: do not specify a database, could you say, how to solve this issue and change

Accepted Solutions (1)

Accepted Solutions (1)

JamesZ
Advisor
Advisor
0 Kudos

Hi,

Yes, change in services.msc has no problem.

Also are you sure your dbname is maxdb2? You can verify the dbname via command:

dbmcli db_enum

Best regards,
James

Answers (2)

Answers (2)

0 Kudos

Hello, i made a typo,

To change the user for MAXDB services no necessary to use "DB MAXDB2" in the command.

What i get now:

dbmcli -u DBADMIN,SECRET -d MAXDB2 db_reg USER ID,PW ERR -24994,ERR_RTE: Runtime environment error 20100,The account name is invalid or does not exist:MAXDB: MAXDB2 (slow)

Are you sure that directly change the user in the services related to MAXDB is correct?

JamesZ
Advisor
Advisor
0 Kudos

Hi,

"db_reg DB MAXDB2 USER" there is space " " between DB and MAXDB2 users.

Also please make sure the user given is the OS user.

You can also change the service user via services.msc for all the maxdb related services.

Best regards,
James

0 Kudos

Thank you!