I change the WEB-INF/lib against the lib dir from the magnolia empty webapp and
add the scheduler and the mysql connector library. Now the restore script runs.
But only if the mysql database is empty. Otherwise a mysql exception occures.
[code]2012-01-23 10:48:58,300 INFO info.magnolia.module.backup.BackupManager
: Restoring info.magnolia.module.backup.NodeVersionHistoriesBackup@c6f734
2012-01-23 10:48:58,316 INFO info.magnolia.module.backup.Backup
: Replacing deadbeef-face-babe-cafe-babecafebabe node.
2012-01-23 10:48:58,353 WARN
ersistence.bundle.AbstractBundlePersistenceManager: Deleted node state's parent
is not modified or deleted:
deadbeef-cafe-babe-cafe-babecafebabe/deadbeef-face-babe-cafe-babecafebabe
2012-01-23 10:48:58,367 ERROR
.persistence.bundle.util.ConnectionRecoveryManager: could not execute
statement, reason: Duplicate entry ']?' for key 1, state/code: 23000/1062
2012-01-23 10:48:58,369 ERROR
core.persistence.bundle.BundleDbPersistenceManager: failed to write bundle:
5dd40022-d023-49ad-b467-18079e1f4b78
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate
entry ']?' for key 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1036)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)[/code]
The recommendation said that the database should be initialized before restore
(see http://documentation.magnolia-cms.com/modules/backup.html).
With an empty database I can not login to magnolia. The folowing exception is
showing in the log.
[code]ERROR info.magnolia.cms.security.SystemUserManager 23.01.2012 10:43:10
-- Failed to login as anonymous user
javax.security.auth.login.AccountNotFoundException: User account anonymous not
found.
at
info.magnolia.jaas.sp.jcr.JCRAuthenticationModule.validateUser(JCRAuthenticationModule.java:117)
at
info.magnolia.jaas.sp.AbstractLoginModule.login(AbstractLoginModule.java:200)[/code]
There are any further hints for me? Otherwise I have to say the backup module
is not suitable for us and have to use a database and file system backup.
Regards Frank
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=e435b914-7fee-44be-9950-d9e62f689b20
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------