mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-05 23:20:19 +00:00
1 line
2.9 KiB
JSON
1 line
2.9 KiB
JSON
[{"user_id": 12716, "stars": [], "topic_id": 18760, "date_created": 1302571825.069293, "message": "Do I just need to specify the Postgres configuration(http://goo.gl/XDjSI) and then make a remote connection with pgadmin?", "group_id": 2873, "id": 634111}, {"user_id": 8740, "stars": [{"date_created": 1302695935.4001429, "user_id": 12716}], "topic_id": 18760, "date_created": 1302611761.6699951, "message": "@citadelgrad No, you can't connect from outside for security reasons; instead, I'd upload a SQL dump and then use \"epio run_command psql -f sql_dump.sql\"", "group_id": 2873, "id": 641484}, {"user_id": 12716, "stars": [], "topic_id": 18760, "date_created": 1302695587.958668, "message": "@andrewgodwin Thanks, I'll give that a try.", "group_id": 2873, "id": 663480}, {"user_id": 12716, "stars": [], "topic_id": 18760, "date_created": 1303439645.266968, "message": "@andrewgodwin I was getting an error message using the -f param. But I was able to access psql with \"epio run_command psql -a <app_name>\"", "group_id": 2873, "id": 777932}, {"user_id": 12716, "stars": [], "topic_id": 18760, "date_created": 1303439772.5829999, "message": "I ended up using the \"epio django loadata fixture/fixture.json -a <app_name>\" to upload my data.", "group_id": 2873, "id": 777944}, {"user_id": 8740, "stars": [], "topic_id": 18760, "date_created": 1303588214.9029911, "message": "@citadelgrad Alright. If you can bung us the error at some point we'll look into it", "group_id": 2873, "id": 790755}, {"user_id": 32271, "stars": [], "topic_id": 18760, "date_created": 1304727358.7234349, "message": "hi, How do i upload my db backup file to the server?", "group_id": 2873, "id": 947911}, {"user_id": 32271, "stars": [], "topic_id": 18760, "date_created": 1304727428.281805, "message": "is there a way to selectively upload 1 file? is there some filter that prevents upload of .sql file to server?", "group_id": 2873, "id": 947917}, {"user_id": 8740, "stars": [], "topic_id": 18760, "date_created": 1304740291.5061121, "message": "No, just upload it as part of your app for now", "group_id": 2873, "id": 948669}, {"user_id": 15211, "stars": [], "topic_id": 18760, "date_created": 1304792114.146441, "message": "otherwise you can run 'epio run_command -a pipiki bash' and 'cd ../data/' and wget your backup from somewhere safe.", "group_id": 2873, "id": 952024}, {"user_id": 15211, "stars": [], "topic_id": 18760, "date_created": 1304792220.422111, "message": "it would be nice to make a small script that does something like this, or if you could refer to a local file when running psql -f filename.sql for example", "group_id": 2873, "id": 952031}, {"user_id": 8740, "stars": [], "topic_id": 18760, "date_created": 1304798053.664391, "message": "@peppelorum You should be able to pipe a file to psql using something like \"epio run_command psql < local_file.sql\", but it's not particularly efficient", "group_id": 2873, "id": 952444}] |