Skip to main content

beamline hardware configuration backup tool

Project description

Code CI Docs CI Test Coverage Latest PyPI version Apache License

A tool for backing up the configuration of the following devices on a Beamline:

  • Motion Controller

    • VME pmacs

    • geobricks

  • zebras

  • Terminal servers

    • ACS

    • Moxa

Confluence

https://confluence.diamond.ac.uk/x/WoxKBg

PyPI

pip install dls_backup_bl

Source code

https://github.com/dls-controls/dls_backup_bl

Documentation

https://epics-containers.github.io/dls_backup_bl

Releases

https://github.com/dls-controls/dls_backup_bl/releases

How to Use

All examples here use the beamline i16. Substitute i16 with the beamline name you are working with.

Run these tools on a beamline workstation or provide the beamline name with the command line parameter --beamline i16.

First create a configuration file that describes the devices on the beamline. The following command will allow you to view and edit the list of devices that the backup process will manage:

dls-backup-gui

This will open a GUI that will allow you to configure the devices.

Once the configuration is complete you can launch the full backup with:

dls_backup_bl

Note that you can backup a subset of devices like this:

dls_backup_bl --devices BL16I-MO-STEP-01 BL16I-MO-STEP-02

More Help

Both tools have help which describes the command line options:

dls-backup-gui --help
dls_backup_bl --help

This confluence page has much more detailed https://confluence.diamond.ac.uk/x/WoxKBg

Backup Files

All the backup files are stored in /dls_sw/work/motion/Backups/BL16I

The device description file is /dls_sw/work/motion/Backups/BL16I/BL16I-backup.json

There are also log files in this directory. Plus a subfolder for each class of backup device.

The backup folder is a git repository and all backups are incremental only. The full history of backups can be retrieved with git commands.

See https://epics-containers.github.io/dls_backup_bl for more detailed documentation.

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

dls_backup_bl-0.1.1.tar.gz (73.6 kB view details)

Uploaded Source

Built Distribution

dls_backup_bl-0.1.1-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file dls_backup_bl-0.1.1.tar.gz.

File metadata

  • Download URL: dls_backup_bl-0.1.1.tar.gz
  • Upload date:
  • Size: 73.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for dls_backup_bl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 79f36a79de14872a3350ae5aeae73df8c3039f02c39183b8cceeb17409d5a527
MD5 9919de6d7829703c42718fd71d03d60c
BLAKE2b-256 33f271576de7e15c5dac96429447bcabc104f9a98619a281c650f2654ba1c276

See more details on using hashes here.

File details

Details for the file dls_backup_bl-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dls_backup_bl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ce43c73fc26ee72a8a418dc00fb730ecc48dbcf8bb3d6b55f0a028008439166
MD5 a0a107a2e827e9bc3d1cdbf78bc8d6df
BLAKE2b-256 747207de3ae537b320f98107c6f51c03d8ddfd47ff0b005a70cc50abd6a0f816

See more details on using hashes here.

Supported by

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