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
pip3 install airgap
- 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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a743331e2a9e8eacfe25290844ba8783a700d2c17bbd933317cf8ff99e4f97b8 |
|
MD5 | 39701d67439f6d06e6a32c07e5b9a047 |
|
BLAKE2b-256 | 4a067c90c7f5cb4a2061f91536348f1c81e6b5eb82e308cd8ec3e1b203ab8b91 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 904da721eb9264f1f1bbf7265eba178b942ae1a4122a1694de15e94d4f26f398 |
|
MD5 | ffa16136de15c4be2df3ed8cff6515bd |
|
BLAKE2b-256 | 01a56bb0b57609679a3d8a69925f6770a0803033f4ac35664b425a5e184583c6 |