Linux

BackupPC (and MacOS X)

BackupPC seems to be a cool application. Except for the fact that it is not easy to start working with in the first place. I downloaded BackupPC-2.0.0.tar.gz and installed it into the directory /usr/local/backuppc. Then I executed the config.pl and answered all I could. The place where I want to backup my stuff is my second hard drive /dev/hdb5 which is formatted as reiserfs and mounted at /mnt/hdb. After the config script there was a new directory in /mnt/hdb: backuppc, which contained 6 other directories: conf, cpool, log, pc, pool and trash.

sudo is not only to sudo (execute files as another user)

If you want to execute a command with root privileges, you normally use the command "sudo". But of course you can execute a command also as any other user. E.g. I need to execute some script for my backup as user "backuppc". then I just type:

sudo -u backuppc /usr/local/backuppc/bin/BackupPC_serverMesg status info

Instead of the username (backuppc) one can also use the user id (uid).

Loosing your Windows softly

I have two hard drives and the partitioning is as follows:

hda1 120 GB
/dev/hda1 100 MB Linux ext3 /boot
/dev/hda2 95 GB Linux ext3 /home
/dev/hda3 1 GB Linux swap
/dev/hdb4 Extended partition
/dev/hdb5 17 GB Linux /

hdb1 32 GB
/dev/hdb1 100 MB Linux ext3 /boot
/dev/hdb2 1 GB Linux swap
/dev/hdb3 Extended partition
/dev/hdb4 12 GB NTFS Windows2000
/dev/hdb5 18 GB Linux reiserfs

Pages