Script to move datasets from one hierarchical store to another #18621
alpapan
started this conversation in
Admin tips and tricks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Galaxy version
"version_major": "23.2", "version_minor": "2.dev0"
Describe the bug
Not a bug but I thought I share this for galaxy admins not using distributed storage.
Please let me know if this is not the appropriate place or you prefer a pull request.
Once one sets up multiple hierarchical stores (e.g. due to space running out), this is a script that will move files that are above certain size and haven't been updated for a certain number of days (and are not purged).
It relies on the UUID of the datasets.
It has a dry run function.
Feel free to comment/edit it if you think it is appropriate.
One idea I was thinking was to edit this to search for purged files only (of certain size) and cron move them to a slow disk as they await deletion (only issue there is that if someone unpurged them then they would stay at the slow disk... just an idea)
thank you,
alexie
Beta Was this translation helpful? Give feedback.
All reactions