ddvault Knowledge base

Operations

Off-site copies and recovery

Metadata backup, replication, self-healing, restoring from a replica and recovering a broken appliance.

After deduplication a backup exists only as a recipe: the list of blocks each object is made of, kept in the pool's index. Protect both the index and the data.

Metadata backup (all editions)

Copies the index off the appliance every 5 minutes: buckets, every object version with its retention and block list, but no block data. It is small, about 0.05% of the backups it describes.

Set it up under Storage → Metadata backup, to a cloud blob container or a folder. It is encrypted with the metadata backup key: save the key (Show key) away from the appliance. Blobs are written once, so an immutable container works.

If an index is ever lost or damaged while the data disk is intact, it can be rebuilt from the metadata backup:

sudo systemctl stop ddvault
sudo ddvault metadata-restore -replace
sudo systemctl start ddvault

Replication (Pro)

Replication copies buckets to a cloud blob container or a folder on another NAS: deduplicated (only blocks the replica doesn't have yet are sent), encrypted with the replica's recovery key, every 15 minutes by default, with an optional bandwidth limit. Pause stops it during working hours on a slow line; Resume carries on where it stopped.

Save the recovery key (Show recovery key): without it the replica cannot be read. Immutable containers work: every blob is written once.

Self-healing (Pro)

Every read and the weekly integrity scrub check each block against its SHA-256 fingerprint. With replication on, a damaged or missing block is fetched from the replica, checked and written back. Scrub reports what it repaired and what it could not, and both raise an alert.

Restore from a replica

Needs no licence. On this appliance or a new one: Replication → Restore from a replica, enter the location and the recovery key, pick buckets (and a new name if one exists), and restore. Blocks the appliance already has are not downloaded again.

The appliance's system disk is lost

The data disk carries a copy of the appliance's settings: S3 keys, certificate, licence, network, iSCSI targets and file-share users.

  1. Create a new VM from the same (or a newer) image, with the same Secure Boot settings.
  2. Attach the old data disk and any pool disks. Do not add an empty disk.
  3. Start it. It finds the data disk, restores the settings and pools, and shows Status: ready (recovered from the data disk).

The backup software reconnects with the same address, keys and certificate. If the data store was on an iSCSI LUN, connect it first from the console menu (sudo ddvault-setup → Data storage → Connect iSCSI storage).