From 4fcc2cc1d2c09aaf9be0b03b3a7d4ae9a08562b8 Mon Sep 17 00:00:00 2001 From: TW Date: Thu, 14 May 2026 00:18:41 +0200 Subject: [PATCH 1/3] Apply suggested fix to docs/deployment/pull-backup.rst from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- docs/deployment/pull-backup.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment/pull-backup.rst b/docs/deployment/pull-backup.rst index 2a03e1c71..1d380fdbc 100644 --- a/docs/deployment/pull-backup.rst +++ b/docs/deployment/pull-backup.rst @@ -359,7 +359,7 @@ dedicated ssh key: :: borgs@borg-server$ install -m 700 -d ~/.ssh/ - borgs@borg-server$ ssh-keygen -N '' -t rsa -f ~/.ssh/borg-client_key + borgs@borg-server$ ssh-keygen -N '' -t rsa -f ~/.ssh/borg-client_key borgs@borg-server$ { echo -n 'command="borg serve --restrict-to-repo ~/repo",restrict '; cat ~/.ssh/borg-client_key.pub; } >> ~/.ssh/authorized_keys borgs@borg-server$ chmod 600 ~/.ssh/authorized_keys @@ -367,7 +367,7 @@ dedicated ssh key: Create directory ~/.ssh with correct permissions if it does not exist yet. -``ssh-keygen -N '' -t rsa -f ~/.ssh/borg-client_key`` +``ssh-keygen -N '' -t rsa -f ~/.ssh/borg-client_key`` Create an ssh key dedicated to communication with borg-client. From b404c36ae0a9e022999527d38cddd0044ec48004 Mon Sep 17 00:00:00 2001 From: TW Date: Thu, 14 May 2026 00:18:41 +0200 Subject: [PATCH 2/3] Apply suggested fix to docs/deployment/pull-backup.rst from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- docs/deployment/pull-backup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment/pull-backup.rst b/docs/deployment/pull-backup.rst index 1d380fdbc..8d45ea840 100644 --- a/docs/deployment/pull-backup.rst +++ b/docs/deployment/pull-backup.rst @@ -106,7 +106,7 @@ create the backup, retaining the original paths, excluding the repository: :: - borg create --exclude borgrepo --files-cache ctime,size --repo /borgrepo archive / + borg create --exclude borgrepo --files-cache ctime,size --repo /borgrepo archive / For the sake of simplicity only ``borgrepo`` is excluded here. You may want to set up an exclude file with additional files and folders to be excluded. Also From 620e2534b80abe6bff998d78a915a55ce7bd59f1 Mon Sep 17 00:00:00 2001 From: TW Date: Thu, 14 May 2026 00:18:42 +0200 Subject: [PATCH 3/3] Apply suggested fix to docs/deployment/pull-backup.rst from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- docs/deployment/pull-backup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment/pull-backup.rst b/docs/deployment/pull-backup.rst index 8d45ea840..9805ece76 100644 --- a/docs/deployment/pull-backup.rst +++ b/docs/deployment/pull-backup.rst @@ -63,7 +63,7 @@ completely in every aspect from such a backup. .. warning:: The chroot method was chosen to get the right user and group name-id - mappings, assuming they only come from files (/etc/passwd and group). + mappings, assuming they only come from files (/etc/passwd and /etc/group). This assumption might be wrong, e.g. if users/groups also come from ldap or other providers. Thus, it might be better to use ``--numeric-ids`` and not archive any