{"action":"created","issue":{"url":"https://api.github.com/repos/rear/rear/issues/1037","repository_url":"https://api.github.com/repos/rear/rear","labels_url":"https://api.github.com/repos/rear/rear/issues/1037/labels{/name}","comments_url":"https://api.github.com/repos/rear/rear/issues/1037/comments","events_url":"https://api.github.com/repos/rear/rear/issues/1037/events","html_url":"https://github.com/rear/rear/pull/1037","id":183221326,"number":1037,"title":"Support for Borg","user":{"login":"gozora","id":12116358,"avatar_url":"https://avatars.githubusercontent.com/u/12116358?v=3","gravatar_id":"","url":"https://api.github.com/users/gozora","html_url":"https://github.com/gozora","followers_url":"https://api.github.com/users/gozora/followers","following_url":"https://api.github.com/users/gozora/following{/other_user}","gists_url":"https://api.github.com/users/gozora/gists{/gist_id}","starred_url":"https://api.github.com/users/gozora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gozora/subscriptions","organizations_url":"https://api.github.com/users/gozora/orgs","repos_url":"https://api.github.com/users/gozora/repos","events_url":"https://api.github.com/users/gozora/events{/privacy}","received_events_url":"https://api.github.com/users/gozora/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rear/rear/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},"assignees":[{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},{"login":"jsmeix","id":1788608,"avatar_url":"https://avatars.githubusercontent.com/u/1788608?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/rear/rear/milestones/10","html_url":"https://github.com/rear/rear/milestones/Rear%20v1.20","labels_url":"https://api.github.com/repos/rear/rear/milestones/10/labels","id":1957573,"number":10,"title":"Rear v1.20","description":"","creator":{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2016-08-23T09:54:06Z","updated_at":"2016-10-17T08:10:37Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"comments":6,"created_at":"2016-10-15T17:17:52Z","updated_at":"2016-10-17T11:00:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rear/rear/pulls/1037","html_url":"https://github.com/rear/rear/pull/1037","diff_url":"https://github.com/rear/rear/pull/1037.diff","patch_url":"https://github.com/rear/rear/pull/1037.patch"},"body":"Hello all,\r\n\r\nThis pull request is for issue #1030 (add support for Borg Backup).\r\nIt was tested on following distros, with [latest stable Borg release 1.0.7](https://github.com/borgbackup/borg/releases/tag/1.0.7):\r\n\r\nOS | Release | Kernel | Notes\r\n---|---|---|---\r\nSLES 11 | SP3 | 3.0.101-0.40-default | LEGACY BOOT\r\nSLES 11 | SP3 | 3.0.76-0.11-default | UEFI BOOT\r\nSLES 12 | SP1 | 3.12.49-11-default | UEFI BOOT, btrfs\r\nCentOS | 7.2.1511 (Core) | 3.10.0-327.36.2.el7.x86_64 | LEGACY BOOT \r\nCentOS | 7.2.1511 (Core) | 3.10.0-327.18.2.el7.x86_64 | UEFI BOOT\r\nDebian GNU/Linux | 8.6 (jessie) | 3.16.0-4-amd64 | UEFI BOOT\r\n\r\nI'll update documentation soon, for now here are some hits on setup:\r\n\r\n1. [Borg installation manual](https://borgbackup.readthedocs.io/en/stable/installation.html) recommends to install Borg to _/usr/local/bin_. I'd however recommend to use /usr/sbin instead, due reasons mentioned in point one [in comment](https://github.com/rear/rear/issues/1030#issuecomment-252999929).\r\n2. Before using ReaR with Borg, setup ssh keys for user that will be running backup. In other words, issuing following command must work without any password prompts or remote host identity confirmation.\r\n`ssh <borg_user>@<borg_server>`\r\n3. I've used following configuration to make Borg work with ReaR:\r\n```\r\nBACKUP=BORG\r\nOUTPUT=ISO\r\n\r\nOUTPUT_URL=nfs://<server_to_store_backups>/mnt/rear/iso\r\nBACKUP_PROG_EXCLUDE=( ${BACKUP_PROG_EXCLUDE[@]} /mnt /test/exclude )\r\n\r\nBORG_HOST=<server_to_store_backups>\r\nBORG_USERNAME=root\r\nBORG_REPO=/mnt/rear/borg/$HOSTNAME\r\nBORG_PRUNE_WEEKLY=2\r\n\r\nGRUB_RESCUE=n\r\n\r\n#BTRFS stuff\r\nREQUIRED_PROGS=( \"${REQUIRED_PROGS[@]}\" snapper chattr lsattr )\r\nCOPY_AS_IS=( \"${COPY_AS_IS[@]}\" /usr/lib/snapper/installation-helper /etc/snapper/config-templates/default )\r\n```"},"comment":{"url":"https://api.github.com/repos/rear/rear/issues/comments/254177118","html_url":"https://github.com/rear/rear/pull/1037#issuecomment-254177118","issue_url":"https://api.github.com/repos/rear/rear/issues/1037","id":254177118,"user":{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T11:00:29Z","updated_at":"2016-10-17T11:00:29Z","body":"@gozora Now that you got a fresh integration in your fingertips why don't you update the https://github.com/rear/rear/blob/master/doc/user-guide/10-integrating-external-backup.adoc document?"}}
{"actor":{"display_login":"gdha"}}