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, Jan 29, 9:55 PM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fb/f7/014279385a0bc8d7534b43339aed

Event Timeline