How to Back Up and Restore MongoDB
How to Back Up and Restore MongoDB Simple 2 command MongoDB mongodump –> For dump all mongodbmongorestore –> For restore all mongodb You can also specify the –host and –port…
How to Back Up and Restore MongoDB Simple 2 command MongoDB mongodump –> For dump all mongodbmongorestore –> For restore all mongodb You can also specify the –host and –port…
PostgreSQL Backup Database and restore How to backup and restore Database * Postgres dump all the Database pg_dumpall dumps all databases in given PostgreSQL installation. Everything goes there. Additionally, it…
Redis Server Migration with Data on another Linux server Copy all files on main server under /var/lib/redis Install redis-server on new serverafter installation stop the redis service systemctl status redis-serversystemctl…
Note: Replace yourdomain.com with you domain sudo su pm2 install pm2-healthvim ~/.pm2/module_conf.json {“pm2-logrotate”: {“max_size”: “500M”,“retain”: “200”,“compress”: “true”,“dateFormat”: “YYYY-MM-DD_HH-mm-ss”,“workerInterval”: “30”,“rotateInterval”: “* * * * 30”,“rotateModule”: “true”},“module-db-v2”: {“pm2-logrotate”: {},“pm2-health”: {}},“pm2-health”: {“smtp”: {“host”:…
Managing disk space is a crucial task for system administrators and Linux users, especially when handling large amounts of data. Knowing how to check disk usage and file sizes helps…
Simple scp command you can user to copy files one server from another server 1St go to directory which you need to copy ex: you need to copy /etc/copyfoldername cd…