Assumes you have an SSH tunnel to cloudapi.blender.org with localhost:27018 forwarded to localhost-at-other-side:27017, like: ssh cloudapi.blender.org -L 27018:localhost:27017
4 lines
112 B
Bash
Executable File
4 lines
112 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mongodump -h localhost:27018 -d eve --out dump/$(date +'%Y-%m-%d-%H%M') --excludeCollection tokens
|