37 lines
1.7 KiB
Python
37 lines
1.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
{
|
|
'name': "Database auto-backup",
|
|
'summary': 'Automated backups',
|
|
'description': """
|
|
The Database Auto-Backup module enables the user to make configurations for the automatic backup of the database.
|
|
Backups can be taken on the local system or on a remote server, through SFTP.
|
|
You only have to specify the hostname, port, backup location and databasename (all will be pre-filled by default with correct data.
|
|
If you want to write to an external server with SFTP you will need to provide the IP, username and password for the remote backups.
|
|
The base of this module is taken from Odoo SA V6.1 (https://www.odoo.com/apps/modules/6.0/auto_backup/) and then upgraded and heavily expanded.
|
|
This module is made and provided by Yenthe Van Ginneken (Oocademy).
|
|
Automatic backup for all such configured databases can then be scheduled as follows:
|
|
|
|
1) Go to Settings / Technical / Automation / Scheduled actions.
|
|
2) Search the action 'Backup scheduler'.
|
|
3) Set it active and choose how often you wish to take backups.
|
|
4) If you want to write backups to a remote location you should fill in the SFTP details.
|
|
""",
|
|
'author': "Yenthe Van Ginneken",
|
|
'website': "http://www.odoo.yenthevg.com",
|
|
'category': 'Administration',
|
|
'version': '16.0.0.1',
|
|
'installable': True,
|
|
'license': 'LGPL-3',
|
|
|
|
# any module necessary for this one to work correctly
|
|
'depends': ['base'],
|
|
|
|
# always loaded
|
|
'data': [
|
|
'security/user_groups.xml',
|
|
'security/ir.model.access.csv',
|
|
'views/backup_view.xml',
|
|
'data/backup_data.xml',
|
|
],
|
|
}
|