# Dradis and Backup

**URL:** <https://discuss.dradis.com/t/dradis-and-backup/184>\
**Category:** Community Edition\
**Created:** [September 1, 2015, 9:27pm UTC](https://discuss.dradis.com/t/dradis-and-backup/184 "2015-09-01T21:27:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![quasib](https://avatars.discourse-cdn.com/v4/letter/q/c5a1d2/32.png) [@quasib](https://discuss.dradis.com/u/quasib)\
**Post date:** [September 1, 2015, 9:27pm UTC](https://discuss.dradis.com/t/dradis-and-backup/184/1 "2015-09-01T21:27:06Z")

</div>

How does Dradis 3.0 community handle backup? What are backup the methods?

---

<div class="post-metadata">

**Author:** ![etd](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/etd/32/5_2.png) [@etd](https://discuss.dradis.com/u/etd)\
**Post date:** [September 1, 2015, 10:27pm UTC](https://discuss.dradis.com/t/dradis-and-backup/184/2 "2015-09-01T22:27:02Z")

</div>

Hi @quasib,

This is done via Thor tasks, once you’re done with a project. To back up the current project:

```auto
$ RAILS_ENV=production bundle exec thor dradis:backup

```

To reset the app and start a new project:

```auto
$ RAILS_ENV=production bundle exec thor dradis:reset

```

To see the full list of tasks available:

```auto
$ RAILS_ENV=production bundle exec thor -T
dradis
------
thor dradis:backup # creates a backup of your current repository
thor dradis:export:word # export the current repository structure as a Word report
thor dradis:import:msf:all # Import the hosts, sevices, notes, etc from Metasploit
thor dradis:import:osvdb:lookup ID # search the OSVDB for a specific ID
thor dradis:import:osvdb:search QUERY # search the OSVDB with a general query
thor dradis:reset # resets your local dradis repository
thor dradis:reset:attachments # removes all attachments
thor dradis:reset:database # removes all data from a dradis repository, except configurations
thor dradis:reset:logs # removes all log files
thor dradis:reset:password # Set a new shared password to access the web interface
thor dradis:server # start dradis server 
...

```

Give it a try, if you find any issues, please post it in the tracker at [Pull requests · dradis/dradis-legacy · GitHub](http://github.com/dradis/dradisframework/issues)

HTH,  
Daniel

---

<div class="post-metadata">

**Author:** ![Kalaratri](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@Kalaratri](https://discuss.dradis.com/u/Kalaratri)\
**Post date:** [March 12, 2017, 4:12pm UTC](https://discuss.dradis.com/t/dradis-and-backup/184/3 "2017-03-12T16:12:49Z")

</div>

Is this backup approach suitable for regular, daily backups? Could you point me to the relevant file locations?

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [March 13, 2017, 10:05pm UTC](https://discuss.dradis.com/t/dradis-and-backup/184/4 "2017-03-13T22:05:13Z")

</div>

@Kalaratri what files are you looking for locations on?

Another option for regular/daily backups is to use the project export function described in more detail here: [Importing and exporting projects | Dradis Pro Help](https://dradis.com/pro/support/guides/projects/import.html#export) (it’s a `pro` guide but the process is the same for the community edition)

---

<div class="post-metadata">

**Author:** ![Kalaratri](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@Kalaratri](https://discuss.dradis.com/u/Kalaratri)\
**Post date:** [March 14, 2017, 9:31am UTC](https://discuss.dradis.com/t/dradis-and-backup/184/5 "2017-03-14T09:31:50Z")

</div>

Hi Rachel, thanks for your guidance. I was looking for what files I would need to backup for a project, but sounds like the export facility will do me fine. Would be nice if this could be scheduled within the tool to run on a particular frequency 🙂
