Backing up and restoring app data
Use the app-volume-backup.py script to back up and recover app data.
About this task
A configuration backup that you do on the backup and Recovery window does not back up your apps' data. The /opt/qradar/bin/app-volume-backup.py script runs nightly at 2:30 AM, and backs up each installed application's /store mounted volume. By default, data is retained for 7 days.
The following services are involved in the scheduled application backup process:
- app-data-backup.timer
- The service must remain active and is responsible for triggering the scheduled application backup process at the configured time (default: 2:30 AM local time).
- app-data-backup.service
- The service runs the actual backup operation when triggered by the timer. The service remains in an inactive state when no backup is running.
Use the script to do the following tasks:
- Back up data manually for installed apps.
- List all installed app data backups on the system.
- Restore data for installed apps.
- Run the retention process and set the retention period for backups.
This script is on both the QRadar Console and the App Host if one is installed. The script backs up app data only if apps are on the current host.