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
Fri, Dec 2, 7:25 PM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
64/3b/760417575148b50fbe25434f7da1

Event Timeline