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

Backups include auto backups in zip files #700

Open
barnhill opened this issue Sep 3, 2024 · 1 comment
Open

Backups include auto backups in zip files #700

barnhill opened this issue Sep 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@barnhill
Copy link

barnhill commented Sep 3, 2024

When the backups are zipped it is including the entire worlds folder contents which includes the auto backups the server is doing itself in the zip files. This bloats the zipped backups that this container is doing.

Here is the line in question in valheim-backup

zip -r "$backup_file" "$WORLDS_DIR/"

Maybe it should just include the current db and fwl file?

Screenshot 2024-09-03 at 11 19 57 AM

Maybe a filter to not include files with backup in the name?

@barnhill
Copy link
Author

barnhill commented Sep 3, 2024

Maybe as simple as using this command ... unsure as I havent tested it locally

zip -r "$backup_file" "$WORLDS_DIR/" -x *backup*.*

@lloesche lloesche added the enhancement New feature or request label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants