FIX: Remapping of uploads could fail during restore of backup (#13897)

FIX: Remapping of uploads could fail during restore of backup (#13897)

Sidekiq should be paused until the end of the restore, otherwise it might interfere (deadlock) with the remap of upload URLs in posts.

diff --git a/lib/backup_restore/restorer.rb b/lib/backup_restore/restorer.rb
index 589b15a..05a8233 100644
--- a/lib/backup_restore/restorer.rb
+++ b/lib/backup_restore/restorer.rb
@@ -52,7 +52,6 @@ module BackupRestore
 
       reload_site_settings
 
-      @system.unpause_sidekiq
       @system.disable_readonly_mode
 
       clear_category_cache

GitHub sha: a37b5b177bc91660120414724c0245464f4ec4d3

This commit appears in #13897 which was approved by tgxworld. It was merged by gschlager.