[XO-2789] * Extracts the backup migration logic into backup-archive and adds a cache guard for future performance improvements * don't generate or read cache file on immutable backup repository * clean cache file on immutable backup repository