Skip to main content

Profile-based restic wrapper with Ansible deployment support

Project description

restic-profile

English | 简体中文

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 mkdocs.yml.

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.3.0.tar.gz (158.4 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.3.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: restic_profile_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 158.4 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.3.0.tar.gz
Algorithm Hash digest
SHA256 4a505828d41b58c4239e7fd8ad0b650a1cc27015b4320065e035e02e5e238753
MD5 590096489bf9f4561b55cea379b4f020
BLAKE2b-256 def52b571ce91eccd79ea05de67464689f2bd39e4aaa45be7164c656232276e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for restic_profile_cli-0.3.0.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for restic_profile_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc6c34068f0d0c94bde307621a6a8060ace665d18bef03084f1d45ce3c549b9f
MD5 54dac48c03ce3cf7cbb70b8dc0b953cf
BLAKE2b-256 44e0f557ec3deab94c8fa31e6b6f777c4a02701dcb7c3978bede2666b6e47134

See more details on using hashes here.

Provenance

The following attestation bundles were made for restic_profile_cli-0.3.0-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