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
Sat, Jun 26, 6:39 PM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f0/ce/70266302341fd6259d799083bfe8

Event Timeline