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

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…

 

How to backup files to a remote FTP server using lftp

lftp is a command-line FTP client with several advanced file transfer features. For example, lftp can upload or download a whole directory tree recursively and selectively, or resume interrupted file transfers. A popular use case of lftp is to mirror local files or folders to a remote FTP server. While rsync is a popular mirroring […]
Continue reading…