A tool for all your back-ups, internal and external!
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!
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.
Contact / Support
Need help or want extra features?
Need help with the configuration or want this module to have more functionalities? Please create a bug report on the Github issue tracker
Please log in to comment on this module
- The author can leave a single reply to each comment.
- This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
- If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Really useful but can't understand the permission settings
I have set up
everything and connection is successful. However when i run the
scheduler manually, it throws a permission error. I have tried multiple
settings on server by giving 777 access and changing owner. But it
doesn't seem to work. I think i am messing something something here. Any
help would be really appreciated.
File "", line 1, in <module> File "/mnt/extra-addons/auto_backup/models/db_backup.py", line 152, in schedule_backup os.makedirs(rec.folder) File "/usr/lib/python3.5/os.py", line 241, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/home/backups' During handling of the above exception, another exception occurred:
File "", line 1, in <module> File "/mnt/extra-addons/auto_backup/models/db_backup.py", line 152, in schedule_backup os.makedirs(rec.folder) File "/usr/lib/python3.5/os.py", line 241, in makedirs mkdir(name, mode) ValueError: <class 'PermissionError'>: "13 Permission denied" while evaluating 'model.schedule_backup()'
Very good tool, however don't know how to disable it
I am really happy with the tool. It does the job.
However, I stumbled upon the following problem:
1. I don't need a database anymore, so I removed the backup settings.
2. Unfortunately, I still get a backup file every day.
3. Yesterday I dropped the database from PSQL.
4. Today I see an empty file with the dropped database name.
Re: Very good tool, however don't know how to disable it
Remove the database backup record completely. That should always work :)
Hello, Could you please tell me if this module works within odoo.sh ? Regards.
I'v been using databases since my first project, now creating a new one called casinoshunter and going to use your database auto-backup. Hope this backup works properly, relying on it's reliability.
Hi Yenthe Van Ginneken, Thanks a lot this module, But let me ask if there is a difference in file size when using SFTP https://prntscr.com/stez4u
Hi! Zips are compressed so yes there is a difference. Your difference in size looks pretty big though. Be sure to test your backup so you're certain it works and behaves as you'd like.
its very good and powerfull tool
its very good and usefull tool and i have one note i like you to add it to your module Readme file to mention the required python libraries that is required to install before the user install this module thanks for nice module Regards, Husam
Re: its very good and powerfull tool
Thanks Husam! The required libraries are actually mentioned in the requirements.txt file (see https://github.com/Yenthe666/auto_backup/blob/13.0/requirements.txt)
Thanks a lot!
Dear Yenthe, I am using your app for backup of odoo 12 it ok and very good. But when i using it for bakup of odoo 13 then it not work, it just backs up and save bakup file at local. While i have connected to SFTP successfully. Please help me fix this problem. Thank you very much
Re: Thanks a lot!
Hi, please create a ticket with detailed info at https://github.com/yenthe666/auto_backup/issues
Looking for a solution
Yenthe, i am using PostgreSql for our database when i install the auto_backup software it asks for Paramiko software which i cannot find for the PostgreSql database on Windows Server 2016. Is this the only software that is compatible with your auto_backup application or do you have something that will work with our software? We are on Odoo 13.
Re: Looking for a solution
Hi! Sorry the dependency is needed. It should be possible to install pysftp on Windows though.
Thanks a lot! I donated €10 for this!
Re: Thanks a lot! I donated €10 for this!
Thanks a lot for the donation! :)
Very usefull, easy to install
Thanks for this module Yenthe!
Re: Very usefull, easy to install
You're welcome, happy you like it!
Two separate backup tasks?
Hi, Thanks for the very useful app. I just have a quick question, is there any way to have to different back ups running at different intervals? I'm trying to get a nightly back up locally and a weekly or monthly backup on a sftp server. Is it possible with your app? Thanks again. Siavash
Re: Two separate backup tasks?
Hi Siavash, Not really. You can create multiple backup records - for example to take one .dump backup and one .zip backup - but at this time they're all executed. If you'd like this you would need to add a bit of custom code to keep track of intervals per back-up record so it doesn't execute all backups blindly. Regards, Yenthe