If you need a one-liner command to backup your files you can use tar, its quite powerful in its usage and you can also exclude items you dont want. I have a lot of git repos or terraform directories, node-modules
Backups
A collection of 2 posts
Backup and Restore Mutliple Collections From a Database With MongoDB
From a previous post we've Setup a 3 Node MongoDB Replica Set Cluster [https://sysadmins.co.za/setup-a-3-node-mongodb-replica-set-on-ubuntu-16/], and in this post we will go through the steps of backing up a database and restoring it to another
Subscribe to Sysadmins
Subscribe today and get access to a private newsletter and new content every week!