Export all the one-to-one and room history that your user has access to
-
Create a
.hipchat_tokenfile with your hipchat token in it -
Run
./get-rooms.shand./get-users.shfirst to create a full list of rooms and users you have access to. -
If you don't want to get everything, prune the files room_ids.txt and user_ids.txt to the rooms and users you want. You can find the names of rooms and users in rooms.json and users.json.
-
Run
./get-room-history.shand./get-user-history.shto generate the json files of each room. -
Run
./get-room-files.shand./get-user-files.shto download all the files uploaded to the room and optionally copy them to an s3 bucket.