Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6e829242
authored
Jan 30, 2013
by
x
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dump: exclude some more apps
parent
04afd6a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
243 deletions
+28
-243
miscellaneous/dump.json
+27
-242
miscellaneous/dump.sh
+1
-1
No files found.
miscellaneous/dump.json
View file @
6e829242
...
...
@@ -256,156 +256,6 @@
},
{
"pk"
:
1
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
1
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
2
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
2
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
6
}
},
{
"pk"
:
3
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
3
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
4
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
4
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
5
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
5
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
6
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
6
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
8
}
},
{
"pk"
:
7
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
7
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
4
}
},
{
"pk"
:
11
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
11
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
12
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
12
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
13
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
13
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
14
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
14
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
15
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
15
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
16
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
16
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
17
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
17
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
18
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"user"
:
18
,
"smb_password"
:
"kamu"
,
"ssh_key"
:
null
}
},
{
"pk"
:
1
,
"model"
:
"one.sshkey"
,
"fields"
:
{
"user"
:
1
,
...
...
@@ -3504,6 +3354,31 @@
}
},
{
"pk"
:
1170
,
"model"
:
"firewall.rule"
,
"fields"
:
{
"r_type"
:
"host"
,
"direction"
:
"0"
,
"vlan"
:
null
,
"description"
:
""
,
"proto"
:
null
,
"firewall"
:
null
,
"created_at"
:
"2013-01-30T21:28:01Z"
,
"extra"
:
""
,
"modified_at"
:
"2013-01-30T21:28:01Z"
,
"owner"
:
1
,
"accept"
:
true
,
"dport"
:
null
,
"host"
:
7
,
"nat_dport"
:
null
,
"hostgroup"
:
null
,
"nat"
:
false
,
"foreign_network"
:
5
,
"sport"
:
null
,
"vlangroup"
:
null
}
},
{
"pk"
:
1
,
"model"
:
"firewall.vlan"
,
"fields"
:
{
...
...
@@ -4243,10 +4118,10 @@
"fields"
:
{
"comment"
:
""
,
"vlan"
:
1
,
"reverse"
:
null
,
"reverse"
:
""
,
"created_at"
:
"2013-01-27T23:00:00Z"
,
"hostname"
:
"bd"
,
"modified_at"
:
"2013-01-
27T23:00:00
Z"
,
"modified_at"
:
"2013-01-
30T21:28:01
Z"
,
"location"
:
""
,
"pub_ipv4"
:
null
,
"mac"
:
"00:13:f7:d1:b8:af"
,
...
...
@@ -6578,95 +6453,5 @@
"fields"
:
{
"name"
:
"f72ef8f4-1ace-350f-baf2-769bd03038a5.reply.celery.pidbox"
}
},
{
"pk"
:
441
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T19:30:23Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkOGIzYjYzYmUtNzY2Zi00Y2ZmLTkyMzAtNDhlZjE0YWFlOWY1cQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 1,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
},
{
"pk"
:
442
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T19:32:08Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkOTkzZjg3ZGItYzZjMi00ZTUzLWJiZWQtZTBhNjUzZjllZWJicQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 1,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
},
{
"pk"
:
443
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T19:33:22Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkZTFiNTdkYWMtNjExMi00ZjkxLTk2NjQtNjgwMzlhNjEyOWYzcQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 2,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
},
{
"pk"
:
444
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T19:40:33Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkZWJmNjY4OTctODQ4Ny00N2Q1LTk3ZjYtZDg5NDllYzM2NTVhcQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 1,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
},
{
"pk"
:
445
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T19:42:33Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkZTVmMjI0YWQtMTI2ZC00NzBjLTk2ZjYtZjgyNzI0OGUzOGNicQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 1,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
},
{
"pk"
:
446
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T20:49:02Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkY2M1YjRkMTgtN2Q3Zi00ODIxLWI2ZWMtZGEzODZhMmI5YWE4cQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 2,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
},
{
"pk"
:
447
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T20:49:11Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkZWY2YzllM2QtZGRmZC00ODgyLThkOTItMmMyOGU3MjlhMWE5cQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 1,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
},
{
"pk"
:
448
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T20:49:24Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkZTQyZDg0YmQtYjc1Mi00N2E5LWJiNDEtNGY5NmEzMmUyMDA4cQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 3,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
},
{
"pk"
:
449
,
"model"
:
"django.message"
,
"fields"
:
{
"queue"
:
1
,
"visible"
:
false
,
"sent_at"
:
"2013-01-30T20:49:33Z"
,
"payload"
:
"{
\"
body
\"
:
\"
gAJ9cQEoVQdyZXRyaWVzcQJLAFUEdGFza3EDVRlmaXJld2FsbC50YXNrcy5SZWxvYWRUYXNrcQRVCGVycmJhY2tzcQVOVQljYWxsYmFja3NxBk5VBmt3YXJnc3EHfXEIVQNldGFxCU5VBGFyZ3NxCl1xC1UCaWRxDFUkYzE3MjFjMDAtZDA5Yy00YTRkLWFlMjMtOGY1YWQxYWY2Y2RjcQ1VB2V4cGlyZXNxDk5VA3V0Y3EPiHUu
\"
,
\"
headers
\"
: {},
\"
content-type
\"
:
\"
application/x-python-serialize
\"
,
\"
properties
\"
: {
\"
exclusive
\"
: false,
\"
name
\"
:
\"
celery
\"
,
\"
body_encoding
\"
:
\"
base64
\"
,
\"
delivery_info
\"
: {
\"
priority
\"
: 0,
\"
routing_key
\"
:
\"
celery
\"
,
\"
exchange
\"
:
\"
celery
\"
},
\"
auto_delete
\"
: false,
\"
delivery_mode
\"
: 2,
\"
no_ack
\"
: false,
\"
alias
\"
: null,
\"
queue_arguments
\"
: null,
\"
binding_arguments
\"
: null,
\"
delivery_tag
\"
: 2,
\"
bindings
\"
: [],
\"
durable
\"
: true},
\"
content-encoding
\"
:
\"
binary
\"
}"
}
}
]
miscellaneous/dump.sh
View file @
6e829242
#!/bin/bash
/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
/opt/webadmin/cloud/manage.py dumpdata
-e
admin
-e
one.userclouddetails
-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