Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Backing up databases in dev mode #163

Closed
rdenman opened this issue Jul 6, 2016 · 3 comments
Closed

Backing up databases in dev mode #163

rdenman opened this issue Jul 6, 2016 · 3 comments

Comments

@rdenman
Copy link
Contributor

rdenman commented Jul 6, 2016

Is there a way to back up all the challenges and quiz questions I've entered into my development environment without doing a snapshot of the whole platform/challenges? Where is all that information stored? I want to give the platform to a couple other people to load on their machines and play around with before setting up the server.

@gsingh93
Copy link
Contributor

gsingh93 commented Jul 7, 2016

You can just dump the database with mysqldump and then load it with mysql later on. I can provide the exact commands later if you can't figure it out.

This PR should provide exporting capability from the UI, but I haven't had time to review it yet.

@rdenman rdenman closed this as completed Jul 7, 2016
@rdenman
Copy link
Contributor Author

rdenman commented Jul 7, 2016

thanks!

@rdenman
Copy link
Contributor Author

rdenman commented Jul 19, 2016

For anyone looking for specifics:
-ssh into vm
-run: mysqldump -u ctf -pctf fbctf > fbctf.sql
-sudo mv fbctf.sql /vagrant (if you want to get it off the vm and store on the local machine)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants