-
Bug
-
Resolution: Fixed
-
Low
-
5.5.2, 5.10.0, 6.13.4, 6.13.8, 7.4.5, 7.13.7
-
46
-
Severity 3 - Minor
-
6
-
Summary
The Clean Temporary Directory scheduled job will run even if an XML backup is running, causing the files created by the backup in the temp directory to be deleted. The backup continues even though the files are not present, and at the end of the backup process, a .zip file is created with only partial data.
Steps to Reproduce
- Run a long running backup job that will overlap with the scheduled job, Clean Temporary Directory.
Expected Results
- The backup completes successfully
Actual Results
- The backup beings creating the appropriate files in the temp directory
- The scheduled Clean Temporary Directory job clears out the temp directory
- The backup job continues in the background and will continue to use memory and resources.
- Eventually a broken .zip file will be created
- We'll see the in-progress backup is being deleted at scheduled times, and the final .zip file is incomplete and only contains the data from the last run of the Clean Temporary Directory job. It is not restorable.
Workaround
Use a cron expression to set the "Clean Temporary Directory" schedule to a date in the future that will not interrupt with your backup job.
- Cog Icon > General Administration > Scheduled Jobs
- Edit Clean Temporary Directory
- Set the Cron Expression to a time that is after your manual backup
- is blocked by
-
CONFSERVER-43041 Do not allow scheduled job "Clean Temporary Directory" to run when a backup is in progress
- Closed
- is duplicated by
-
CONFSERVER-78987 XML site backup fails because temp files are removed in the middle of the process
-
- Closed
-
- is related to
-
CONFSERVER-79066 Manual Site Backups should save to /backups
- Gathering Interest