-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
57 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ Contributing | |
contrib/intro | ||
contrib/installation | ||
contrib/db | ||
contrib/backup | ||
contrib/export | ||
contrib/translation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ Entities | |
Schema diagram | ||
-------------- | ||
|
||
.. image:: /images/schema.png | ||
.. image:: /images/schema.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
Backups | ||
======= | ||
Exporting data | ||
============== | ||
|
||
You can create backups including various pieces of data that we store: reviews, | ||
revisions, users, and other stuff. Some parts include private data about users | ||
that is not meant to be shared. | ||
|
||
Creating backups | ||
---------------- | ||
Creating data dumps | ||
------------------- | ||
|
||
Below you can find commands that can be used to create backups of different formats. | ||
|
||
Complete database dump *(for PostgreSQL)*:: | ||
|
||
$ python manage.py data backup dump_db -r | ||
$ python manage.py export full_db | ||
|
||
JSON dump with all reviews *(no private info)*:: | ||
MusicBrainz-style dump public *(no private info)*:: | ||
|
||
$ python manage.py export public | ||
|
||
$ python manage.py data backup dump_json -r | ||
JSON dump with all reviews *(no private info)*:: | ||
|
||
MusicBrainz-style dump *(no private info)*:: | ||
$ python manage.py export json | ||
|
||
$ python manage.py data backup export -r | ||
All commands have rotation feature which can be enabled by passing `-r` argument. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.