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

Use environment variable to set the tmp directory #378

Closed
wants to merge 1 commit into from
Closed

Use environment variable to set the tmp directory #378

wants to merge 1 commit into from

Conversation

tjomk
Copy link

@tjomk tjomk commented Feb 9, 2016

I had a problem with running attic on a system where root partition was very small. When attic was verifying archives it was using ~160MB of disk space which was way more than the allowed 100MB.

@ThomasWaldmann
Copy link
Contributor

did you try setting TEMP which should have the same effect and is supported by default?

@tjomk
Copy link
Author

tjomk commented Feb 22, 2016

@ThomasWaldmann do you mean ATTIC_CACHE_DIR? If so then yes, I did try this without any luck. Otherwise which TEMP are you referring to?

@ThomasWaldmann
Copy link
Contributor

https://docs.python.org/3/library/tempfile.html search for TEMP on that page, it is a standard thing used by a lot of software, including python's tempfile module.

@tjomk
Copy link
Author

tjomk commented Feb 24, 2016

@ThomasWaldmann it did work! Thanks a lot!

@tjomk tjomk closed this Feb 24, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants