[daisy] Error while restoring backup

Christian Weigel daisy at dm00.de
Thu Jun 26 10:48:41 CEST 2008


Hello, 

I am running into problems restoring a previouly created backup. 

The Backup was created on remote machine that has the same setup I have on the machine I am currently working on. 

That means - Daisy 2.1, same directories, same users and passwords (as I encountered that the reashing functionality of the backup tool is kind of broken in 2.1).

It seems that there is a problem with the execution of database commands (dropping the currently existing tables). Please find the corresponding error below ... 

I also tried using Daisy 2.2 - but the results are the same ( java.io.IOException )

Is this a know problem, maybe a workaround already exists?

Many thanks in advance!

   Christian

----

C:\Daisy\daisyhome\bin>daisy-backup-tool -d C:\Daisy\RepoData\ -r 20080522_000 -l C:\d_backups\

Before restoring a backup, make sure that the repository server
and the Daisy Wiki are not running.

Restoring this backup will undo all changes made since Thu May 22  12:00:01 CEST 2008

Do you wish to restore the backup? [yes|no, default: no]
yes

Restoring backup-20080522_000 ...
Running mysqladmin -f --user=repouser --password=PASSWORD -h localhost --port=3306 drop daisyrepository
java.io.IOException: CreateProcess: mysqladmin -f --user=repouser --password=PASSWORD -h localhost --port=3306 drop daisyrepository error=2
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
        at java.lang.ProcessImpl.start(ProcessImpl.java:30)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
        at java.lang.Runtime.exec(Runtime.java:591)
        at java.lang.Runtime.exec(Runtime.java:429)
        at java.lang.Runtime.exec(Runtime.java:326)
        at org.outerj.daisy.backupTool.dbDump.MysqlDbDumper.restore(MysqlDbDumper.java:51)
        at org.outerj.daisy.backupTool.DbBackupEntry.restore(DbBackupEntry.java:50)
        at org.outerj.daisy.backupTool.BackupManager.restore(BackupManager.java:142)
        at org.outerj.daisy.backupTool.BackupTool.restoreBackup(BackupTool.java:205)
        at org.outerj.daisy.backupTool.BackupTool.main(BackupTool.java:98)






More information about the daisy mailing list