How to create a custom backup plan for Debian with backupninja

Backupninja is a powerful and highly-configurable backup tool for Debian based distributions. In the previous tutorial, we explored how to install backupninja and how to set up two backup actions for the program to perform. However, we should note that those examples were only “the tip of the iceberg,” so to speak. In this post […]
Continue reading…

 

How to back up a Debian system using backupninja

Prudence or experience by disaster can teach every sysadmin the importance of taking frequent system backups. You can do so by writing good old shell scripts, or using one (or more) of the many backup tools available for the job. Thus the more tools you become acquainted with, the better informed decisions you will make […]
Continue reading…

 

How to create a cloud-based encrypted file system on Linux

Commercial cloud storage services such as Amazon S3 and Google Cloud Storage offer highly available, scalable, infinite-capacity object store at affordable costs. To accelerate wide adoption of their cloud offerings, these providers are fostering rich developer ecosystems around their products based on well-defined APIs and SDKs. Cloud-backed file systems are one popular by-product of such […]
Continue reading…

 

How to synchronize files between two servers bidirectionally

Suppose you have a collection of files which are replicated on two different servers. The two replicas are then modified independently, and you want whatever changes made in one replica to be propagated to the other, so that both replicas remain in sync. There are several file mirroring tools on Linux, such as rsync or […]
Continue reading…

 

How to create a secure incremental offsite backup in Linux with Duplicity

If you maintain mission-critical data on your server, you probably want to back them up on a remote site for disaster recovery. For any type of offsite backup, you need to consider encryption in order to avoid any unauthorized access to the backup. In addition, it is important to use incremental backup, as opposed to […]
Continue reading…

 

How to back up hard drives for disaster recovery with Clonezilla

Hardware failure is a norm rather than an exception. Like any other hardware, a disk drive also fails, for a variety of reasons, such as power loss, manufacturing faults, usual wear and tear, etc. To recover from any kind of disastrous disk failure, you need to clone or back up your hard drives. For example, […]
Continue reading…

 

How to backup a MySQL server database

If you are running a MySQL server with critical information, you may want to back up its databases periodically. A Linux command-line tool called mysqldump allows you to back up MySQL databases without needing to shut down a MySQL server. mysqldump generates as output a text file containing a series of MySQL commands that represent […]
Continue reading…