import { sdk } from './sdk'

export const { createBackup, restoreInit } = sdk.setupBackups(async () =>
  // Preserve the entire service volume so crm.db, backup JSON files, and the
  // persisted JWT secret all remain compatible with the prior package layout.
  sdk.Backups.ofVolumes('main'),
)
