Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
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
0b5a20f1
authored
Jan 30, 2013
by
x
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dump: exclude even more apps
parent
6e829242
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
121 deletions
+1
-121
miscellaneous/dump.json
+0
-120
miscellaneous/dump.sh
+1
-1
No files found.
miscellaneous/dump.json
View file @
0b5a20f1
...
@@ -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"
,
...
...
miscellaneous/dump.sh
View file @
0b5a20f1
#!/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
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