diff --git a/lib/backup_restore.rb b/lib/backup_restore.rb index 6259044dcb2..4775fdd612b 100644 --- a/lib/backup_restore.rb +++ b/lib/backup_restore.rb @@ -23,7 +23,8 @@ module BackupRestore factory: BackupRestore::Factory.new( user_id: user_id, client_id: opts[:client_id] - ) + ), + disable_emails: opts.fetch(:disable_emails, true) ) start! restorer