Community mailing list archives
Re: Newbie question: Backups, Code Repositories & Restorationby
* The simplest/easiest, you can back up/restore through the web interface. This is only good for the start and when really no other option is available (odoo online?)
* some community modules allow to generate regular backup from Odoo itself
Probably the most standard is to back up from the OS
* Daily script to backup the PG database + script based to backup the filestore combined with rsync. the filestore is the folder in the OS which contains all attachments
* Bacula server is tricky to set up but very powerful for multi-server back up centralization.
* for mono server, I prefer rdiff-backup tool which is based on rsync and extremely simple and powerful
For the core file it depends how you get them ;):
* If you have a CVS system (git/github/lp/svn/bitbucket), this is probably not necessary. You can repull any time from the repo
* If you use docker, you just need to back up Dockerfile and docker-compose files
* you might need to back up some other configuration files (nginx etc.)
Those method are compatible with S3 AFAIK (which is the destination directory outside the server if I remember well)
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
We're implementing Odoo for our business and I was hoping to clarify a few things about best practices. During my trials (using EC2 instances) I've managed to break the installation a number of times (which is no problem as I just fire up a new instance).
As we edge closer to production use, I was wondering what the best practices are for backing up (and restoring) an Odoo installation if things break, specifically:
- Do the odoo core files need to be backed up? We use Mecurial and Bitbucket to manage our codebase for our proprietary systems - should/can we be doing the same for Odoo?
- When using the database management feature to do the backup, it asks if we just want to include the filestore - what exactly is in this filestore? There seem to be a lot of folders
I was also wondering if there's a straightforward way to backup to a private S3, and an equally straightforward way to restore a backup from S3.
Thanks very much in advance,
Marketing Technology Manager
Tel: 01746 766848
Webpager / Mediafront Ltd • Media House • Stanmore Estate • Bridgnorth • Shropshire • WV15 5HP
Would you like £60?
This email message and any files transmitted with it are intended solely for the use of the individual(s) or entity to whom they are addressed. Confidential information may be contained in this message. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone, you should destroy this message and kindly notify the sender by reply email. Opinions, conclusions and other information in this message that do not relate to the official business of Mediafront Ltd shall be understood as neither given nor endorsed by it. The company cannot take any responsibility for damage or loss of computer systems as a result of opening any attached files. Therefore we would advise you as a matter of course to check for any viruses that may have infiltrated this communication unbeknown to us.