From e40b57559ac83b34481451b3bfbc4123e1554acb Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 2 Aug 2018 19:35:45 +0000 Subject: [PATCH] make sure we keep hardlinks for the 12GB docs-old --- roles/fedora-docs/proxy/files/docs-rsync | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/fedora-docs/proxy/files/docs-rsync b/roles/fedora-docs/proxy/files/docs-rsync index c2a3f165a4..34067ee02e 100755 --- a/roles/fedora-docs/proxy/files/docs-rsync +++ b/roles/fedora-docs/proxy/files/docs-rsync @@ -6,6 +6,6 @@ # build the combined docs tree. # See https://pagure.io/fedora-infrastructure/issue/7130 -/usr/bin/rsync -aH /srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs-combined/ -/usr/bin/rsync -aH /srv/web/docs-redirects/ /srv/web/docs-combined/ -/usr/bin/rsync -aH /srv/web/docs.fedoraproject.org/ /srv/web/docs-combined/ +/usr/bin/rsync -aSHPv --link-dest=/srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs-combined/ +/usr/bin/rsync -aSHPv --link-dest=/srv/web/docs-old.fedoraproject.org/public_html //srv/web/docs-redirects/ /srv/web/docs-combined/ +/usr/bin/rsync -aSHPv --link-dest=/srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs.fedoraproject.org/ /srv/web/docs-combined/