Skip to content

Backups

Backups for local systems#

Backups are performed using borgbackup

The warehouse is located on voile

NixOS#

A nixos module exists under modules/nixos/borg.

Darwin#

The darwin module was custom built and is under modules/darwin/borg.

Adding a host#

  1. Go to the nix-secrets repo and run generate-borg-secrets <hostname>
  2. This will create a repo key and passphrase in sops
  3. Commit and push the secrets
  4. Back in this repo, update-secrets
  5. Add the host to borg warehose
  6. Configure the host
...
tsunaminoai.borg = {
  enable = true;
  repo = "8a95a28d";
};
...
  1. Deploy

Schedule#

Backups are scheduled to run at 3am EST daily. Cronjobs for status and storage usage are configured in uptime kuma to alert if the backup fails or if the storage is getting low.

Backups for MS365#

Backups for all of the sc2.in domain are performened daily by the Active Backup MS365 package running on voile.

The portal for backups is located at Acive Backup for Microsoft 365 Portal

Backup Schedule