Back up object configurations using sandbox tooling
- Topics:
- Sandboxes
CREATED FOR:
- Developer
- User
- Admin
- Leader
To safely reset sandboxes and add versioning support, back up object configurations (or metadata) using sandbox tooling packages. Backup packages prevent the loss of critical configurations such as schemas, datasets, and audiences, especially during development iterations.
Why consider this use case
Creating a backup package using sandbox tooling ensures your object configurations are stored and secured. Development sandboxes can fill quickly as you experiment and build, while building a sandbox from scratch after resetting it can be time-consuming and leave room for errors. With the power of sandbox tooling, you can import a backup package into a freshly reset sandbox to immediately return your ideal configurations so you can continue developing.
Backup packages also allow you to support versioning throughout your development process. As your sandbox changes, create additional backup packages alongside your previous packages so you can easily restore your sandbox to any of your configurations.
Prerequisites and planning
When planning to create your own backup package within your organization, consider the following prerequisites in your planning process:
- Evaluate the current usages of the sandboxes within your organization. Are any non-production sandboxes approaching or exceeding their license entitlement?
- What is the scope of the metadata you wish to back up? You may consider backing up either a complete or partial sandbox, depending on your use case.
- Depending on the scope metadata you wish to back up, ensure you understand how to manually add objects to a package or how to export an entire sandbox.
- Ensure you have access to sandbox tooling in your organization with the correct permissions.
UI functionality, Experience Platform components, and Experience Cloud products that you will use
To successfully implement this use case, you must use multiple areas of Adobe Experience Platform. Ensure you have the necessary attribute-based access control permissions for all these areas, or ask your system administrator to grant you the necessary permissions.
How to achieve the use case: high-level overview
- Define the scope of the metadata you wish to backup.
- Use the sandbox tooling user interface to export your desired objects into a backup package.
- Regularly create new versions of the backup package to ensure sandboxes remain aligned with your current configurations.
- Check your current usage in the license usage dashboard against your entitlements for non-production sandboxes.
- Reset non-production sandboxes to comply with entitlements or to free up unnecessary resources and data storage.
- Import the backup package into your sandbox after resetting it to restore object configurations.
How to achieve the use case: Step-by-step instructions
Read through the sections below, which include links to further documentation, to complete each of the steps in the high-level overview above.
Define the metadata scope
Before you begin creating your backup package you should consider the package’s use case. Depending on your needs, you may wish to back up a complete sandbox or select specific objects to add to your package, as mentioned in the prerequsites.
Export your chosen metadata into a package
At this point, you’re ready to back up your sandbox using the sandbox tooling user interface. This step covers both backing up an entire sandbox and backing up specific objects.
Export a complete sandbox
To back up your sandbox in entirety, follow the sandbox tooling guide to create and publish a new package containing the configurations of your entire sandbox.
Export individual objects
You may back up individual objects into a package any of the following ways. While these guides focus on adding a schema into the package, the same steps apply for other objects, such as datasets, audiences or journeys.
- Add an individual object to a new package, following sandbox tooling’s adding objects guide.
- Add an individual object to an existing backup package, following the sandbox tooling guide, making sure you publish your changes.
- Create an empty multi-object package to add objects to, following the guide below.
Creating a multi-object package
In Experience Platform, select Sandboxes in the left navigation and then select Packages. To begin creating a new package, select Create package from the top-right corner.
The Create package dialog box appears. Choose Select objects and then select Select.
Select the Multi-object option. Now, you need to provide a name for your new package. Enter your desired name into the Package name text field. Once finished, select Create.
Your new multi-object package is created and available in the Packages dashboard. Select the package from the list.
The package’s information and contents appear. Currently, there are no objects in our new package. To begin adding objects, follow the guide on adding objects to an existing package.
Create new versions of the backup package as needed
Now that you’ve created the first backup package for your sandbox, you’ll want to create new versions of your backup package as your sandbox configurations change.
While it’s possible to add new objects to your existing backup package, you are encouraged to create new packages to support versioning in your sandbox. This ensures you can easily reset and import any previous version of your sandboxes as you continue developing.
Check your current usages against your license entitlements
Now that your backup package is ready, you can reset your sandbox to reset your usage. You should regularly monitor your usage so you can adjust your license entitlements or reset your sandbox as needed. You can refer to the license usage guide to learn more about the license usage dashboard.
Reset your sandbox
At this point, you can safely reset your sandbox, assuming your sandbox meets the necessary parameters. Follow the reset a sandbox guide to begin resetting your sandbox, being sure to read the warning listing cases that may prevent you from resetting your sandbox.
Import the newly created backup package into your reset sandbox
Now that you’ve reset your sandbox, you can make use of the backup package you created. Follow the sandbox tooling guide for a step-by-step process on importing a package into your target sandbox.
Other use cases acheived through sandbox toolings:
Explore further use cases endabled through sandbox tooling: