#25 Gitlab backup options #116

Open
esy wants to merge 6 commits from gitlab_backup into main
Showing only changes of commit 4312f438ee - Show all commits

View file

@ -221,9 +221,9 @@ in {
# see https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/gitlab.nix#L295 # see https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/gitlab.nix#L295
backup = { backup = {
startAt = "Sat *-*-* 04:00:00"; # Sat 4am weekly startAt = "Sat *-*-* 04:00:00"; # Sat 4am weekly
path = backup_path; # Has to be same as line 182 path = backup_path;
keepTime = 24; # (Hours) Backups are uploaded to seperate server keepTime = 24; # (Hours) Backups are uploaded to seperate server
skip = ["builds" "artifacts" "registry" "packages" "terraform_state"]; # see https://docs.gitlab.com/ee/administration/backup_restore/backup_gitlab.html#excluding-specific-data-from-the-backup skip = ["builds" "artifacts" "registry" "terraform_state"]; # see https://docs.gitlab.com/ee/administration/backup_restore/backup_gitlab.html#excluding-specific-data-from-the-backup
}; };
# use the local email client # use the local email client