These v19 docs are archived 🔒.
Go to the
latest docs home
or try if
this exact page is available
in the latest docs.
App Git Integration
In 2sxc you can store the current App State to an XML file and restore it.
Why Store and Restore the App State
- To save to git, and later see how the state got changed
- To save to git, test some changes, and roll back to the previous state
- To push to a remote repo (like Github) and pull again from another installation
What's Included and What Not
If you save an App Folder to git...
- ...it contains everything in the App folder and App Assets (unless you explicitly added it to the
.gitignore
file) - ...it may contain the App State (all the data items including configuration and settings) if you previously exported them (see below)
- ...it doesn't contain the Content Assets (images etc.) as that's in the ADAM folder of the App
Saving / Restoring App State (Data)
This is where you can find the App State Save/Restore

On 2 you can save the state (it will be stored in [app-root]/.data/app.xml
)

On 3 you can restore the data from this file:

History
- Export introduced ca. 2sxc v5
- Re-Import introduced in 2sxc v11.11