To import Records.json file from your Google Takeout Archive, use rake task.
Import takes a while to finish, so you might want to run it in screen session.
1. Upload your Records.json file to your server
2. Copy you Records.json to the tmp folder: $ docker cp Records.json dawarich_app:/var/app/tmp/Records.json
3. Attach to the docker container: $ docker exec -it dawarich_app sh
4. Run the rake task: $ bundle exec rake import:big_file['tmp/Records.json','user@example.com']
5. Wait patiently for process to finish
You can monitor progress in Sidekiq UI