backup-helper/README.md
2024-10-04 01:26:07 +02:00

525 B

backup-helper

Small NixOS module to do backups to my NAS.

Usage example

# Example uses sops to store repo password
sops.secrets."backup_helper_secret" = { };
backup-helper = {
  enable = true;
  password-file = "/run/secrets/backup_helper_secret";
  # Dirs to backup
  backup-dirs = [
    "/var/lib/important-data"
    "/home/user/stuff"
  ];
};

See this for all options and defaults.