Backups
-
Building for Production: Web Applications — Backups
Introduction After coming up with a recovery plan for the various components of your application, you should set up the backup system that is required to support it. This tutorial will focus on using Bacula as a backups solution. The benefits of using a full-fledged backup system, such as Bacula, is that it gives you full control over what you back up and restore at the individual file level, and you can schedule backups and restores according to what is…
-
How To Back Up, Restore, and Migrate a MongoDB Database on Ubuntu 20.04
The author selected the COVID-19 Relief Fund to receive a donation as part of the Write for DOnations program. Introduction MongoDB is one of the most popular NoSQL database engines. It is famous for being scalable, robust, reliable, and easy to use. database engines. It is famous for being scalable, robust, reliable, and easy to use. In this article, you will back up, restore, and migrate a sample MongoDB database. Importing and exporting a database means dealing with data in…
-
How to Perform Backup and Restore Using TrilioVault in DOKS
Introduction In this tutorial, you will learn how to deploy TrilioVault for Kubernetes (or TVK) to your DOKS cluster, create backups, and recover from a backup if something goes wrong. You can back up your entire cluster, or optionally choose a namespace or label-based backups. Advantages of using Trilio: Take full (or incremental) backups of your cluster and restore in case of data loss. Migrate from one cluster to another. Helm release backups are supported. Run pre and post-hooks for…
-
How to Backup and Restore Data of a DOKS Cluster Using Velero
Introduction Just like any other setup, the data in a Kubernetes cluster can be at risk of getting lost. To prevent serious issues, it’s essential to have a data recovery plan at hand. A simple and effective way to do this is by making backups, ensuring that your data is safe in case of any unexpected events. Backups can be run one-off or scheduled. It’s a good idea to have scheduled backups to ensure you have a recent backup to…
-
How To Configure MySQL Group Replication on Ubuntu 20.04
Introduction MySQL replication reliably mirrors the data and operations from one database to another. Conventional replication involves a primary server configured to accept database write operations with secondary servers that copy and apply actions from the primary server’s log to their own data sets. These secondary servers can be used for reads, but are usually unable to execute data writes. Group replication is a way of implementing a more flexible, fault-tolerant replication mechanism. This process involves establishing a pool of…
-
How To Choose an Effective Backup Strategy
Introduction Backups are very important for cloud servers. Whether you are running a single project with all of its data stored on a single server, or deploying directly from Git to VMs that are spun up and torn down while retaining a minimum set of logs, you should always plan for a failure scenario. This can mean many different things depending on what applications you are using, how important it is to have immediate failover, and what kind of problems…
-
How To Import and Export Databases in MySQL or MariaDB
Introduction Importing and exporting databases is a common task in software development. You can use data dumps to back up and restore your information. You can also use them to migrate data to a new server or development environment. In this tutorial, you will work with database dumps in MySQL or MariaDB (the commands are interchangeable). Specifically, you will export a database and then import that database from the dump file. 1-Click deploy a database using DigitalOcean Managed Databases. Let…
-
How to Failover an Azure Site Recovery Snapshot (Step by Step)
So you’re using Microsoft Azure Site Recovery (ASR) and have already gone to the trouble of setting up replication of a few VMs. Now what? It’s time to learn how to fail those VMs over to your backup site (secondary datacenter) to test it out! To follow along with this tutorial, be sure you’ve already followed the first installment in this two-post series entitled How to Plan, Set Up and Deploy Azure Site Recovery. If you’ve already set up an…
-
Getting Started with Veeam Backup & Replication and VMware vSphere
If you need peace of mind that your virtual machines (VMs) are backed up and safe in case of a disaster, and it’s time to look at Veeam Backup & Replication. Veeam’s VM backup product is handy for backup and recovery of both Windows and Linux VMs securely. In this tutorial, you’ll learn how to get started with Veeam Backup & Replication by walking through the initial setup and backing up and restoring a VM. Let’s get started! Prerequisites Ready…