diff options
Diffstat (limited to 'lib/backup/pages.rb')
-rw-r--r-- | lib/backup/pages.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/backup/pages.rb b/lib/backup/pages.rb index ae293073ba2..393cf4108a1 100644 --- a/lib/backup/pages.rb +++ b/lib/backup/pages.rb @@ -2,12 +2,16 @@ module Backup class Pages < Backup::Files + # pages used to deploy tmp files to this path + # if some of these files are still there, we don't need them in the backup + LEGACY_PAGES_TMP_PATH = '@pages.tmp' + attr_reader :progress def initialize(progress) @progress = progress - super('pages', Gitlab.config.pages.path, excludes: [::Projects::UpdatePagesService::TMP_EXTRACT_PATH]) + super('pages', Gitlab.config.pages.path, excludes: [LEGACY_PAGES_TMP_PATH]) end end end |