All Projects → xpressabhi → mup-data-backup

xpressabhi / mup-data-backup

Licence: other
MongoDB backup and restore which is deployed via mup.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to mup-data-backup

WindowsFileHistoryCleaner
Simple command line executable to turn a File History share back into a snapshot of files
Stars: ✭ 15 (-44.44%)
Mutual labels:  backup
note
just note , take down what ever i want
Stars: ✭ 62 (+129.63%)
Mutual labels:  backup
meteor-imports-webpack-plugin
Webpack plugin to import and use Meteor packages like if they were real NPM packages.
Stars: ✭ 25 (-7.41%)
Mutual labels:  meteor
otp-authenticator-webapp
A 'Google Authenticator' like Single Page Application
Stars: ✭ 69 (+155.56%)
Mutual labels:  backup
cylon-deb
TUI menu driven bash shell script to update and maintain a Debian based Linux distro.
Stars: ✭ 23 (-14.81%)
Mutual labels:  backup
aws-utils
This repository provides utilities which are used at MiQ.
Stars: ✭ 20 (-25.93%)
Mutual labels:  backup
authy-extractor
Extract 2FA tokens from Authy.
Stars: ✭ 30 (+11.11%)
Mutual labels:  backup
Parrot
Web router specially designed for building SPAs using Meteor
Stars: ✭ 75 (+177.78%)
Mutual labels:  meteor
fb-export
Export (most) of your Facebook data using Node.js and the Graph API.
Stars: ✭ 21 (-22.22%)
Mutual labels:  backup
ostrio-analytics
📊 Visitor's analytics tracking code for ostr.io service
Stars: ✭ 14 (-48.15%)
Mutual labels:  meteor
meteor-jalik-ufs-gridfs
GridFS store for UploadFS
Stars: ✭ 13 (-51.85%)
Mutual labels:  meteor
ebs-backup
Backup EBS Volumes
Stars: ✭ 34 (+25.93%)
Mutual labels:  backup
vmSafeguard
vmSafeguard is a management, planning, backup system for a Vmware ESXi(s) solution, orchestrated through a Web Admin Panel. RTFM for more info. Under develop since Jun 2020
Stars: ✭ 20 (-25.93%)
Mutual labels:  backup
QQ-History-Backup
QQ聊天记录备份导出,支持无密钥导出,图片导出。无需编译有GUI界面。Backup Chating History of Instant Messaging QQ.
Stars: ✭ 300 (+1011.11%)
Mutual labels:  backup
docker-vackup
Script to easily backup and restore docker volumes
Stars: ✭ 102 (+277.78%)
Mutual labels:  backup
BackupAssistant
Backup Assistant helps you to backup your files (like database backups or log files) to FTP Server. It works on any platform. ( Windows, Linux and Mac.)
Stars: ✭ 32 (+18.52%)
Mutual labels:  backup
ansible-role-borgbackup
No description or website provided.
Stars: ✭ 13 (-51.85%)
Mutual labels:  backup
denormalize
Simple denormalization for Meteor
Stars: ✭ 21 (-22.22%)
Mutual labels:  meteor
Meteor-flow-router-title
Change document.title on the fly within flow-router
Stars: ✭ 23 (-14.81%)
Mutual labels:  meteor
gh stars export
Exports list of all your starred Github repos to a json file
Stars: ✭ 27 (+0%)
Mutual labels:  backup

MongoDB Data Backup deployed with Mup

These commands run well if meteor app deployed with mup tool. Mup creates docker for mongodb hence taking backup becomes easy with these commands.

Backup

Take backup of running app data from docker then copy to local folder out of docker.

docker exec -it mongodb mongodump --archive=/root/mongodump.gz --gzip

docker cp mongodb:/root/mongodump.gz mongodump_$(date +%Y-%m-%d_%H-%M-%S).gz

Copy backup to server

Move data to another server/local machine or a backup location

scp /path/to/dumpfile root@serverip:/path/to/backup

Delete old data from meteor deployment

Get into mongo console running in docker then drop current database before getting new data.

docker exec -it mongodb mongo appName

db.runCommand( { dropDatabase: 1 } )

Restore data to meteor docker

docker cp /path/to/dumpfile mongodb:/root/mongodump.gz

docker exec -it mongodb mongorestore --archive=/root/mongodump.gz --gzip

Drop target database and restore in one line

docker exec -it mongodb mongorestore --drop --archive=/root/mongodump.gz --gzip

Drops only collections present in dump.

script.sh to make it simpler.

Thanks to yanickrochon

Go to script.sh

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].