{"id":21310287,"url":"https://github.com/vcputtini/l1borg","last_synced_at":"2025-07-31T00:41:10.702Z","repository":{"id":201040352,"uuid":"347152709","full_name":"vcputtini/l1borg","owner":"vcputtini","description":"l1borg is a utility designed to solve some of my needs for automating the use of BorgBackup. The l1borg load the settings for the backup running from the XML file l1borg.xml, and run the BorgBackup with the necessary parameters, in addition to being able to execute the native BorgBackup commands like: list, info, mount and so on.","archived":false,"fork":false,"pushed_at":"2021-04-07T13:11:51.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T20:30:29.515Z","etag":null,"topics":["backup","borg","borgbackup","cpp","cpp17"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vcputtini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-12T17:57:39.000Z","updated_at":"2023-10-18T16:38:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"ceec3cdf-b373-484e-95d6-ce7384d61559","html_url":"https://github.com/vcputtini/l1borg","commit_stats":null,"previous_names":["vcputtini/l1borg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vcputtini/l1borg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcputtini%2Fl1borg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcputtini%2Fl1borg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcputtini%2Fl1borg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcputtini%2Fl1borg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vcputtini","download_url":"https://codeload.github.com/vcputtini/l1borg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcputtini%2Fl1borg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267967720,"owners_count":24173566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backup","borg","borgbackup","cpp","cpp17"],"created_at":"2024-11-21T17:12:58.130Z","updated_at":"2025-07-31T00:41:10.636Z","avatar_url":"https://github.com/vcputtini.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## l1borg\n\nThe [1]BorgBackup is an amazing program to backup both local and remote using deduplication techniques. It is very simple to use and its features allow us to create scripts to customize and automate your operation.\n\n\u003cb\u003el1borg\u003c/b\u003e is a utility designed to solve some of my needs for automating the use of BorgBackup.\u003cbr\u003e\nThe \u003cb\u003el1borg\u003c/b\u003e load the settings for the backup running from the XML file \u003ci\u003el1borg.xml\u003c/i\u003e, and run the BorgBackup with the necessary parameters.\n\n\u003cb\u003el1borg\u003c/b\u003e doesn't handle remote repositories, but only local.\u003cbr\u003e\nAt thist time, I don't really intend to make it a utility with many functions, and its evolution is linked to my usage needs, but feel free to use it as a starting point for a fork or new ideas.\n\n\u003cb\u003el1borg\u003c/b\u003e was coded entirely in C++. As I consider QtCreator(tm) to be an excellent development environment, I use it for my projects, even if these don't directly involve using the Qt(tm) tools.\n\n### Dependencies for compilation:\ngcc/g++ which meets the c++17\nLibs: tinyxml2 and Boost\n\n### My environment\u003cbr\u003e\nFedora 33\u003cbr\u003e\ngcc (GCC) 10.2.1 20201125\u003cbr\u003e\nQtCreator 4.14 (Qt 5.15.2)\u003cbr\u003e\ncmake version 3.18.4\u003cbr\u003e\nBoost 1.73\u003cbr\u003e\ntinyxml2-7.0.1-5\u003cbr\u003e\n\n### Flowchart\n![](docs/flowchart.png)\n\n### Usage\u003cbr\u003e\n\n__l1borg__ --help\u003cbr\u003e\nValid options are:\u003cbr\u003e\n--init-repo   : Initialize all repositories.\u003cbr\u003e\n--make-backup : Make backup.\u003cbr\u003e\n--cmd         : Execute a BorgBackup command.\u003cbr\u003e\n\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;Double quotes are mandatory:\u003cbr\u003e\n\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;e.g.: l1borg --cmd info PATH/REPONAME --prefix=srv1\u003cbr\u003e\n(the _--list_, _--info_, _--diff_ and _[u]mount_ commands are only simplifications of analogous commands in BorgBackup.)\u003cbr\u003e\n--info        : all | REPONAME[::FILENAME]\u003cbr\u003e\n\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;NOTE: Enter only the repository name without the path: e.g: --info R1 | --info R1::archive\u003cbr\u003e\n--list        : all | REPONAME[::FILENAME]\"\u003cbr\u003e\n\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;NOTE: Enter only the repository name without the path: e.g: --list R1 | --list R1::archive\u003cbr\u003e\n--diff        : REPONAME::ARCHIVE1 ARCHIVE2\u003cbr\u003e\n\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;NOTE: Enter only the repository name without the path\u003cbr\u003e\n--[u]mount    : Mount/umount an archive from a repository\u003cbr\u003e\n\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;--mount R1::ARCHIVE MOUNTPOINT\u003cbr\u003e\n\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;--umount MOUNTPOINT\"\u003cbr\u003e\u003cbr\u003e\n\n__l1borg.xml__ Sample: See docs/l1borg.xml\n\n\n## References\n[1] BorgBackup \u003chttps://borgbackup.readthedocs.io/en/stable/index.html\u003e\u003cbr\u003e\nCopyright (C) 2015-2020 The Borg Collective\n\u003chttps://borgbackup.readthedocs.io/en/stable/authors.html\u003e\u003cbr\u003e\nCopyright (C) 2010-2014 Jonas Borgström\u003cbr\u003e \u003cjonas@borgstrom.se\u003e All rights reserved.\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcputtini%2Fl1borg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvcputtini%2Fl1borg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcputtini%2Fl1borg/lists"}