Skip to content
Snippets Groups Projects

Issue #3305094: Log "backup restored" to watchdog after restore finished

Issue #3305094: Log "backup restored" to watchdog after restore finished
2 unresolved threads
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
72 72 // Run the backup.
73 73 $bam->restore($source_id, $destination_id, $file_id);
74 74 \Drupal::messenger()->addMessage(t('Restore completed at @time', ['@time' => $currentTime]));
75
76 $source = $bam->sources()->get($source_id);
77 $source_name = '';
78 if($source){
79 $source_name = ' into '.$source->config()->get('name');
  • 72 72 // Run the backup.
    73 73 $bam->restore($source_id, $destination_id, $file_id);
    74 74 \Drupal::messenger()->addMessage(t('Restore completed at @time', ['@time' => $currentTime]));
    75
    76 $source = $bam->sources()->get($source_id);
    77 $source_name = '';
    78 if($source){
    79 $source_name = ' into '.$source->config()->get('name');
    80 }
    81
    82 $destination = $bam->destinations()->get($destination_id);
    83 $destination_name = '';
    84 if($destination){
    85 $destination_name = ' from '.$destination->config()->get('name');
  • Tamer Zoubi added 1 commit

    added 1 commit

    Compare with previous version

  • Joshua Sedler added 2 commits

    added 2 commits

    Compare with previous version

  • Joshua Sedler added 7 commits

    added 7 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading