Flush caches on backup transition