Synology GitLab Backup and Restore
GitLab has built-in backup and restore capability, but it is not immediately apparent how to use backup and restore on the Synology NAS installation of GitLab. The following instructions may also be applicable for other Docker based GitLab installations. This post will explain how to protect your data in the GitLab repository. This is protecting against a catastrophic RAID failure, and also accidentally corrupting/destroying the repository. Please ensure you have backups stored off-site, and ideally multiple versions of the backup data. With any backup/restore procedures it is important that you are able to test/validate the ability to recover your data before you need to do so. TIP: Check out my quick fix if you get the dreaded GitLab 502 error .