Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Regression] Pre-upgrade backups should exclude large data (like media files) #510

Open
kemenaran opened this issue Nov 23, 2024 · 0 comments
Labels

Comments

@kemenaran
Copy link
Collaborator

Describe the bug

When upgrading Mattermost, the backup performed automatically before the upgrade now includes all files – including all Mattermost media files.

This makes the backup very large (> 10 Go instead of ~200 Mo), and slow.

Steps to reproduce

  • Start a mattermost upgrade on a moderately-large instance,
  • Look for the "Info : L'archive contiendra environ 10.3GB de données." message, larger than it should be,
  • Notice how slow the pre-upgrade backup is.

Expected behavior

The backup should be light, fast, and not include the media files.

Regression

This looks like a regression from #501 ? https://github.com/YunoHost-Apps/mattermost_ynh/pull/501/files#diff-d7c669d8e7971ae1796dc06b149cbfaee4a56384abaeb3bd0a85077e7c3cb141R18 (cc @ericgaspar)

@kemenaran kemenaran added the bug label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant