Skip to main content

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.

Release files for airgap 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airgap 0.1.0
File Size Uploaded
airgap-0.1.0.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airgap 0.1.0
File Interpreter ABI Platform
airgap-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / airgap-0.1.0.tar.gz

Download URL airgap-0.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a743331e2a9e8eacfe25290844ba8783a700d2c17bbd933317cf8ff99e4f97b8
BLAKE2b-256 checksum
How to use checksums
4a067c90c7f5cb4a2061f91536348f1c81e6b5eb82e308cd8ec3e1b203ab8b91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / airgap-0.1.0-py3-none-any.whl

Download URL airgap-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
904da721eb9264f1f1bbf7265eba178b942ae1a4122a1694de15e94d4f26f398
BLAKE2b-256 checksum
How to use checksums
01a56bb0b57609679a3d8a69925f6770a0803033f4ac35664b425a5e184583c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page