-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement hourly backups (TA#3829) (#55)
Also implement the daily backup in the data so we don't have to set them up manually
- Loading branch information
1 parent
0a2ecd3
commit 1dfc4eb
Showing
7 changed files
with
48 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
NumiTech | ||
======== | ||
Module that install technological modules that we want for quality. | ||
|
||
|
||
Backups | ||
------- | ||
Several backups are setup for all our instances. | ||
|
||
![App Switcher](static/description/backups.png?raw=true) | ||
|
||
**Daily** | ||
![App Switcher](static/description/backup_daily.png?raw=true) | ||
|
||
**Hourly** | ||
![App Switcher](static/description/backup_hourly.png?raw=true) | ||
|
||
|
||
Contributors | ||
------------ | ||
* Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
|
||
More information | ||
---------------- | ||
* Meet us at https://bit.ly/numigi-com |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,8 @@ | |
'auto_backup', | ||
'sentry', | ||
], | ||
'data': [ | ||
'data/db_backup.xml', | ||
], | ||
'installable': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="daily_backup" model="db.backup"> | ||
<field name="name">/var/lib/odoo/backups/odoo</field> | ||
<field name="folder">/var/lib/odoo/backups/odoo</field> | ||
<field name="days_to_keep">7</field> | ||
<field name="frequency">daily</field> | ||
<field name="backup_format">zip</field> | ||
</record> | ||
|
||
<record id="hourly_backup" model="db.backup"> | ||
<field name="name">/var/lib/odoo/backups/hourly</field> | ||
<field name="folder">/var/lib/odoo/backups/hourly</field> | ||
<field name="days_to_keep">1</field> | ||
<field name="frequency">hourly</field> | ||
<field name="backup_format">dump</field> | ||
</record> | ||
|
||
</odoo> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.