Score:-2

Backup files very different size

in flag

for a Drupal website, backup is done via databack/mysql-backup (https://hub.docker.com/r/databack/mysql-backup) container.
Drupal version: 9.5.10.
The backup is created.
The created backup file is uploaded to AWS, which works objection free.
But, as visible on the picture, the backup files have very different size!

Does anyone have any idea why the backup files have such different size?
enter image description here

Score:1
cn flag

The only real way to know why they are different sizes is to decompress the files and compare them.

If the backups all restore correctly, the difference is that you are probably backing up the cache tables in the larger files.

Instead of using a generic MySQL backup solution, I would use Drush and the drush sql:dump command, which can be used to exclude the cache tables.

An alternative is to use the Backup and Migrate module.

webuser57 avatar
in flag
Hi, thank you very much for your answer. I have solved the backup problem via a shell script.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.