[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Significant backup routine bug found in 1.3.x

Hi all;

For all of you using LedgerSMB 1.3 in production, please note that the
backup routines that come as part of LedgerSMB were apparently broken
by a number of framework changes between 1.2 and 1.3.  They currently
do not produce valid backups.  Backups with standard PostgreSQL tools
(pg_dump and pg_dumpall) work properly, so while significant,
workarounds exist.

The problems include, among other things, the fact that users of the
software typically do not have sufficient permissions to create
backups.  Given this and other changes I have decided to rewrite the
database backup routines rather than try to get the existing
functionality working.

We expect to have a fix in place for 1.3.7, which will be due to be
released this next week.  In the mean time, if you want to backup your
database, please use the above-mentioned tools.

The new backup routines will be included in the database
administration utility (setup.pl) and will be run from there.  You
will need to run one backup of roles for all db's plus a backup of
each individual db you want to back up.  This can be done by database
administrators who have no valid LedgerSMB login.

Best Wishes,
Chris Travers