Posts Tagged ‘backup’

Copying a partition table to another disk

Friday, September 5th, 2008

This week I added a new hard drive to a server, meant as a spare drive for the RAID 1 array (linux software RAID). To activate the partitions as spares, I needed to recreate exactly the same partitions as the other disks (same size).

I first tried doing that manually with GNU parted, but that turned out to be hard to do, it seems I could never get the partitions to have exactly the same size…

So I searched a bit on Google, and found a way to make a backup of the partition table of one disk, and copy it to another disk very easily. As usual, the dd command is always a great tool for that kind of job. (more…)

Simple incremental backup with rsync over SSH

Saturday, December 1st, 2007

SSH and rsync can be used as a powerful backup tool. Together with hard links, it is also possible to use it to make incremental backups using a simple script. (more…)