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, Sep 25, 1:15 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cb/2e/8a9a4632e35d2a4deaae04fdc160

Event Timeline