Class: Backup::Pages
Constant Summary
Constants inherited from Files
Instance Attribute Summary collapse
-
#progress ⇒ Object
readonly
Returns the value of attribute progress.
Attributes inherited from Files
#app_files_dir, #backup_tarball, #excludes, #files_parent_dir, #name
Instance Method Summary collapse
-
#initialize(progress) ⇒ Pages
constructor
A new instance of Pages.
Methods inherited from Files
#backup_existing_files_dir, #dump, #exclude_dirs, #restore, #run_pipeline!, #tar
Methods included from Helper
#access_denied_error, #gzip_cmd, #resource_busy_error
Constructor Details
#initialize(progress) ⇒ Pages
Returns a new instance of Pages.
9 10 11 12 13 |
# File 'lib/backup/pages.rb', line 9 def initialize(progress) @progress = progress super('pages', Gitlab.config.pages.path, excludes: [::Projects::UpdatePagesService::TMP_EXTRACT_PATH]) end |
Instance Attribute Details
#progress ⇒ Object (readonly)
Returns the value of attribute progress
7 8 9 |
# File 'lib/backup/pages.rb', line 7 def progress @progress end |