On Thu, Jun 25, 2009 at 3:09 PM, Rodolfo D. Arce S.<rodolfoa...@eyuhoo.com> wrote: > The moodle directory is /var/lib/moodle, that's for the files and > data, but the database, could that be backed up as a binary database > file? i had some expriences with mysql (not ps-sql) that didn't work > so well, should and "export" of the database work better for that?
Good point. You want sudo -u postgres pg_dump -Fc moodle-xs > moodle-xs.pgsql Or you can use pg_dumpall. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff _______________________________________________ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel