This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
b847baf8c4
gitlab-org--gitlab-foss
/
lib
/
backup
/
builds.rb
8 lines
118 B
Ruby
Raw
Normal View
History
Unescape
Escape
Cleanup CI backup => migrate with GitLab
2015-09-15 08:24:30 +00:00
module
Backup
Use tar for intermediate backup storage During the backup we create an intermediate copy of two directories: builds and uploads. Instead of creating many small files with 'cp -r', we now use tar (and fast gzip) to create single intermediate files. This saves on disk IO and disk space while creating a backup.
2015-10-06 12:43:19 +00:00
class
Builds
<
Files
Cleanup CI backup => migrate with GitLab
2015-09-15 08:24:30 +00:00
def
initialize
Use tar for intermediate backup storage During the backup we create an intermediate copy of two directories: builds and uploads. Instead of creating many small files with 'cp -r', we now use tar (and fast gzip) to create single intermediate files. This saves on disk IO and disk space while creating a backup.
2015-10-06 12:43:19 +00:00
super
(
Settings
.
gitlab_ci
.
builds_path
)
Cleanup CI backup => migrate with GitLab
2015-09-15 08:24:30 +00:00
end
end
end