The flashbackup.tar.gz should contain the AP database.
Maintenance->File->Backup Flash->Create Backup
Maintenance->File->Copy Files->Flash File System-> flashbackup.tar.gz
Destination: TFTP/FTP/SCP
Then to restore it, just use the Copy Files to pull it from a TFTP/FTP/SCP as the source to the Flash File System, giving it the same name. After the upload is complete, Maintenance->File->Copy Files->Restore Flash.
If you want the CLI to do this, let me know.
Zach