You can use the Apstra CLI tool to do this. It runs as a Docker container and connects to your Apstra instance.
https://www.juniper.net/documentation/us/en/software/apstra4.2/apstra-user-guide/topics/topic-map/apstra-cli.html
Example command to download content: 'content export --folder /mytmp --omit-blueprint-serial-numbers True --type all'
You can also specify which types of content you want to download. Note that whatever you specify with --folder needs to be accessible to the container.
-Jason
------------------------------
Jason Lochhead
------------------------------
Original Message:
Sent: 08-25-2024 08:48
From: djadhav
Subject: Question on downloading Apstra configuration
Hi.
I have just started learning Apstra.
Is there a way to download from an Apstra server, the configuration of selected Logical Devices, Interface Maps, Device Profiles, Rack Types, Templates and Blueprints into a file (maybe JSON) which can then be uploaded to a new Apstra installation in order to create the same Apstra objects?
Thanks,
Deepak