Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !7962

Closed
Created Oct 04, 2014 by Administrator@rootOwner9 of 9 tasks completed9/9 tasks
  • Report abuse
Report abuse

Backup compression option

  • Overview 49
  • Commits 1
  • Changes 5

Created by: soullivaneuh

As requested here, this PR add a compression option for backup.

TODO list:

  • Compression settings on gitlab.yml
  • Implement compression commands on backup create
  • The restore method should guess compression type and extract it to avoid BC break
  • Improve clean old backups method to fetch compressed packs
  • Check backup upload method to fetch compressed packs
  • Check for backup test and update it
  • Check if docs could be updated (upgrade)
  • Give some benchmark with dev env
  • Update CHANGELOG

This feature would be useful to save some space especially for big Gitlab platforms.

Some benchmark, done on my workstation with default dev env and data:

Extension Time Size
.tar 0m7.746s 101M
.tar.gz 0m10.158s 96M
.tar.bz2 0m20.678s 96M
.tar.xz 0m35.414s 80M

This benchmark use default compression level.

Tell me if I missed some check on todo list!

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/soullivaneuh/compression