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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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