Skip to content

Conversation

rahmans1
Copy link
Contributor

Briefly, what does this PR introduce?

Instruction on backing up logs post campaign for production submitters

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

Does this PR change default behavior?

@rahmans1 rahmans1 requested review from T-Britton and panta-123 July 15, 2025 15:52
They are located in
```
/w/eic-scshelf2104/EPIC/LOGS/LOG
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please write:

/work/eic3/EPIC/LOGS/LOG

```
rucio rule add --rses JLAB-TAPE-SE --copies 1 <dataset_did>
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And then we need add lifetime to the dataset fro DISK replica. Let me check the command.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this lifetime be specified at rule add? I am assuming so

Compress the campaign directory to a zip folder
```
cd /w/eic-scshelf2104/EPIC/LOGS/LOG
tar YY.MM.P.tar.gz YY.MM.P

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

preferred tar options?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Compress the campaign directory to a zip folder
```
cd /w/eic-scshelf2104/EPIC/LOGS/LOG
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/work/eic3

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" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/work/eic3

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.

3 participants