{"id":16243336,"url":"https://github.com/kpetremann/saltstack-borgbackup","last_synced_at":"2026-04-29T00:34:20.770Z","repository":{"id":52070715,"uuid":"362232332","full_name":"kpetremann/saltstack-borgbackup","owner":"kpetremann","description":"Saltstack modules for BorgBackup (https://borgbackup.readthedocs.io/en/stable/)","archived":false,"fork":false,"pushed_at":"2021-11-13T12:31:34.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T10:55:20.400Z","etag":null,"topics":["borgbackup","saltstack"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kpetremann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-27T19:46:16.000Z","updated_at":"2021-11-13T12:31:37.000Z","dependencies_parsed_at":"2022-08-28T15:41:02.966Z","dependency_job_id":null,"html_url":"https://github.com/kpetremann/saltstack-borgbackup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kpetremann/saltstack-borgbackup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpetremann%2Fsaltstack-borgbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpetremann%2Fsaltstack-borgbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpetremann%2Fsaltstack-borgbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpetremann%2Fsaltstack-borgbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kpetremann","download_url":"https://codeload.github.com/kpetremann/saltstack-borgbackup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpetremann%2Fsaltstack-borgbackup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["borgbackup","saltstack"],"created_at":"2024-10-10T14:14:39.596Z","updated_at":"2026-04-29T00:34:20.753Z","avatar_url":"https://github.com/kpetremann.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# Saltstack modules for BorgBackup\n\n## Execution modules\n\n#### latest\n\n```python\nlatest(repository_path)\n```\n\nGet latest archive in repository.\n\n**Arguments**:\n\n- `repository_path`: path of BorgBackup repository\n\n#### archives\n\n```python\narchives(repository_path)\n```\n\nList BorgBackup archives.\n\n**Arguments**:\n\n- `repository_path`: path of BorgBackup repository\n\n#### info\n\n```python\ninfo(repository_path, archive=\"\")\n```\n\nGet repository or archive information.\n\n**Arguments**:\n\n- `repository_path`: path of BorgBackup repository\n- `archive`: name of archive\n\n#### explore\n\n```python\nexplore(repository_path, archive, inpath=\"\")\n```\n\nList BorgBackup archive content.\n\n**Arguments**:\n\n- `repository_path`: path of BorgBackup repository\n- `archive`: name of archive\n- `inpath`: path of directory or file in the archive\n\n#### extract\n\n```python\nextract(repository_path, archive, inpath, target, strip_components=0, test=False)\n```\n\nExtract file or directory from BorgBackup archive.\n\n**Arguments**:\n\n- `repository_path`: path of BorgBackup repository\n- `archive`: name of archive\n- `inpath`: path of directory or file in the archive to extract\n- `target`: destination of the extract\n- `strip_components`: remove the specified number of leading path elements\n\n# State modules\n\n#### restore\\_file\n\n```python\nrestore_file(name, repository_path, archive, target_dir=None)\n```\n\nRestore file from BorgBackup archive.\n\nIf target_dir is not defined, the backup will be restored in original place.\n\n**Arguments**:\n\n- `name`: path of item in the archive to restore\n- `repository_path`: path of BorgBackup repository\n- `archive`: name of archive\n- `target_dir`: destination of the restoration, default is original path\n\n#### restore\\_directory\n\n```python\nrestore_directory(name, repository_path, archive, target_dir=None, overwrite=False)\n```\n\nRestore from BorgBackup archive.\n\nIf target_dir is not defined, the backup will be restored in place.\n\n**Arguments**:\n\n- `name`: path of item in the archive to restore\n- `repository_path`: path of BorgBackup repository\n- `archive`: name of archive\n- `target_dir`: destination of the restoration, default is original path\n- `overwrite`: overwrite directory in target_dir\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpetremann%2Fsaltstack-borgbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpetremann%2Fsaltstack-borgbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpetremann%2Fsaltstack-borgbackup/lists"}