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

Backup fails with large folder #166

Closed
Enissay opened this issue May 24, 2023 · 1 comment
Closed

Backup fails with large folder #166

Enissay opened this issue May 24, 2023 · 1 comment

Comments

@Enissay
Copy link

Enissay commented May 24, 2023

I have a running instance of resticker which is working fine with small files/folders until I add a big folder to backup then it fails...

See log below:

05/24/2023 5:35:19 PM Checking configured repository '/mnt/restic_backup' ...
05/24/2023 5:35:21 PM Repository found.
05/24/2023 5:35:21 PM 
05/24/2023 5:35:21 PM 
05/24/2023 5:35:21 PM Executing backup on startup ...
05/24/2023 5:35:21 PM Starting Backup at 2023-05-24 17:35:21
05/24/2023 5:35:21 PM open repository
05/24/2023 5:35:23 PM lock repository
05/24/2023 5:35:23 PM no parent snapshot found, will read all files
05/24/2023 5:35:23 PM load index files
05/24/2023 5:35:23 PM start scan on [/mnt/big_folder]
05/24/2023 5:35:23 PM start backup on [/mnt/big_folder]
05/24/2023 5:35:46 PM scan finished in 22.996s: 196267 files, 4.200 GiB
05/24/2023 5:35:48 PM /usr/local/bin/backup: line 65:    43 Killed                  restic --repo="${RESTIC_REPOSITORY}" backup "${backup_args[@]}" "${tag_options[@]}" "${backup_sources[@]}"
05/24/2023 5:35:48 PM Backup failed
05/24/2023 5:35:48 PM Finished backup at 2023-05-24 17:35:48 after 27 seconds

Could it be the argument list which becomes too long ? https://github.com/djmaze/resticker/blob/master/backup#LL65C88-L65C102

@Enissay
Copy link
Author

Enissay commented May 27, 2023

Apparently I was putting very low limits on cpu/ram use for that container. Increasing them solved the issue :x

@Enissay Enissay closed this as completed May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant