Page MenuHome

backup-db.sh
No OneTemporary

backup-db.sh

#!/bin/bash -ex
mongodump -h localhost:27018 -d cloud --out dump/$(date +'%Y-%m-%d-%H%M') --excludeCollection tokens

File Metadata

Mime Type
text/x-shellscript
Expires
Sun, Mar 7, 9:46 PM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
13/91/c0794e54c98e94f92a6752c8d909

Event Timeline