Introduce BasicBackupManager and CleanupManager to separate the code parts and to lead to a clearer/ simplified structure.
Additionally, introduce BackupManager abstract class, inherited by the new BasicBackupManager (for regular backups) and by the LongTermBackupManager. The BackupManager can provide methods for storing a db, creating paths, etc.
Introduce
BasicBackupManager
andCleanupManager
to separate the code parts and to lead to a clearer/ simplified structure.Additionally, introduce
BackupManager
abstract class, inherited by the newBasicBackupManager
(for regular backups) and by theLongTermBackupManager
. TheBackupManager
can provide methods for storing a db, creating paths, etc.