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
Wed, Jan 19, 4:24 PM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3f/33/f553ebbca5a1bda1ae5f0f3a5b1f

Event Timeline