[daisy] help: error of use daisy-backup-tool
Karel Vervaeke
karel at outerthought.org
Tue Apr 8 09:43:43 CEST 2008
I thought the problem might come from missing files, but I can not seem
to reproduce it using Daisy 2.2.
Can you
- tell us which version of Daisy are you using?
- check that the paths are correct. I'm not saying there is anything
wrong with them, but it is easy to get confused. Given the setup below,
you should have these paths present:
/opt/daisydaisywikidata/daisywikidata/books
/opt/daisydaisywikidata/daisywikidata/resources
...
- You may also want to check that the process running the backup script
has sufficient read rights for the 'resources' directory. Assuming the
backup entries are processed in order, it is strange that the process
does not fail on the 'books' entry. Are the access rights the same for
both directories?
HTH,
Karel
On Tue, 2008-04-08 at 14:20 +0800, Steven wrote:
>
>
>
>
>
> ______________________________________________________________________
> Hi ,
>
> According to advice I back up server with daisy-backup-tool,but
> error occurred , and the error information below.
>
>
>
> Unlocking repository ...
>
> java.lang.Exception: Error copying file
> from /opt/daisydaisywikidata/daisywikidata/resources
> to /backup/daisybak/20080408_004/daisydaisywikidata.zip-tmp/daisywikidata/resources
>
> at
> org.outerj.daisy.backupTool.FileBackupEntry.backup(FileBackupEntry.java:60)
>
> at
> org.outerj.daisy.backupTool.BackupManager.backup(BackupManager.java:119)
>
> at
> org.outerj.daisy.backupTool.BackupTool.createBackup(BackupTool.java:188)
>
> at
> org.outerj.daisy.backupTool.BackupTool.main(BackupTool.java:93)
>
>
>
> The backup shell :
>
> #! /bin/sh
>
>
>
> /opt/daisy/bin/daisy-backup-tool -d /opt/daisydata/ -b daisybak
> -l /backup/daisybak/ -a /opt/daisy/bin/daisybakpath.xml
>
>
>
> The daisybakpath.xml content :
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <backup-entries>
>
> <backup-entry name="daisydaisywikidata"
> basedir="/opt/daisydaisywikidata">
>
> <paths>
>
> <path>daisywikidata/books</path>
>
> <path>daisywikidata/bookstore</path>
>
> <path>daisywikidata/resources</path>
>
> <path>daisywikidata/sites</path>
>
> <path>daisywikidata/daisy.xconf</path>
>
> <path>daisywikidata/external-include-rules.xml</path>
>
> </paths>
>
> </backup-entry>
>
> </backup-entries>
>
>
>
>
>
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
More information about the daisy
mailing list