Skip to main content

Plugin for managing the disk space on the demo server.

Project description

https://github.com/ome/omero-demo-cleanup/workflows/OMERO/badge.svg https://badge.fury.io/py/omero-demo-cleanup.svg

OMERO demo cleanup

This OMERO command-line plugin allows you to compute the space per user, find the users with the biggest amount of data and free disk space on a server

To generate the list of users which data must be deleted to free 300GB on the system without running the deletion:

$ omero demo-cleanup --gigabytes 300

To ignore users who’s data whose data must not be deleted, you can Tag those users and specify the Tag or parent Tag Group by Name or ID. This is enabled by default using a Tag named “NO DELETE”. So it is preferable to Tag users on the server with a Tag named “NO DELETE” or create a Tag Group named “NO DELETE” containing Tags linked to users.

# Add a Tag to a User via CLI (not possible to see this in the clients) $ omero obj new ExperimenterAnnotationLink child=TagAnnotation:123 parent=Experimenter:52

# Choose a non-default Tag or Tag Group (by ID or Name) to ignore the tagged users $ omero demo-cleanup –gigabytes 300 –ignore-tag “Tag Name”

You can also specify individual users by ID or user name, e.g:

–ignore-users 123,user-1,ben,234

To generate the list of users which data must be deleted to free 300GB on the system and running the deletion (WARNING: data belonging to these users will be removed permanently):

$ omero demo-cleanup --gigabytes 300 --force

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omero-demo-cleanup-0.2.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omero_demo_cleanup-0.2.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file omero-demo-cleanup-0.2.0.tar.gz.

File metadata

  • Download URL: omero-demo-cleanup-0.2.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for omero-demo-cleanup-0.2.0.tar.gz
Algorithm Hash digest
SHA256 69c816df475c15c749ef08b451dfd90c5fb6aca007df400017a7faf9bca99810
MD5 e1037db0d0e7fb9704e70aa97de361d6
BLAKE2b-256 e93cb8bed7091255e7d8e9da365c06775d4bae58d2b5d2e591d306259b24568a

See more details on using hashes here.

File details

Details for the file omero_demo_cleanup-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for omero_demo_cleanup-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27ca648680c287e9e67324592f7666ebfd6f33e0ec23045451d352c221947e4a
MD5 b3178b96b723104c1590220992eb3c4c
BLAKE2b-256 c7b16e8d80c9852e5ba9d517b37c5c98b87dc3e1af99dfebdefccda1f7ed94d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page