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