Ticket #5222 (reopened defect)
trac-admin hotcopy database corruption
| Reported by: | paul_homer@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | admin/console | Version: | |
| Severity: | critical | Keywords: | needinfo |
| Cc: |
Description
When using trac-admin hotcopy in a script run by backup software, after the copy the original Sqlite database trac gets a "database disk image is malformed" error. This problem doesn't happen when running interactively or when running from an interactive shell. It is likely caused from being run as a daemon (and not being attached to a terminal?).
The workaround seems to be to run the command in a bourne shell with all output piped to a file, as in: "trac-admin /trac/repository hotcopy /dst > /tmp/file 2>&1".
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


