Commit 0b5a20f1 by x

dump: exclude even more apps

parent 6e829242
...@@ -1067,126 +1067,6 @@ ...@@ -1067,126 +1067,6 @@
}, },
{ {
"pk": 1, "pk": 1,
"model": "school.person",
"fields": {
"user": 1,
"language": "hu"
}
},
{
"pk": 2,
"model": "school.person",
"fields": {
"user": 2,
"language": "hu"
}
},
{
"pk": 3,
"model": "school.person",
"fields": {
"user": 3,
"language": "hu"
}
},
{
"pk": 4,
"model": "school.person",
"fields": {
"user": 4,
"language": "hu"
}
},
{
"pk": 5,
"model": "school.person",
"fields": {
"user": 5,
"language": "hu"
}
},
{
"pk": 6,
"model": "school.person",
"fields": {
"user": 6,
"language": "hu"
}
},
{
"pk": 7,
"model": "school.person",
"fields": {
"user": 7,
"language": "hu"
}
},
{
"pk": 11,
"model": "school.person",
"fields": {
"user": 11,
"language": "hu"
}
},
{
"pk": 12,
"model": "school.person",
"fields": {
"user": 12,
"language": "hu"
}
},
{
"pk": 13,
"model": "school.person",
"fields": {
"user": 13,
"language": "hu"
}
},
{
"pk": 14,
"model": "school.person",
"fields": {
"user": 14,
"language": "hu"
}
},
{
"pk": 15,
"model": "school.person",
"fields": {
"user": 15,
"language": "hu"
}
},
{
"pk": 16,
"model": "school.person",
"fields": {
"user": 16,
"language": "hu"
}
},
{
"pk": 17,
"model": "school.person",
"fields": {
"user": 17,
"language": "hu"
}
},
{
"pk": 18,
"model": "school.person",
"fields": {
"user": 18,
"language": "hu"
}
},
{
"pk": 1,
"model": "store.setting", "model": "store.setting",
"fields": { "fields": {
"value": "True", "value": "True",
......
#!/bin/bash #!/bin/bash
/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 /opt/webadmin/cloud/manage.py dumpdata -e admin -e one.userclouddetails -e school -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment