Instruction on backing up logs post campaign for production submitters#66
Open
Instruction on backing up logs post campaign for production submitters#66
Conversation
panta-123
reviewed
Jul 15, 2025
|
|
||
| They are located in | ||
| ``` | ||
| /w/eic-scshelf2104/EPIC/LOGS/LOG |
Contributor
There was a problem hiding this comment.
please write:
/work/eic3/EPIC/LOGS/LOG
| ``` | ||
| rucio rule add --rses JLAB-TAPE-SE --copies 1 <dataset_did> | ||
| ``` | ||
|
|
Contributor
There was a problem hiding this comment.
And then we need add lifetime to the dataset fro DISK replica. Let me check the command.
Contributor
There was a problem hiding this comment.
Before above steps
rucio rule list --did <dataset_did>
get the rule_id and then set lifetime of 6 months from end of campaign.
rucio rule update --lifetime <time_in_sec> <rule_id>
There was a problem hiding this comment.
can this lifetime be specified at rule add? I am assuming so
T-Britton
reviewed
Jul 16, 2025
| Compress the campaign directory to a zip folder | ||
| ``` | ||
| cd /w/eic-scshelf2104/EPIC/LOGS/LOG | ||
| tar YY.MM.P.tar.gz YY.MM.P |
Contributor
There was a problem hiding this comment.
When it done for previous campaign , Kurt ran:
tar -cjf my_log_directory.tar.bz2 /path/to/your/log/directory/
with the j option , compression was done.
panta-123
reviewed
Jul 22, 2025
|
|
||
| Compress the campaign directory to a zip folder | ||
| ``` | ||
| cd /w/eic-scshelf2104/EPIC/LOGS/LOG |
| export RUCIO_CONFIG=${SCRIPT_DIR}/rucio.cfg | ||
| export X509_USER_PROXY=x509_user_proxy | ||
| python ${SCRIPT_DIR}/register_to_rucio.py \ | ||
| -f "/w/eic-scshelf2104/EPIC/LOGS/LOG/YY.MM.P.tar.gz" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Briefly, what does this PR introduce?
Instruction on backing up logs post campaign for production submitters
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
Does this PR change default behavior?