The dalp Helm chart can schedule Kubernetes resource and volume backups through Velero. Managed databases, object stores and decryption secrets require their own backup and recovery plans.
DALP publishes no recovery time objective (RTO) or recovery point objective (RPO): both come from your chosen services, schedules and rehearsed restores. Configure every backup path and run a test restore in an isolated environment before production.
In an incident, go to Restoring a whole instance. To check that your backups are usable, go to Verify a backup is usable.
Who owns what
The charts run the platform and give you the switches for backup. Your team and your service providers own the recovery plan around them.
This split applies when your team operates the instance. When SettleMint hosts or operates it (Hosting and access), your service agreement sets who carries each item in the last column. What the charts provide does not change.
What is stateful
Platform pods keep no durable state of their own: caches and in-flight work in a pod are lost when it stops. Everything that must survive a failure sits in one of these stores.
What gets backed up, and what does not
When you turn on the dalp chart's backup block, the charts back up what runs inside your Kubernetes cluster through Velero, the Kubernetes-native backup tool they drive. A service outside the cluster, such as your PostgreSQL, Redis or object storage, backs up through its own mechanism, not through DALP. Prerequisites lists a tested backup and restore for PostgreSQL and object storage as a go-live item.
The schedule runs no Velero backup hook, so a Velero copy of a database volume is a crash-consistent file-system copy, not a pg_dump or an application-quiesced snapshot. If you run PostgreSQL inside the cluster, use a database-native backup and verify recovery for production data.
The dalp chart's Velero schedule backs up the release namespace, while PostgreSQL, Redis and object storage that you
supply back up through their own providers.
How the backup block works
The dalp chart never deploys a Velero server. Enabling its backup block (off by default) renders a BackupStorageLocation and Schedule that require a running Velero or OpenShift OADP server to take effect.
Velero reconciles only its own namespace, so set backup.veleroNamespace to the Velero server's namespace (such as openshift-adp for OADP) and place any existingSecret there. Bind cloud workload identities (IRSA, Azure managed identity, GCP workload identity) to the Velero server's ServiceAccount.
Replace the development storage defaults (an in-cluster endpoint with backup.) before enabling backups (see Decisions to make before you need a restore). Credential Secret rendering follows this table:
What the default schedule captures
These are the dalp chart's own backup.* defaults.
Point-in-time recovery
Point-in-time recovery returns a database to a chosen moment between two backups by replaying its write-ahead log. The DALP charts do not configure it. The Velero schedule copies each volume's files once a day by default, so its recovery points are the schedule's run times and not arbitrary moments.
For production, point-in-time recovery is a feature of your managed PostgreSQL service. Ask the provider for three answers and record them in the database's recovery plan:
- The retention window, meaning how far back you can restore.
- The finest restore granularity.
- Whether a restore creates a new instance, which decides how you repoint the platform to it.
A restore to an earlier moment removes the off-chain records written after it. Whatever reached the ledger after that moment stays on the ledger. With the default local secret manager, a signer key or secret created after the restore point is lost with it, and the platform can no longer sign for the on-chain assets or roles that key controls. The indexer resumes from the position stored in the restored database and reads forward from there. Compare restored records with the ledger before you reopen traffic.
A transaction the platform sent after the restore point can reach the ledger while its request reads as never signed. Before a sender's nonce lane reserves a new nonce, it reads every nonce of that sender the ledger has used and the platform no longer holds a record of, and gives the request that carries the call its own transaction back, so the write is not signed a second time. Nonce management describes that check and the requests it flags as may already be on chain.
Decisions to make before you need a restore
Decide your storage target and who owns its credentials. backup.storage.provider accepts s3, aws, azure, or gcp. The shipped default endpoint is an in-cluster address, and the default s3 location ships with backup. set to true, so point it at a bucket you supply and set that value to false. Store production recovery points outside the failure domain they must recover from. The chart creates no inline credentials secret for GCP. Either supply backup. or set backup. and skip the secret entirely.
Decide your retention window from your compliance or evidentiary needs. The 30-day default TTL is the only retention control. Velero keeps no minimum count of backups once older ones expire. If a regulator or an internal policy expects a longer recovery window, raise retention.days. Do not assume a floor exists underneath it.
Decide whether the default label scope (kots.) covers every object you expect. Any unlabelled or relabelled resource drops out silently with no alert. pgbouncer and postgres-exporter do not carry the label, and umbrella resources (including the shared environment Secret holding ENCRYPTION_ and BETTER_AUTH_SECRET) carry it only if you add kots. to global.labels.
Adding that label copies the master password into the backup bucket. Without it, a Velero-only restore needs a helm upgrade to recreate the Secret from your secret manager. Compare kubectl get all,pvc,configmap,secret - against the unlabelled listing to verify scope.
Decide how each datastore fails over and recovers. You supply PostgreSQL, Redis and object storage, so a restore and a failover promise only what your providers promise. See Failing over.
Confirm the backup alerts reach someone. Three Velero alert rules ship in the observability stack, and all three default to warning severity, not critical. They fire only after you switch on alerting in the observability stack and only when the Velero server's metrics are scraped. Until then, nothing alerts on a failed backup.
A stale schedule can run silently broken for more than a day before VeleroBackupStale fires, because the rule waits for 24 hours without a success and then holds for 15 minutes. If your operating process needs faster notice than that, do not assume the default severity routes to an on-call page. Confirm it does, or raise it.
Verify a backup is usable
The Grafana dashboard Cluster · Backups & Policy (uid backups-policy) and the three Velero alerts show whether scheduled backups completed. They stay silent when Velero is not running, not scraped, or has never finished a backup, and they never prove that restored data boots cleanly. Only a test restore proves usability.
Schedule a test restore before production go-live and after any change to backup.storage, backup.labelSelector or backup.schedule. Restore into an isolated namespace, verify resource and volume counts, and boot the application against restored database data. Because a restored environment Secret points at production datastores and endpoints, apply the isolation in Rehearse a recovery step 1 before pods start, then delete the test namespace once verified.
Restoring from a backup
-
Confirm which backup you are restoring from. A backup's phase must read
Completed, notPartiallyFailed, before you trust it as your restore source. A partial failure means some resources or volumes did not make it in.kubectl get backups.velero.io -n <velero-namespace>This lists every backup in the namespace, including those the
<fullname>-dailyschedule created.<velero-namespace>is the release namespace unless you setbackup.veleroNamespace. -
Decide your target before you create the restore. Restoring into the same namespace where the original resources still exist behaves differently from restoring into an empty namespace or a new cluster. Existing-resource handling depends on Velero's configured restore policy. Do not assume a restore overwrites live resources. For a test restore, set
spec.namespaceMappingon theRestore(step 3) to restore into an empty namespace instead of overwriting anything live. -
Create the restore from the chosen backup by applying a
Restoreresource, then watch its phase rather than assuming it finished because the command returned.apiVersion: velero.io/v1 kind: Restore metadata: name: <restore-name> namespace: <velero-namespace> spec: backupName: <backup-name> namespaceMapping: <original-namespace>: <target-namespace>kubectl get restores.velero.io <restore-name> -n <velero-namespace> -w -
Wait for volume restores to finish separately from the resources that reference them. The default schedule backs up volumes at the file-system level, so a restored pod can stay pending after its other resources already exist, while its volume's own restore is still copying data in the background. Watch the
PodVolumeRestoreresources Velero creates for this restore, not only the pod's own status:kubectl get podvolumerestores.velero.io -n <velero-namespace> -
Confirm what came back before calling the restore complete. A
Completedrestore proves Velero copied files, not transactional consistency for an in-cluster database. Boot the application and run the checks in Verify a backup is usable.
Restoring a whole instance
A Velero restore brings back cluster resources and volumes. A full recovery after losing a cluster or a region also needs the datastores, the secrets and the ledger connection. Before step 1, confirm that the lost instance is stopped, so that two instances never act on the same ledger at once. Restore in this order. Steps 1 and 2 gate the platform, and steps 3 and 4 can run beside step 2. Keep traffic closed until step 8.
- Recreate the secrets. Take
ENCRYPTION_andMASTER_ PASSWORD BETTER_AUTH_SECRETfrom your secret manager, and setDALP_from your recorded values file, all to the values the lost instance used, together withGOVERNANCE_ DOMAIN_ SCOPE CUSTODY_andCREDENTIAL_ IDENTITY_ KEY CUSTODY_(Custody credential identity key). The platform refuses to start without the master password, a different password cannot decrypt the restored rows, a changed governance domain scope invalidates every ballot signed under the old name, and a changed custodian credential identity key leaves stored credential identities incomparable until the backfill re-hashes them. Restore the credentials of a custody provider from the same source. WhenCREDENTIAL_ IDENTITY_ KEY_ ID secretManager.provideris notlocal, restore that store to the same point as PostgreSQL. Values and secrets describes each value. - Restore PostgreSQL through your provider, either from a backup or to a chosen moment (Point-in-time recovery). Point
global.datastoresat the restored instance. The network catalogue and the RPC endpoint pools are in this database, so they return with it. Their credentials decrypt with the master password from step 1. - Restore object storage through your provider, from its versions or its replica.
- Provide a Redis service. There is nothing to restore, because the platform treats Redis as a cache and notification transport.
- Install or upgrade the
dalpchart. With the default hook type, the migration Job runs first, and the application Deployments update only after it succeeds. See Upgrades and migrations. - Confirm that every network's endpoint pool is reachable from the new site, and that each network still has at least two endpoints.
- Watch the indexer catch up (see Catch-up and re-index time). Confirm the application starts cleanly, Platform status shows no stalled workflows, and restored records agree with the ledger.
- Switch DNS, ingress and routing to the recovered site, and reopen traffic.
Catch-up and re-index time
DALP publishes no fixed catch-up duration, because timing depends on chain history and RPC throughput.
After a database restore, the indexer replays only blocks between the stored position and chain head. Monitor progress on Platform status → Data freshness → Indexing and through dalp_ and dalp_ (see Ledger indexing stalled).
A full rebuild takes longer, replaying every block from the start block into a new dataset while the current dataset keeps serving (triggered by a release or a chain generation mismatch, see Ledger indexing stalled). Rebuilds require an archive-capable endpoint, and reads hitting unavailable data may receive a retryable rebuilding response. Measure a rebuild on your own history before relying on it in a recovery plan.
Failing over
Failover splits into three jobs, because they answer to three different owners: compute, the stateful layer and the ledger connection.
Compute failover is a reschedule, because every Platform API pod and the Console are stateless. Recovering compute also requires reachable datastores, secrets, registry access, network endpoints, and routing in the target environment. Validate those dependencies before sending traffic there.
The stateful layer is where failover is decided, and it depends entirely on the services you supply. Failover for PostgreSQL, Redis and object storage is your provider's own replication and promotion mechanism, not something these charts orchestrate. A provider running a live standby promotes it, and your recovery point tracks that standby's replication lag, not the age of your last Velero backup.
A datastore with no live standby has nothing to fail over to. A cluster or regional loss then means restoring your most recent backup into new infrastructure, not promoting a replica. Recovery reaches the latest usable backup. Successful daily backups can leave a 24-hour gap, and missed or unusable backups make the gap longer. Choose services with a replica or standby for production.
PostgreSQL can lose its latest commits while DALP keeps running, for example when you promote a standby that lags. The lost commits can include Workflow Engine messages that DALP stored and had not delivered. While a runner or API pod waits for the reply to such a message, it checks every 10 seconds by default that the database still holds the message. When the message is missing, the pod stores it again, and the work it starts continues without a restart. A pod that does this logs the warning “Stored a persisted request again because its row vanished while a caller waited”. If the lost commits also held the reply, that work runs again, as it can after a runner crash.
A pod stores a message again only while it keeps running and waits for the reply, so a restore that restarts the pods, as in Restoring a whole instance, stores nothing again. After any loss of commits, compare your records with the ledger. Also check Platform status → Workflows in each organisation, bearing in mind that its stalled figure counts only runs started in the last 24 hours.
Failover to the ledger is a third job, and the platform does it for you when a network has more than one endpoint. The platform scores each endpoint in a network's pool on its error rate, its latency, how far it lags behind the chain head and how far it lags behind finality. Each endpoint also carries a weight that a platform administrator sets in the pool. The platform then routes as follows:
- It leaves out an endpoint whose head lag passes 50 blocks or whose score falls below 0.25.
- It sends calls to the healthy endpoint with the highest weight, and prefers the better score among endpoints of equal weight.
- It retries a transient error with backoff and moves away from a dead endpoint.
- If every reachable endpoint is excluded, it keeps calling the excluded ones rather than failing.
- It keeps the serving endpoint when the best rival has the same weight, the last switch was under 60 seconds ago and the rival scores less than 0.1 higher. This stops two healthy endpoints from trading places. An endpoint that falls out of the healthy set is replaced without waiting for that interval.
- If no endpoint can serve a call, the caller receives an error.
A platform administrator can tune these limits live under Platform admin → Networks (Networks). Health-based routing requires fresh scores: if no usable score exists for a network, DALP falls back to configured endpoint order without excluding unhealthy nodes, and Rpc fires after 15 minutes. A network with a single endpoint has no failover.
What sets your RTO and RPO
Your RPO is the longest span of recent data you accept losing, stated as a time. Your RTO is the longest outage you accept before the platform serves traffic again. DALP states neither as a number, and no figure on this page is a commitment. Each one depends on choices that sit with different owners, and the weakest store sets the objective for the platform as a whole.
Set the objectives per data class with your risk owner. Off-chain records and documents have no other copy, and usually need the tightest RPO. Indexed read models can be rebuilt from the ledger, so a looser RPO costs time and not data. Retention (backup.retention.days, 30 by default) sets how far back you can restore, and does not set the RPO. A provider's published service levels apply to that provider's service alone and do not add up to an objective for the platform as a whole.
Rehearse a recovery
DALP ships no disaster recovery test tool, so you schedule and record the drill. Run it on the occasions that Verify a backup is usable lists, and after a change of database or object storage provider.
- Build an isolated target. The target holds production's master password, workflow journals and, with the default secret manager, signer keys, and its restored endpoint pools point at production endpoints.
- Use a separate namespace or cluster, and never the namespace that serves production.
- Before the pods start, block all egress except to ledger endpoints that serve reads only. That includes your custody provider and webhook receivers. A
localsigner signs inside the platform, so blocking the custody provider alone does not stop it. - Give the target its own
DALP_, because the chart's values say never to copy the scope between installs. Ballots signed under the production scope then stop verifying in the target, which a drill does not need.GOVERNANCE_ DOMAIN_ SCOPE - Copy
CUSTODY_, although the values give the same rule for it, so the restored custody credentials stay readable. That is one more reason to keep the target isolated and delete it in step 6.CREDENTIAL_ IDENTITY_ KEY - After the pods start, replace each pool in the Console under Networks with endpoints that serve reads only and refuse transaction submission, before you time the indexer catch-up. The network catalogue in the database overrides the deployment values.
- Note the moment at which you simulate the failure. Restore PostgreSQL, object storage and the secrets from the sources your plan names, following steps 1 to 7 of Restoring a whole instance, apart from the governance domain scope in step 1. Run the checks in step 5 below before any routing change, and simulate step 8 without moving production traffic.
- Time the drill from the moment you noted to the point where the target could serve traffic. Record each stage as well: the secrets, the database restore, the object storage restore, the migration Job, the pods becoming ready and the indexer's lag reaching zero. Stages that run beside each other count once. The result is your measured RTO. If your drill skips a stage, say which one.
- Compare the newest record in the restored instance with production at the moment you noted in step 2. The difference is your measured RPO.
- Run the checks in Verify a backup is usable and confirm that the application starts against the restored data.
- Record the timings and the gaps against the objectives, delete the target, and fix what the drill exposed before the next one.
What deletion removes
Once retention.days elapses, 30 days by default, Velero deletes that recovery point and the objects it wrote from your bucket, with no undo. Deleting the bucket a BackupStorageLocation points at destroys every recovery point that location owns, not only the newest one.
Measure recovery time with your own volumes. The chart does not guarantee a restore duration.
For restores into a namespace with existing resources, check the behaviour of your installed Velero version and its resource policy first. An isolated test target avoids relying on overwrite behaviour.
Frequently asked questions
Does a restore bring back cluster-scoped resources like ClusterRoles?
No. includeClusterResources is hardcoded false in the default schedule, so nothing cluster-scoped ever enters the backup, and a restore has nothing to bring back for it. If your workload depends on a ClusterRole, a ClusterRoleBinding, or another cluster-scoped object, reapply it separately, from your chart's rendered manifests or your own record of it, before or after the restore runs.
Does raising backup.retention.days extend the life of backups that already exist?
No. Velero sets a backup's time-to-live from retention.days at the moment that backup is created, not on an ongoing basis, so a change to the value only lengthens the life of backups taken afterwards. A recovery point already deleted stays deleted, and one still alive under a shorter TTL from before your change keeps that original TTL rather than adopting the new one.
If I change backup.storage.provider, do my existing backups move with it?
No. The dalp chart's BackupStorageLocation keeps one fixed name regardless of provider, and changing backup.storage.provider repoints that same location at a different bucket or account rather than copying objects between them. Your existing recovery points stay in the old bucket and become unreachable through this location once you repoint it, so migrate or archive anything you still need before you switch.