Skip to main content

Profile-based restic wrapper with Ansible deployment support

Project description

restic-profile

GitHub Actions Workflow Status PyPI - Version PyPI - Version Docs

Profile-based restic wrapper with Ansible deployment support.

Repository for the restic-profile Python CLI plus Ansible roles for restic-profile and restic-rest-server deployments.

Installation

uv sync --group dev

Optional Ansible Tooling

For Ansible role work, install the toolchain once at user level:

uv tool install ansible-dev-tools --with ansible \
	--with-executables-from ansible-builder,ansible-core,ansible-creator,ansible-dev-environment,ansible-lint,ansible-navigator,ansible-sign,molecule

Routine Ansible validation currently uses ansible-lint. Molecule scenarios remain in the repository as dormant assets and are not part of the supported validation loop.

If you use roles/go_build or the playbooks under playbooks/go_build/, the control node also needs a working go toolchain in PATH.

Repository Development Workflow

Clone collections into the ansible_collections/ak1ra_lab/ namespace layout:

mkdir -p ~/code/github.com/ansible/collections/ansible_collections/ak1ra_lab
git clone https://github.com/ak1ra-lab/ansible-collection-general.git \
	~/code/github.com/ansible/collections/ansible_collections/ak1ra_lab/general
git clone https://github.com/ak1ra-lab/restic-profile.git \
	~/code/github.com/ansible/collections/ansible_collections/ak1ra_lab/restic_profile

Usage

uv run restic-profile --help

For Ansible-managed backup servers, see the restic_rest_server role and the documentation under docs/restic-rest-server/.

Development

just lint
just typecheck
just test
just docs-build
ansible-lint

Documentation

The published documentation site lives at https://ak1ra-lab.github.io/restic-profile/, and local docs configuration is stored in zensical.toml.

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

restic_profile_cli-0.2.1.tar.gz (134.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

restic_profile_cli-0.2.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file restic_profile_cli-0.2.1.tar.gz.

File metadata

  • Download URL: restic_profile_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 134.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for restic_profile_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b7f4f433fea9885b99507e04c95142c49345c2768c21ad0c9ba96223147eed61
MD5 cdc0888568798035238f514e1598349e
BLAKE2b-256 30ce45415093566ad064c6a50c57b746387287907d49d997bf0a2492f66d0ba3

See more details on using hashes here.

Provenance

The following attestation bundles were made for restic_profile_cli-0.2.1.tar.gz:

Publisher: publish-to-pypi.yaml on ak1ra-lab/restic-profile

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file restic_profile_cli-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for restic_profile_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c001ced565d9d8a6d201357ce7169dd575e0eb4ea9bc867d48179e91c21b2155
MD5 73fe9742a49e9b0be8855239664b4cee
BLAKE2b-256 ceed1252ba5e560236a872e4d141f8e550e96a8f567d8a3389f2f2fa45b3c78b

See more details on using hashes here.

Provenance

The following attestation bundles were made for restic_profile_cli-0.2.1-py3-none-any.whl:

Publisher: publish-to-pypi.yaml on ak1ra-lab/restic-profile

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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