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, Jan 30, 1:56 PM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c5/eb/21ccc15e14a169bc274e5369e56d

Event Timeline