Submitted by Anonymous (not verified) on Tue, 11/29/2011 - 19:44
As of 1.3.7 the backup functionality moved to setup.pl, the database administration interface.
Login with your ledgersmb database user / admin user. This can't be done using your normal LedgerSMB login account since it doesn't have enough rights to backup db and roles. The default address for setup.pl is http://localhost/ledgersmb/setup.pl.
The setup.pl backup facility consists of two parts:
Stored procedures can be written in SQL and pl/PgSQl stored procedure languages. Typically SQL is preferred in cases where the number of inputs is not large and the entire procedure can be expressed as a single query or small set of queries. pl/PgSQL has a number of features very useful for cases where these are not the case.
Due to the migration from SQL Ledger coding style to the LedgerSMB style, the latter being documented below, Perl code appears in the code base in two widely differing styles. When adding new functionalities, please use the style documented below. When fixing existing functionality, please use the style applicable to the module you're working on.