Backup and Restore the HPE Networking Apstra Data Center Director ZTP Server

Starting in HPE Networking Apstra Data Center Director 6.1. you can backup and restore the Apstra DC Director ZTP server.

Backup the Apstra DC Director ZTP Server

  1. Issue the sudo ztp_backup command to create a snapshot of the Apstra DC Director ZTP server.

    As you can see, a snapshot of the Apstra DC Director ZTP server was created.

  2. Issue the sudo ls -lah /var/lib/apstra_ztp/snapshot command to create a backup directory.

    As you can see, the backup directory contains snapshots of the Apstra DC Director ZTP server.

Restore the Apstra DC Director ZTP Server

  1. Issue the sudo ls -lah /var/lib/apstra_ztp/snapshot/2026-01-20_05-50-40/ command to restore the files you backed up.
  2. Issue the sudo /var/lib/apstra_ztp/snapshot/2026-01-20_05-50-40/ztp_restore command to unpack the apstra_ztp installer, restore the database, restart ZTP service, and perform other tasks.

    ZTP has been restored.