Backup batch_query