|
From: Dannes W. <da...@ex...> - 2021-08-09 18:42:08
|
Hi Ian,
the restore option provides the option to pass 2 different passwords:
./bin/backup.sh —help
-p, --password <string> set the password for connecting to
the database.
<string>: any string
Default:
-P, --dba-password <string> if the backup specifies a different
password for the admin user, use this option
to specify the new password. Otherwise
you will get a permission denied
<string>: any string
Default:
So I think you need to specify a password using -p and -P
regards
Dannes
--
eXist-db Native XML Database
http://www.exist-db.org
> On 28 Jul 2021, at 19:10 , Ian Davey <ia...@xc...> wrote:
>
> Hello,
>
> We were trying to migrate an eXist database to a new machine by backing up the relevant collections from the old one (using the Java admin client) and restoring them into the new one. This has always run seamlessly when both the source and target databases have the same admin password, but when trying to restore into a database with a different admin password, it appeared to succeed, but now for some reason we are unable to log in as admin anymore. Neither the source nor target password work.
>
> We are running 5.3.0 on the target and 4.7.1 on the source.
>
> Thanks,
>
>
> --
> Ian Davey
> Senior Engineer
> Xcential Corporation
> _______________________________________________
> Exist-open mailing list
> Exi...@li...
> https://lists.sourceforge.net/lists/listinfo/exist-open
|