We're updating the issue view to help you get more done. 

Backup/restore reports completion too soon

Description

Backup and Restore reports the backup is Completed before the backup file itself is actually finalized. This makes it hard to script backups, since you need to wait an indefinite amount of time for the backup to actually be finalized.

The issue appears to be that the very final step – copying the backup zip file to its final location – occurs in a Spring Batch afterJob call, after the job itself is marked as COMPLETED (see BackupJobExecutionListener.afterJob). If possible it would be nice if the backup wasn't marked as complete until this step has finished.

Environment

None

Status

Assignee

Devon Tucker

Reporter

Devon Tucker

Triage

None

Fix versions

Affects versions

None

Components

Priority

High