[daisy] [JIRA] Updated: (DSY-234) backuptool: restore fails with PostgreSQL

Bruno Dumon (JIRA) issues at cocoondev.org
Fri May 25 08:53:20 CDT 2007


     [ http://issues.cocoondev.org//browse/DSY-234?page=all ]

Bruno Dumon updated DSY-234:
----------------------------

    Component: Backup

> backuptool: restore fails with PostgreSQL
> -----------------------------------------
>
>          Key: DSY-234
>          URL: http://issues.cocoondev.org//browse/DSY-234
>      Project: Daisy
>         Type: Bug
>   Components: Backup
>     Versions: 1.4
>  Environment: SVN 2535
>     Reporter: Andreas Deininger
>     Priority: Minor

>
> a) Doing a backup with PostgreSQL is o.k. now.
> However restoring a backup does not work:
> $ ./daisy-backup-tool -r 20060105_000/ -l .
> Restoring this backup will undo all changes made since Thu Jan 05 02:58:23 CET 2006
> Do you wish to restore the backup? [yes|no, default: no]
> yes
> Restoring backup-20060105_000/ ...
> Restoring database : daisyrepository
> You may be prompted for the password of the following database user twice : daisy
> Passwort:
> Passwort für Benutzer daisy:
> psql: FATAL:  Datenbank »template1ye« existiert nicht
> java.lang.RuntimeException: java.lang.UNIXProcess at 140c281 ran with errors.
>         at org.outerj.daisy.backupTool.dbDump.AbstractDbDumper.handleRuntimeProcess(AbstractDbDumper.java:78)
>         at org.outerj.daisy.backupTool.dbDump.PostgresqlDbDumper.restore(PostgresqlDbDumper.java:53)
>         at org.outerj.daisy.backupTool.DbBackupEntry.restore(DbBackupEntry.java:43)
>         at org.outerj.daisy.backupTool.BackupManager.restore(BackupManager.java:150)
>         at org.outerj.daisy.backupTool.BackupTool.restoreBackup(BackupTool.java:169)
>         at org.outerj.daisy.backupTool.BackupTool.main(BackupTool.java:87)
> b) I'm running Daisy successfully with PostgeSQL 8.1.1, so the information in
> daisy/install/src/java/org/outerj/daisy/install/InstallHelper.java
> should be adapted

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list