diff --git a/auto_backup/README.rst b/auto_backup/README.rst new file mode 100644 index 000000000..123008f4c --- /dev/null +++ b/auto_backup/README.rst @@ -0,0 +1,99 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Automated backups +=========== + +A tool for all your back-ups, internal and external! + +Installation +============ + +Before to install this module, you need to: + +instal pysftp via pip. + +Configuration +============= + +To configure this module, you need to: + +* go to ... + +Usage +===== + + +Keep your Odoo data safe with this module. Take automated back-ups, +remove them automatically and even write them to an external server +through an encrypted tunnel. You can even specify how long local backups +and external backups should be kept, automatically! + + +Connect with an FTP Server +-------------------------- + +#### Keep your data safe, through an SSH tunnel! + +Want to go even further and write your backups to an external server? +You can with this module! Specify the credentials to the server, specify +a path and everything will be backed up automatically. This is done +through an SSH (encrypted) tunnel, thanks to pysftp, so your data is +safe! + +Test connection +--------------- + +#### Checks your credentials in one click + +Want to make sure if the connection details are correct and if Odoo can +automatically write them to the remote server? Simply click on the ‘Test +SFTP Connection’ button and you will get message telling you if +everything is OK, or what is wrong! + +E-mail on backup failure +------------------------ + +#### Stay informed of problems, automatically! + +Do you want to know if the database backup failed? Check the checkbox 'Auto. E-mail on backup fail' and fill in your e-mail. +Every time a backup fails you will get an e-mail in your mailbox with technical details. + + +Known issues / Roadmap +====================== + +* ... + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback +`here `_. + + +Credits +======= + +Contributors +------------ + +* Yenthe Van Ginneken +* Alessio Gerace + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. \ No newline at end of file diff --git a/auto_backup/__openerp__.py b/auto_backup/__openerp__.py new file mode 100644 index 000000000..a72d57c43 --- /dev/null +++ b/auto_backup/__openerp__.py @@ -0,0 +1,40 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +{ + "name" : "Database Auto-Backup", + "version" : "1.0", + "author" : "VanRoey.be - Yenthe Van Ginneken, Agile Business Group", + "website" : "http://www.vanroey.be/applications/bedrijfsbeheer/odoo", + "category" : "Tools", + "summary": "Backups data base", + "depends" : ['base'], + "init_xml" : [], + "demo_xml" : [], + "update_xml" : [ + "view/bkp_conf_view.xml", + "data/backup_data.xml" + ], + "active": False, + "installable": True +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/auto_backup/backup_data.xml b/auto_backup/backup_data.xml new file mode 100644 index 000000000..0ab3c1031 --- /dev/null +++ b/auto_backup/backup_data.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/auto_backup/bkp_conf_view.xml b/auto_backup/bkp_conf_view.xml new file mode 100644 index 000000000..27e56937e --- /dev/null +++ b/auto_backup/bkp_conf_view.xml @@ -0,0 +1,112 @@ + + + + + Configure Backup + db.backup + form + +
+ + + + + + + + + + + + + + + +
Warning: Use SFTP with caution! This writes files to external servers under the path you specify.
+ + + + + + + + + + +