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

**URL:** <https://meta.discourse.org/t/how-to-backup-database-only-without-uploads-from-console/142504>\
**Category:** Product Support\
**Created:** [February 24, 2020, 7:13pm UTC](https://meta.discourse.org/t/how-to-backup-database-only-without-uploads-from-console/142504 "2020-02-24T19:13:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)\
**Post date:** [February 25, 2020, 2:05pm UTC](https://meta.discourse.org/t/how-to-backup-database-only-without-uploads-from-console/142504/3 "2020-02-25T14:05:06Z")

</div>

Yes, you can take db only backup from rails console with below commands.

```bash
./launcher enter app
rails c
> BackupRestore::Backuper.new(Discourse.system_user.id, with_uploads: false)

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-backup-database-only-without-uploads-from-console/142504)._
