From: Michael W. <wes...@ja...> - 2025-07-20 05:25:46
|
Hi Tony, At this point, I do a full emergency backup and restore. >From the EXIST_HOME directory, run: bin/run.sh org.exist.backup.ExportMain -x -d path/to/backup/file The target filename is usually the date and what went wrong, like "2025-07-20-out-of-space." After making the backup, mv the EXIST_HOME/webapp/WEB-INF/data directory elsewhere, then start up eXist. Next, extract the emergency backup and cd to db and run: ${EXIST_HOME}/bin/backup.sh -r `pwd`/system/security/__contents__.xml -u admin -P "new_password" Then run: ${EXIST_HOME}/bin/backup.sh -r `pwd`/__contents__.xml -u admin -p "new_password" The first restore will restore the security collection and set the new password for admin. The second restore will restore the rest of your database using the new password for admin. Finally, I have two scripts that I always run after a restore to restore the repos that I use and restore permissions to certain collections. xquery version "3.0"; <fix-repo>{( repo:remove("http://exist-db.org/apps/some_app"), repo:install-and-deploy("http://exist-db.org/apps/shared", "1.2.3", " http://exist-db.org/exist/apps/public-repo/some_app"), ... )}</fix-repo> Hope this helps. Take care. 2025年7月20日(日) 11:51 Tony Graham <tg...@an...>: > I have an eXist-3 (yes, eXist-3) that won't respond and won't shutdown > (short of killing the process). Starting it devolves into multiple > stack traces with the message in the subject. Is there any hope for it? > > I got here after killing eXist after a server backup filled the > filesystem and eXist became unresponsive. (The backup was because a > Jenkins job running an Ant task had created some ghost collections that > showed only in the Java client and that the 'admin' user couldn't > delete, and I was going to tweak then reload the backup.) > > Regards, > > > Tony Graham. > -- > Senior Architect > XML Division > Antenna House, Inc. > ---- > Skerries, Ireland > tg...@an... > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > -- Michael Westbay Writer/System Administrator http://www.japanesebaseball.com/ |