How to backup database only (without uploads) from console?

Ah, I forgot to add .run in the end. It should be BackupRestore::Backuper.new(Discourse.system_user.id, with_uploads: false).run