Skip to main content

No project description provided

Project description

Airgap SAK (Swiss Army Knife)

This Python script automates the backup and restore processes for Anchore databases deployed in a Kubernetes cluster.

Prerequisites

  • Python 3.x
  • (If running a backup or restore) kubectl command-line tool installed and configured to access the Kubernetes cluster where Anchore is deployed.

Usage

  1. pip3 install airgap
  2. Run the tool with appropriate arguments:
airgap [-b or -r] [-n NAMESPACE] [-f FEEDDB_BACKUP_NAME] [-e FEEDDB_NAME]
airgap --clamav

Command-line Arguments

  • -b: Perform a backup (default action).
  • -r: Perform a restore.
  • -c or --clamav: Download the latest ClamAV DB.
  • -n, --namespace: The namespace in which Anchore is deployed. Defaults to anchore.
  • -f, --feeddb: The filename to backup/restore the Anchore feed database.
  • -e, --feeddb-name: The name of the feeds database. Defaults to anchore-feeds. Only used during backup.

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

airgap-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

airgap-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file airgap-0.1.0.tar.gz.

File metadata

  • Download URL: airgap-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for airgap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a743331e2a9e8eacfe25290844ba8783a700d2c17bbd933317cf8ff99e4f97b8
MD5 39701d67439f6d06e6a32c07e5b9a047
BLAKE2b-256 4a067c90c7f5cb4a2061f91536348f1c81e6b5eb82e308cd8ec3e1b203ab8b91

See more details on using hashes here.

File details

Details for the file airgap-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: airgap-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for airgap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 904da721eb9264f1f1bbf7265eba178b942ae1a4122a1694de15e94d4f26f398
MD5 ffa16136de15c4be2df3ed8cff6515bd
BLAKE2b-256 01a56bb0b57609679a3d8a69925f6770a0803033f4ac35664b425a5e184583c6

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