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.1.1.dev0.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.1.1.dev0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file omero-demo-cleanup-0.1.1.dev0.tar.gz.

File metadata

  • Download URL: omero-demo-cleanup-0.1.1.dev0.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.1.1.dev0.tar.gz
Algorithm Hash digest
SHA256 c0d95b78308636c41a5e74c45dbb21e32e821206f50bc2a0c6ef6a18f2eb5ef3
MD5 d21b366f86022e43f1033f69670c1ff5
BLAKE2b-256 f1803734719d7a9fe515f8534081b8c1cad1baeb3343ab0e646e807cff869bea

See more details on using hashes here.

File details

Details for the file omero_demo_cleanup-0.1.1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for omero_demo_cleanup-0.1.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a9eeae1de5dda4820d5a8951c74e7fd8552b0dd47e4040dc537b8fdc054e576
MD5 643de72db53564b9c9d6251c225dafdd
BLAKE2b-256 06a5039e0f651a24c903a37feb6d4c6458902738fe4b28d1f2e7be373a08e691

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