From 97e23d4157c776c8ebec923b2e9f4273f97841ca Mon Sep 17 00:00:00 2001 From: infectormp Date: Thu, 16 Jan 2025 19:38:16 +0300 Subject: [PATCH 1/2] FAQ: Why backups are slow on a Linux server that is a member of a windows domain? --- docs/faq.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/faq.rst b/docs/faq.rst index c9f925a419..5bd0041ade 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -368,6 +368,14 @@ using ``nfs=nostale_ro``. Doing so implies mounting the filesystem read-only. Another option is to not consider inode numbers in the files cache by passing ``--files-cache=ctime,size``. +Why backups are slow on a Linux server that is a member of a windows domain? +---------------------------------------------------------------------------- + +By default, if a Linux server is a member of a windows domain, username +resolution is perfomed via winbind. This can cause a noticeable performance +degradation during the backup process. To avoid this, you should use a caching +service such as ``nscd``. + Security ######## From 6df8651022b559249d6b4c84fcdb4d1247fafa31 Mon Sep 17 00:00:00 2001 From: infectormp Date: Fri, 17 Jan 2025 06:24:08 +0300 Subject: [PATCH 2/2] FAQ: Why are backups slow on a Linux server that is a member of a windows domain? --- docs/faq.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/faq.rst b/docs/faq.rst index 5bd0041ade..375961411b 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -368,13 +368,12 @@ using ``nfs=nostale_ro``. Doing so implies mounting the filesystem read-only. Another option is to not consider inode numbers in the files cache by passing ``--files-cache=ctime,size``. -Why backups are slow on a Linux server that is a member of a windows domain? +Why are backups slow on a Linux server that is a member of a Windows domain? ---------------------------------------------------------------------------- -By default, if a Linux server is a member of a windows domain, username -resolution is perfomed via winbind. This can cause a noticeable performance -degradation during the backup process. To avoid this, you should use a caching -service such as ``nscd``. +If a Linux server is a member of a Windows domain, username to userid resolution might be +performed via ``winbind`` without caching, which can slow down backups significantly. +You can use e.g. ``nscd`` to add caching and improve the speed. Security ########