Actions
Bug #24722
closedincremental backup does not check if previuos backup directory actually contains backup files
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Currently it is possible to run incremental backup specifying a previous backup directory without actual backup files, e.g.:
~]# foreman-maintain backup online --incremental /tmp /tmp
^ finishes successfully even if /tmp contains no backup files, command produces full backup. The only condition is that that the previous dir has to exist. This way, user could unknowingly create full backups instead of incremental. I'd suggest either to make f-m fail with error in such case, or proceed with message warning user (something like "Did not find backup files in previous backup directory, proceeding with full backup")
Updated by Suraj Patil almost 4 years ago
- Status changed from New to Duplicate
Duplicate of - https://projects.theforeman.org/issues/30369
Updated by Kavita Gaikwad almost 4 years ago
- Is duplicate of Bug #30369: foreman-maintain incremental backup takes the full backup. added
Actions