This guide contains:
This command clears out your instance so that you're ready for your next project. First, Dradis creates a backup project export file in case you ever need to restore this project, then it clears out all of the data from your instance, leaving you with a blank slate and a backup.
Note: make sure you're running these commands from your dradis-ce
folder.
$ bundle exec thor dradis:reset
Expected output:
I, [2018-01-01] INFO -- : Project package created at: /dradis-ce/backup/dradis-export_2017-11-03_1.zip ** Deleting all attachments... [ DONE ] ** Cleaning database... [ DONE ] ** Seeding database... [ DONE ] ** Deleting all log files... [ DONE ]
To access the backup, just download it from the file path in the output. In this example, the backup is at /dradis-ce/backup/dradis-export_2017-11-03_1.zip
.
Your attachments are found in the dradis-ce/attachments/
folder and its subfolders. Attachments are the files that you've uploaded to your project. These could be scans (e.g. Nessus, Burp, etc), screenshots, or project export files. The command below will delete all of the attachments from your instance.
Note: make sure you're running these commands from your dradis-ce
folder.
$ bundle exec thor dradis:reset:attachments
Expected output:
** Deleting all attachments... [ DONE ]
This command removes all data from a dradis repository. It's diferent from the dradis:reset command outlined above in that it doesn't generate a project export in the process, it's simply a hard delete.
Note: make sure you're running these commands from your dradis-ce
folder.
$ bundle exec thor dradis:reset:database
Expected output:
** Cleaning database... [ DONE ]
The log files for your instance are found in the dradis-ce/log/
folder. The command below will delete all of the log files from your instance.
removes all log files
Note: make sure you're running these commands from your dradis-ce
folder.
$ bundle exec thor dradis:reset:logs
Expected output:
** Deleting all log files... [ DONE ]
Set a new shared password. During the install process, you set a shared password for your instance. Use the command below to update your shared password.
Note: make sure you're running these commands from your dradis-ce
folder.
$ bundle exec thor dradis:reset:password
Expected output:
Changing password for Dradis server.
Enter new Dradis password: dradis
Retype new Dradis password: dradis
The example above would reset the password to dradis
. Enter and retype your own password as prompted.
Your email is kept private. We don't do the spam thing.