diff --git a/scripts/zmrecover.pl.in b/scripts/zmrecover.pl.in index c52537b4e..d6fe578f6 100644 --- a/scripts/zmrecover.pl.in +++ b/scripts/zmrecover.pl.in @@ -224,6 +224,7 @@ Debug("@Monitors"); $$Event{RelativePath} = join('/', $day_dir, $event_path); $$Event{Scheme} = 'Deep'; $$Event{Name} = "Event $event_id recovered"; + $$Event{StateId} = 1; $Event->MonitorId( $monitor_dir ); $Event->StorageId( $Storage->Id() ); $Event->DiskSpace( undef ); @@ -287,6 +288,7 @@ Debug("@Monitors"); $$Event{RelativePath} = join('/', $day_dir, $event_dir); $$Event{Scheme} = 'Deep'; $$Event{Name} = "Event $event_id recovered"; + $$Event{StateId} = 1; $Event->MonitorId( $monitor_dir ); $Event->Width( $Monitor->Width() ); $Event->Height( $Monitor->Height() ); @@ -352,6 +354,7 @@ Debug("@Monitors"); $$Event{Scheme} = 'Medium'; $$Event{RelativePath} = $event_dir; $$Event{Name} = "Event $event_id recovered"; + $$Event{StateId} = 1; $Event->MonitorId( $monitor_dir ); $Event->Width( $Monitor->Width() ); $Event->Height( $Monitor->Height() ); @@ -393,6 +396,7 @@ Debug("@Monitors"); if ( confirm() ) { $$Event{Scheme} = 'Shallow'; $$Event{Name} = "Event $event recovered"; + $$Event{StateId} = 1; #$$Event{Path} = $event_path; $Event->MonitorId( $monitor_dir ); $Event->Width( $Monitor->Width() );