https://github.com/opusvl/odoo-upgrade-scripts
Example scripts to backup and upgrade modules in Odoo databases en-masse.
https://github.com/opusvl/odoo-upgrade-scripts
Last synced: about 2 months ago
JSON representation
Example scripts to backup and upgrade modules in Odoo databases en-masse.
- Host: GitHub
- URL: https://github.com/opusvl/odoo-upgrade-scripts
- Owner: OpusVL
- License: agpl-3.0
- Created: 2014-10-06T15:05:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-06T15:05:33.000Z (over 11 years ago)
- Last Synced: 2025-12-30T16:19:38.230Z (6 months ago)
- Language: Shell
- Size: 109 KB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# odoo-upgrade-scripts
## Purpose
These are some simple shell scripts to backup and upgrade Odoo databases, en-masse,
from the command line on the server on which Odoo is running.
## Interface
Both scripts take their list of databases on STDIN, one database name per line.
They expect to be run as the user that owns the databases.
In `upgrade_dbs.sh` you must also specify the name of the module to upgrade as its
argument. Use `all` to upgrade all installed modules (i.e. if you've upgraded Odoo itself
or many third-party addons).
## Known Limitations
`upgrade_dbs.sh` is hard-coded to expect the server program to be at
`/opt/odoo/openerp-server`,
and the configuration at `/srv/odoo/odoo.conf`.
# Copyright and License
Copyright (C) 2014 OpusVL
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
If you require assistance, support, or further development of this
software, please contact OpusVL using the details below:
* Telephone: +44 (0)1788 298 410
* Email: community@opusvl.com
* Web: http://opusvl.com