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

Cannot cull archive newer than one day #8

Open
csmiken opened this issue Jun 20, 2013 · 2 comments
Open

Cannot cull archive newer than one day #8

csmiken opened this issue Jun 20, 2013 · 2 comments
Labels

Comments

@csmiken
Copy link

csmiken commented Jun 20, 2013

From: [email protected]

Hi,

I've set ctfile_cull_keep_days to zero to remove an archive created today.
All I get is "ctfile_cull_keep_days: Missing configuration value".
The error message is misleading, since I did specify the config value, and I think it should also work with zero. Otherwise I'd have to wait one day to be able to remove archives (I will try that tomorrow and see if it works).
And the exit code of ctctl is zero - I expected it to be non-zero on errors.

@csmiken
Copy link
Author

csmiken commented Jun 20, 2013

Today I set the ctfile_cull_keep_days to "1" and it fails with "All ctfiles are old and would be deleted, aborting."
So I can never remove this archive, or is there another method to delete archives?

@tukoz
Copy link

tukoz commented Feb 15, 2015

You can delete any archive with:

ct -me <archive_name>.ct

With pattern as well; manpage:

-e      Delete remote ctfiles matching pattern from the server.  This option is used in conjunction with -m.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants