Subversion Repositories sysadmin_scripts

Rev

Rev 166 | Rev 168 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 166 Rev 167
Line 184... Line 184...
184
foreach my $sourceDir ( keys %{$configuration->{'remoteMachine'}->{'dataset'}} ) {
184
foreach my $sourceDir ( keys %{$configuration->{'remoteMachine'}->{'dataset'}} ) {
185
   my $command = $replicateScript . ' ' .
185
   my $command = $replicateScript . ' ' .
186
                 $configuration->{'remoteMachine'}->{'ip'} . ':' . 
186
                 $configuration->{'remoteMachine'}->{'ip'} . ':' . 
187
                 $configuration->{'remoteMachine'}->{'dataset'}->{$sourceDir} . '/' . $sourceDir . ' ' .
187
                 $configuration->{'remoteMachine'}->{'dataset'}->{$sourceDir} . '/' . $sourceDir . ' ' .
188
                 $configuration->{'localMachine'}->{'targetDataset'} . '/' . $sourceDir;
188
                 $configuration->{'localMachine'}->{'targetDataset'} . '/' . $sourceDir;
-
 
189
   push @status, "Running $command at " . &currentTime();
189
   print "$command\n";
190
   push @status, &runCommand( $command );
-
 
191
   push @status, "Completed $command at " . &currentTime();
190
}
192
}
191
 
193
 
192
push @status, "Backup finished at: " . &currentTime();
194
push @status, "Backup finished at: " . &currentTime();
193
 
195
 
194
&shutdownMachine( $configuration, "Backup Complete", @status );
196
&shutdownMachine( $configuration, "Backup Complete", @status );