Hello everyone please i want to know if there a method to make a full backup of odoo 9 on development server ubuntu v 15.04
thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello everyone please i want to know if there a method to make a full backup of odoo 9 on development server ubuntu v 15.04
thanks
in case you are talking about the database, which is what should really matter (else do a normal system backup or use a dockerfile...), you have several choices:
use the integrated database backup (under "manage databases" on the login screen)
use the promising (but sadly not working for me) auto_backup module from https://www.odoo.com/apps/modules/9.0/auto_backup/
use a custom script (ideally triggered from cron) that backs up the database, like:
/usr/bin/pg_dump -U <dbuser> --host localhost --format custom --blobs <dbname> > $filename
bzip2 $filename
for this to work, you'll need a .pgpass file in the home directory of the user doing the backup (in case of cron, it should be in /root), with the following content:
localhost:5432:<dbname>:<dbuser>:<dbpass>
Only (1) will backup the filestore (a set of files stored outside the database, including website and attachments) necessary for everything to work properly. The filestore can be found in the home folder of the user (or service) who is running the Odoo server at .local/share/odoo
Ray: auto_backup does also backup the filestore.
Available Backup DB/Filestore Modes:
Module For backup ODOO databases and automating the backup process of ODOO.
how to restore a backup stored in the local server?
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
May 16
|
2842 | ||
|
3
Apr 17
|
4470 | ||
|
2
Sep 16
|
2702 | ||
|
2
Dec 15
|
2632 | ||
|
1
Dec 15
|
3515 |
i want to make a full backup including ( Python, QWeb, JavaScript et XML, )
Are you looking for a full backup of the server or backups of the different tenants (databases including their filestores)?