Skip to content

Commit

Permalink
feat(velero): add hourly backups
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Aug 7, 2024
1 parent 8f2ce8d commit 3d62beb
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions kubernetes/core/velero.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,22 @@
}];
};

schedules.daily = {
schedule = "0 4 * * *";
template = {
ttl = "168h";
snapshotMoveData = true;
excludedNamespaces = [ "velero" ];
schedules = {
daily = {
schedule = "30 4 * * *";
template = {
ttl = "168h";
snapshotMoveData = true;
excludedNamespaces = [ "velero" ];
};
};
hourly = {
schedule = "0 * * * *";
template = {
ttl = "24h";
snapshotMoveData = true;
excludedNamespaces = [ "velero" ];
};
};
};

Expand Down

0 comments on commit 3d62beb

Please sign in to comment.