Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
04afd6a0
authored
Jan 30, 2013
by
x
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dump: exclude some apps
parent
4f0cdff8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
miscellaneous/dump.json
+0
-0
miscellaneous/dump.sh
+2
-1
No files found.
miscellaneous/dump.json
View file @
04afd6a0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
miscellaneous/dump.sh
View file @
04afd6a0
#!/bin/bash
/opt/webadmin/cloud/manage.py dumpdata
--format
=
json
--indent
=
2|grep
-v
'"password":'
|sed
-e
's/^.*"smb_password":.*$/"smb_password": "kamu",/'
-e
's/BEGIN RSA PRIVATE.*END RSA/xxx/'
>
/opt/webadmin/cloud/miscellaneous/dump.json
/opt/webadmin/cloud/manage.py dumpdata
-e
admin
-e
auth.permission
-e
contenttypes
-e
sessions
-e
djcelery
--format
=
json
--indent
=
2|grep
-v
'"password":'
|sed
-e
's/^.*"smb_password":.*$/"smb_password": "kamu",/'
-e
's/BEGIN RSA PRIVATE.*END RSA/xxx/'
>
/opt/webadmin/cloud/miscellaneous/dump.json
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment