[rear-users] mkbackup and mkbackuponly, both create only rescue media, no system backup!

upen upendra.gandhi at gmail.com
Thu Feb 21 18:08:18 CET 2013


Hello list,

Problem as mentioned in the subject, here is the information of the environment.

rear -V
Relax and Recover 1.13.0 / $Date$

Kernel
3.3.5-gentoo #3  x86_64

rear -dv mkbackuponly
2013-02-21 10:10:57.817357810 Using 'blkid' for rear_vol_id
Relax and Recover 1.13.0 / $Date$
Creating disk layout
Creating tar archive
'/tmp/rear.QE3oKKhBiG5JETV/outputfs/host226.ent.iit.edu/backup.tar.gz'
Archived 59 MiB [avg 6776 KiB/sec]OK
Total bytes written: 62464000 (60MiB, 14MiB/s) in 10 seconds.
Finished in 13 seconds
You should also rm -Rf /tmp/rear.QE3oKKhBiG5JETV


Above created just 60 MB file.


grep -v '^#' /etc/rear/local.conf
KERNEL_FILE=/boot/kernel_321r2_01262011
USE_LAYOUT=y
OUTPUT=ISO
BACKUP=NETFS
NETFS_URL=nfs://NFSSERVER/mnt/nfs/location
BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/tmp/*' '/nfs/*'
'/nfs1/*' '/mnt/*' '/dev/sdb/*')
DHCLIENT_BIN=dhclient
DHCLIENT6_BIN=


host226 tmp # cat backup.log
block 0: /boot/
block 1: /boot/lost+found/
block 2: /boot/boot
block 3: /boot/.keep
block 4: /boot/initramfs-bootsplash
block 778: /boot/boot.0800
block 780: /boot/.keep_sys-boot_lilo-0
block 781: /boot/map
block 2404: /boot/pmbzImage
block 7771: /boot/pminitrd.img
block 84834: /boot/kernel335
block 92673: /boot/kernel_5_27_11
block 99419: /boot/kernel_316
block 106442: /boot/kernel_321r2
block 113529: /boot/kernel_321r2_01262011
block 121376: /boot/gentoo.bmp
block 121980: /nfs/
block 121981: /nfs1/
host226 tmp # cat backup-exclude.txt
/tmp/*
/dev/shm/*
/tmp/*
/nfs/*
/nfs1/*
/mnt/*
/dev/sdb/*

host226 tmp # cat partitions
1 42952379904 32256 primary boot
10 15011103744 66221761536 logical none
11 78765249024 81232897536 logical none
2 1024 42952412160 extended lba
5 49319424 42952444416 logical none
6 106896384 43001796096 logical none
7 1011677184 43108724736 logical none
8 21089585664 44120434176 logical none
9 1011677184 65210052096 logical none

host226 tmp # cat partitions-data
1 42952379904 32256 primary boot
10 15011103744 66221761536 logical none
11 78765249024 81232897536 logical none
2 1024 42952412160 primary lba
5 49319424 42952444416 logical none
6 106896384 43001796096 logical none
7 1011677184 43108724736 logical none
8 21089585664 44120434176 logical none
9 1011677184 65210052096 logical none

host226 tmp # cat parted
BYT;
/dev/sda:160GB:scsi:512:512:msdos:ATA ST3160812AS:;
1:32.3kB:43.0GB:43.0GB:ntfs::boot;
2:43.0GB:160GB:117GB:::lba;
5:43.0GB:43.0GB:49.3MB:fat32::;
6:43.0GB:43.1GB:107MB:ext2::;
7:43.1GB:44.1GB:1012MB:linux-swap(v1)::;
8:44.1GB:65.2GB:21.1GB:ext4::;
9:65.2GB:66.2GB:1012MB:fat32::;
10:66.2GB:81.2GB:15.0GB:ext4::;
11:81.2GB:160GB:78.8GB:::;


What would you guys suggest?

Thanks,
UG


-- 
upen,
emerge -uD life (Upgrade Life with dependencies)


More information about the rear-users mailing list