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

Hard coded '/tmp' path prevents restore for large archives #2

Open
markpryan opened this issue Jul 4, 2023 · 0 comments
Open

Hard coded '/tmp' path prevents restore for large archives #2

markpryan opened this issue Jul 4, 2023 · 0 comments

Comments

@markpryan
Copy link

Looking in archive-tar.sh, the value defined for BITBUCKET_RESTORE_ROOT is hard-coded to use the /tmp directory.

I have the issue that our backup archives are huge and the /tmp directory too small. As a workaround, I just modify to a temp directory with enough free disk, but a better solution would be to use /tmp only as a fall back and use something like "TMPDIR" environment variable to allow an override.

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