index operations, snapshot, restore script