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

Do not backup image cache - Implement Backup core only #160

Draft
wants to merge 1 commit into
base: testing
Choose a base branch
from

Conversation

lapineige
Copy link
Member

Problem

If you choose to download articles images in your Wallabag, this "cache" is taking a lot of space.
Users might want to backup everything but these images (as your can "download" them again later) to save space.

Solution

Implement BACKUP_CORE_ONLY : in that case the image cache is not saved.

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

Fingers crossed!
Test Badge

@lapineige
Copy link
Member Author

lapineige commented Nov 22, 2022

I don't really know how to exclude this folder from the backup… If Yunohost backup helper (https://yunohost.org/en/packaging_apps_helpers#ynh-backup) had an option for that it would be better 😅

I'm not happy with the current solution... if /tmp is not in the same partition it can be a real trouble.

@lapineige
Copy link
Member Author

CI is not working right now.

@lapineige
Copy link
Member Author

CI fails because the directory does not exist… I need to had a condition.

@lapineige
Copy link
Member Author

No time to work on this right now, help appreciated :)

@Salamandar Salamandar force-pushed the exclude-image-cache-from-backup branch from aa1efad to 5421d05 Compare March 9, 2024 12:42
@Salamandar
Copy link
Member

rebased.

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

🎠
Test Badge

@Salamandar Salamandar force-pushed the exclude-image-cache-from-backup branch from 5421d05 to 65d4ee5 Compare March 15, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants