AGPUSH-504 Adding snapshot and restore hooks for upgrading the cartridge.