Warning
For successful import, the server versions must match.
To back up all user configurations on the server, use the command:
sudo ibatyr dumpdata agent.Config --indent 4 > config.json
Where
–ident 4 — specifies four spaces for indentation at each nesting level for ease of reading;
config.json - JSON file in which the backup copy will be saved.
To completely unload all filters, configurations and users, use the command:
sudo ibatyr dumpdata --indent=4 -n analytics.filter analytics.backupfilter analytics.corpusprocessfilter analytics.sessionprocessfilter analytics.extractextprocessfilter analytics.dimensioncardfilter auth.user agent.config agent.acl agent.accountacl agent.accountconfig > backup.json
Export with filters:
Note
Make sure the full path to the file is specified.
ibatyr export [filename].json
Import with filters:
Note
Make sure the full path to the file is specified.
ibatyr import [filename].json