Storage

GitLab Backup to Ceph Object Gateway

This is a quick braindump of setting up our home GitLab instance (on CentOS 8) to backup to an existing Ceph Object Gateway using the S3 API.

user@workstation tmp $ s3cmd  --access_key=FOO --secret_key=BAR ls s3://gitlab-backup/
2020-09-09 19:28    686305280  s3://gitlab-backup/1599679709_2020_09_09_13.3.5-ee_gitlab_backup.tar

GitLab Backup to CephFS

This is a quick braindump of setting up our home GitLab instance (on CentOS 8) to backup to an existing CephFS but with access limited to the directory /GitLab_backup.

[root@gitlab ~]# df -h /mnt/cephfs-GitLab_backup/
Filesystem      Size  Used Avail Use% Mounted on
ceph-fuse       5.3T  175G  5.1T   4% /mnt/cephfs-GitLab_backup