diff --git a/gems/gitlab-backup-cli/lib/gitlab/backup/cli/targets/database.rb b/gems/gitlab-backup-cli/lib/gitlab/backup/cli/targets/database.rb
index aedaed0f9dfce0c90125f74bef851e31372fc20a..fe9adfe1742553baecfe1b5f3f69caf0bfac57ac 100644
--- a/gems/gitlab-backup-cli/lib/gitlab/backup/cli/targets/database.rb
+++ b/gems/gitlab-backup-cli/lib/gitlab/backup/cli/targets/database.rb
@@ -94,7 +94,7 @@ def restore(destination_dir, _)
                   raise(::Backup::Error, "Source database file does not exist #{db_file_name}")
                 end
 
-                Gitlab::Backup::Cli::Output.warn(
+                Gitlab::Backup::Cli::Output.warning(
                   "Source backup for the database #{database_name} doesn't exist. Skipping the task"
                 )