In order to implement appropriate disaster-recovery measures, I am interested in knowing where SmartTarget promotions are stored, and how a back up of this can be implemented. (This might be a bit off-topic for this site, as I suspect its more of a Fredhopper question...)
SmartTarget promotions are stored in Fredhopper, as "campaigns". Unless SmartTarget stores additional meta-data outside of FH (something I'm not aware of), it should be enough to simply extract the campaigns from Fredhopper using their configuration REST API. You can do this using e.g.
curl. The full campaign configuration for a single FH universe and locale can be accessed using a
GET operation to an endpoint such as the following:
Restoring campaigns (i.e., insertion/replacement of a configuration (where replacement relies on the configuration having an ID, but this will anyway be the case for backups)) can only be done one campaign at a time. The simplest way to do this is to
PUT all backed-up entities one by one; the endpoint for this is:
Just for reference: the campaigns can also be extracted one at a time, using a
Disclaimer: I have no detailed knowledge of SmartTarget, just the FH software.