Categories
SysOps

How to update tar archive

Update tar archive.

Categories
Uncategorized

How to archive every directory in current location

Today I needed to archive every non-hidden directory in several different locations. I do not like to repeat myself so after a while I quickly created shell script to accomplish this task.

Categories
Uncategorized

How to create bootable recovery USB Flash Drive

If you ever wanted to create bootable recovery USB Flash Drive then I have good news for you as it can be achieved in several simple steps using Clonezilla Live CD, external USB Hard Drive, and a target USB Flash Drive.

Categories
Uncategorized

How to perform automated backup using rsync over ssh

Today I will describe how to use rsync over ssh using four simple examples as it is very convinient way to perform secure and automated backup.

Categories
SysOps

Simple shell script to backup selected directories

A couple of months ago, I published a short script to backup MySQL databases. Today I created a simple shell script to backup selected directories.

Categories
SysOps

Simple shell script to backup MySQL databases

Simple shell script to backup MySQL databases.

Categories
Uncategorized

Automated Mikrotik configuration backup

This is just a short note, more information can be found directly at the MikroTik Wiki – Automated Backups.

Categories
Uncategorized

How to backup DOS-type partition table/GPT and LVM metadata?

DOS partition table We can use sfdisk to dump partition table in usable format and store it: $ sudo sfdisk -d /dev/sda > sda_partitions Partition table can be restored using stored backup: $ sudo sfdisk /dev/sda < sda_partitions Partition table can be easily cloned (from sda to sdz in this example): $ sudo sfdisk -d […]

How to convert RAW image to VDI and otherwise

VirtualBox command-line interface (VBoxManage) provides an easy way to convert the raw disk image to the VDI/VMDK format and otherwise.