OCA / server-tools

Tools for Odoo Administrators to improve some technical features on Odoo.
https://odoo-community.org/psc-teams/tools-30
GNU Affero General Public License v3.0
705 stars 1.5k forks source link

[14.0][FIX] utf-8 cached backup error auto_backup #3016

Open sergiocorato opened 3 months ago

sergiocorato commented 3 months ago

Error in backup process:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 14: invalid continuation byte

How to replicate:

  1. create one backup with filestore
  2. create another backup without filestore
  3. wait cron execution

Second error: the second backup is a copy of the first one, regardless of the type. So the second backup, of the type "dump", is a copy of the "zip" file without the correct extension.

giarve commented 2 weeks ago

For some reason in version 16.0 the same thing happened to me with 2 filestore (both being the same type) backups but saved in different locations!