Files
2012-02-21 01:15:00 -05:00

1 line
4.4 KiB
JSON

[{"user_id": 31790, "stars": [], "topic_id": 37173, "date_created": 1306595664.7380381, "message": "Are our postgres DBs being backed up? Any way we can do a periodic snapshot and restore? The use case I have in mind is backing up the DB before a South migration, Just In Case.", "group_id": 2873, "id": 1212776}, {"user_id": 8740, "stars": [{"date_created": 1306671616.7051711, "user_id": 33300}], "topic_id": 37173, "date_created": 1306610748.8955071, "message": "You can use pg_dump and psql to do dumps and restores from the command line, just like you would normally; we've set all the environment variables, so there's not even the need for any user/host/etc. options", "group_id": 2873, "id": 1213731}, {"user_id": 8740, "stars": [{"date_created": 1306610971.994103, "user_id": 12716}, {"date_created": 1306615633.765871, "user_id": 8391}, {"date_created": 1306671612.141268, "user_id": 33300}], "topic_id": 37173, "date_created": 1306610776.8520341, "message": "we'd advise you dump into your ../data/ (the mutable) directory if you want temporary restore capability in case of migration fail", "group_id": 2873, "id": 1213734}, {"user_id": 12716, "stars": [], "topic_id": 37173, "date_created": 1306610975.7347331, "message": "@andrewgodwin thanks", "group_id": 2873, "id": 1213743}, {"user_id": 12716, "stars": [], "topic_id": 37173, "date_created": 1306609578.6743529, "message": "I know that Andrew has mentioned that all dbs backup daily. As far as I know, there entire environment is read-only for now.", "group_id": 2873, "id": 1213691}, {"user_id": 8740, "stars": [], "topic_id": 37173, "date_created": 1306610700.4285901, "message": "Actually, DBs back up every three hours, and we keep around four days' worth of historical copies.", "group_id": 2873, "id": 1213727}, {"user_id": 31790, "stars": [], "topic_id": 37173, "date_created": 1306626750.0096581, "message": "@andrewgodwin thanks!", "group_id": 2873, "id": 1215313}, {"user_id": 12716, "stars": [], "topic_id": 37173, "date_created": 1311121025.6350341, "message": "@andrewgodwin How can I scp the file to my local machine? I've tried and get this error. scp hh_dev.ep.io:../data/hhdevdb-july16.backup .\nPermission denied (publickey).", "group_id": 2873, "id": 1676798}, {"user_id": 8740, "stars": [{"date_created": 1311174689.7743399, "user_id": 31790}], "topic_id": 37173, "date_created": 1311157338.016263, "message": "@citadelgrad You can't scp or rsync files from ep.io yet (and also, when you do, it'll be via our SSH endpoint at upload.ep.io). You can, however, try \"epio run_command cat ../data/hhdevdb-july16.backup | local_filename\", which should work, provided it's not a huge (>200MB) file.", "group_id": 2873, "id": 1679714}, {"user_id": 12716, "stars": [], "topic_id": 37173, "date_created": 1311181635.1619959, "message": "@andrewgodwin For now I'll just ftp my backups to another server. Thanks for the help. Any idea on when you'll have scp available?", "group_id": 2873, "id": 1682542}, {"user_id": 12716, "stars": [], "topic_id": 37173, "date_created": 1311181559.51474, "message": "@andrewgodwin Hmm didn't work for me. epio run_command cat -- /bundles/port-8912/app_image/data/hhdevdb-july16.backup | hhdevdb-july16.backup\nhhdevdb-july16.backup: command not found", "group_id": 2873, "id": 1682528}, {"user_id": 8740, "stars": [], "topic_id": 37173, "date_created": 1311194931.920778, "message": "and it'll hopefully be in the next week or two - my house move and Ben's graduation have disrupted this week's development somewhat", "group_id": 2873, "id": 1684708}, {"user_id": 8740, "stars": [], "topic_id": 37173, "date_created": 1311194907.511868, "message": "@citadelgrad Oop, sorry, I meant \">\" not \"|\" in that command", "group_id": 2873, "id": 1684699}, {"user_id": 29682, "stars": [], "topic_id": 37173, "date_created": 1311238384.2863691, "message": "@andrewgodwin I have found the runners drop the connection if I put too much data over the wire (for e.g. if I did a run_command pg_dump > dump.pgsql) then the connection is dropped, current hack is to drop it into ../data/ using -f, and then download it via http", "group_id": 2873, "id": 1687901}, {"user_id": 8740, "stars": [], "topic_id": 37173, "date_created": 1311253895.0098829, "message": "@bradwhittington Yes, the connection's still not happy with anything too large. I fixed a few buffering errors two weeks ago, but there's still a few more in there, I think", "group_id": 2873, "id": 1688877}]