Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Backup and Restore the Apstra ZTP Server

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

Backup the Apstra ZTP Server

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

    As you can see, a snapshot of the Apstra 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 ZTP server.

Restore the Apstra 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.