Back up and restore

A complete Cayamanan backup has two parts: the PostgreSQL database and its attached files. In server tools, the attached-file area is called the Odoo filestore. Keeping only one part can leave attachments or database references missing.

Use the database manager backup only when that feature is deliberately enabled and protected. Your technical team can instead use pg_dump for PostgreSQL and copy the database’s Odoo filestore while application writes are controlled. Encrypt backups, restrict access, keep more than one generation, and store at least one copy away from the server.

Test restores regularly in a separate environment. Restore the database and its attached files together, start the same Cayamanan release and addons, then check login, attachments, a customer document, and an accounting report. A backup is not proven until a restore has succeeded.

Commands, storage paths, retention, and recovery targets are environment-specific. Your operator must document them for the actual deployment.