Backup size HTTP header

by
Odoo
v 13.0 Third Party 162
Download for v 13.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 38
Technical Name backup_size_header
LicenseAGPL-3
Websitehttps://avoin.systems
Versions 11.0 10.0 12.0 15.0 13.0
You bought this module and need support? Click here!

# backup_size_header

Authors:
  • Miku Laitinen / [Avoin.Systems](https://avoin.systems)

Overrides the default backup method of Odoo and adds the Content-Length header in the backup response.

Add this module to server_wide_modules.

## Further Explanation

WITHOUT backup_size_header: You go to the database manager, take a backup of a large database, the worker times out. You end up with a broken backup file, but you don't know that, because your browser doesn't know how large the file is supposed to be. You might get the sense that everything went fine and you have a full backup.

WITH backup_size_header: You take a backup, Odoo sends the Content-Length HTTP header to your browser, so your browser knows how large file it expects to receive. Odoo times out, and your browser tells you that the download failed. You don't have the false sense of having successfully downloaded the backup file.

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.
Please choose a rating from 1 to 5 for this module.