Een volledige backup maken van mijn computer franz3, host=franz6

Laatst verwerkt op 11-09-11 09:17:56 CEST door gebruiker ulefr01

Index

  1. Mijn partitietabel
  2. Al mijn procedures
    1. procedure tuneext4
    2. procedure f3-t1
    3. procedure f3-t2
    4. procedure f3-t3
    5. procedure f3-t3-end
    6. procedure archive-franz3-prepare
    7. procedure archive-franz3-C
    8. procedure archive-franz3-D
    9. procedure archive-franz3-F
    10. procedure archive-franz3-H
    11. procedure archive-franz3-root
    12. procedure archive-franz3-home
    13. procedure archive-franz3-end
  3. Het uiteindelijk resultaat
  4. De uitvoering in details

Partitietabel /dev/sda

# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=       63, size= 37045827, Id= 7, bootable
/dev/sda2 : start= 37045890, size= 27358695, Id=8e
/dev/sda3 : start= 64404646, size= 52885919, Id= f
/dev/sda4 : start=        0, size=        0, Id= 0
/dev/sda5 : start= 64404648, size= 12450312, Id= 7
/dev/sda6 : start= 85016043, size= 22571262, Id=8e
/dev/sda7 : start=107587368, size=  9703197, Id= 7
/dev/sda8 : start= 76855023, size=  8160957, Id= 7

Gebruikte bash/shell procedures

shell tuneext4

# tuneext4

echo 'tuneext4'
echo '--------'
echo 'ext4 device ?'
read device
echo "device= $device"
echo 'ok ?'
read ok
if [ $ok == ' ' ] || [ $ok == 'n' ] || [ $ok == 'N' ]
then
   echo 'nok - dus stoppen'
   exit 1
fi
echo "doe : tune2fs -O has_journal $device"
tune2fs -O ^has_journal $device
echo "doe : e2fsck -f $device"
e2fsck -f $device
echo "doe : tune2fs -J size=4 $device"
tune2fs -J size=4 $device
echo "doe : tune2fs -O extents,uninit_bg,dir_index -i 6m -c 200 $device"
tune2fs -O extents,uninit_bg,dir_index -i 6m -c 200 $device
echo "doe : e2fsck -pfD $device"
e2fsck -pfD $device
echo 'gedaan !'
read ok
echo "device= $device" 
exit 0

shell f3-t1

#!/bin/bash
#
# ----------------------------------------------------------------------------------------------
#
echo "Terminal 1"
echo "----------"
date
#stty cols 180 rows 56
#
cd /media/EHD4P1/franz3
#rm outputs
pwd
#
#
#
/media/EHD4P1/tools/franz3-t1 2>&1 | tee terminal_1.out
#
echo "-----------------"
exit
#

shell f3-t2

#!/bin/bash
#
# ----------------------------------------------------------------------------------------------
#
echo "Terminal 2"
echo "----------"
date
#stty cols 180 rows 56
#
cd /media/EHD4P1/franz3
#rm outputs
pwd
#
#
#
/media/EHD4P1/tools/franz3-t2 2>&1 | tee terminal_2.out
#
echo "-----------------"
exit
#

shell f3-t3

#!/bin/bash
#
# ----------------------------------------------------------------------------------------------
#
echo "Terminal 3"
echo "----------"
date
#stty cols 180 rows 56
#
cd /media/EHD4P1/franz3
#rm outputs
pwd
#
#
#
/media/EHD4P1/tools/franz3-t3 2>&1 | tee terminal_3.out
#
echo "-----------------"
exit
#

shell f3-t3-end

#!/bin/bash
#
# ----------------------------------------------------------------------------------------------
#
echo "Terminal 3_end"
echo "--------------"
DATE="$(date +%Y%m%d)"
date
#stty cols 180 rows 56
#
cd /media/EHD4P1/franz3
#rm outputs
pwd
#
#
#
/media/EHD4P1/tools/franz3-t3-end 2>&1 | tee terminal_3-end.out
#
cat terminal_1.out terminal_2.out terminal_3.out terminal_3-end.out >franz3-${DATE}.out
#
echo "-----------------"
exit
#

shell archive-franz3-prepare

#!/bin/bash
#
# only run as root
if [ "$(id -u)" != '0' ]
then
        echo "this script has to be run as root"
        exit 1
fi
RES=1
umount /media/WinC
umount /media/WinD
umount /media/WinF
umount /media/WinH

vgextend linux /dev/sdb2
RES=0
exit ${RES}

shell archive-franz3-C

#!/bin/bash
#
FSAOPTS='-z7 -j3 -s 2000'                # options to pass to fsarchiver
BACKDIR='/media/EHD4P1/franz3'              # where to put the backup
BACKNAM='backup-C'     # name of the archive
DEVICE='sda1'

# ----------------------------------------------------------------------------------------------

PATH="${PATH}:/usr/sbin:/sbin:/usr/bin:/bin"
TIMESTAMP="$(date +%Y%m%d-%Hh%M)"

# only run as root
if [ "$(id -u)" != '0' ]
then
        echo "this script has to be run as root"
        exit 1
fi


# echo "creation of the lvm snapshot was successfull"
echo "fsarchiver savefs -L${BACKNAM} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${DEVICE}"

# main command of the script that do the real stuff
if fsarchiver savefs -L${BACKNAM} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${DEVICE}
then
	echo "fsarchiver done"
	echo "start md5sum"
        md5sum ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa > ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.md5
        RES=0
else
        echo "fsarchiver failed"
        RES=1
fi

#
fsarchiver archinfo ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa 2>${BACKDIR}/${BACKNAM}-${TIMESTAMP}.info
exit ${RES}

shell archive-franz3-D

#!/bin/bash
#
FSAOPTS='-z7 -j3 -s 2000'                # options to pass to fsarchiver
BACKDIR='/media/EHD4P1/franz3'              # where to put the backup
BACKNAM='backup-D'     # name of the archive
DEVICE='sda8'

# ----------------------------------------------------------------------------------------------

PATH="${PATH}:/usr/sbin:/sbin:/usr/bin:/bin"
TIMESTAMP="$(date +%Y%m%d-%Hh%M)"

# only run as root
if [ "$(id -u)" != '0' ]
then
        echo "this script has to be run as root"
        exit 1
fi


# echo "creation of the lvm snapshot was successfull"
echo "fsarchiver savefs -L${BACKNAM} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${DEVICE}"

# main command of the script that do the real stuff
if fsarchiver savefs -L${BACKNAM} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${DEVICE}
then
	echo "fsarchiver done"
	echo "start md5sum"
        md5sum ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa > ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.md5
        RES=0
else
        echo "fsarchiver failed"
        RES=1
fi

#
fsarchiver archinfo ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa 2>${BACKDIR}/${BACKNAM}-${TIMESTAMP}.info
exit ${RES}

shell archive-franz3-F

#!/bin/bash
#
FSAOPTS='-z7 -j3 -s 2000'                # options to pass to fsarchiver
BACKDIR='/media/EHD4P1/franz3'              # where to put the backup
BACKNAM='backup-F'     # name of the archive
DEVICE='sda5'

# ----------------------------------------------------------------------------------------------

PATH="${PATH}:/usr/sbin:/sbin:/usr/bin:/bin"
TIMESTAMP="$(date +%Y%m%d-%Hh%M)"

# only run as root
if [ "$(id -u)" != '0' ]
then
        echo "this script has to be run as root"
        exit 1
fi


# echo "creation of the lvm snapshot was successfull"
echo "fsarchiver savefs -L${BACKNAM} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${DEVICE}"

# main command of the script that do the real stuff
if fsarchiver savefs -L${BACKNAM} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${DEVICE}
then
	echo "fsarchiver done"
	echo "start md5sum"
        md5sum ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa > ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.md5
        RES=0
else
        echo "fsarchiver failed"
        RES=1
fi

#
fsarchiver archinfo ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa 2>${BACKDIR}/${BACKNAM}-${TIMESTAMP}.info
exit ${RES}

shell archive-franz3-H

#!/bin/bash
#
FSAOPTS='-z7 -j3 -s 2000'                # options to pass to fsarchiver
BACKDIR='/media/EHD4P1/franz3'              # where to put the backup
BACKNAM='backup-H'     # name of the archive
DEVICE='sda7'

# ----------------------------------------------------------------------------------------------

PATH="${PATH}:/usr/sbin:/sbin:/usr/bin:/bin"
TIMESTAMP="$(date +%Y%m%d-%Hh%M)"

# only run as root
if [ "$(id -u)" != '0' ]
then
        echo "this script has to be run as root"
        exit 1
fi


# echo "creation of the lvm snapshot was successfull"
echo "fsarchiver savefs -L${BACKNAM} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${DEVICE}"

# main command of the script that do the real stuff
if fsarchiver savefs -L${BACKNAM} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${DEVICE}
then
	echo "fsarchiver done"
	echo "start md5sum"
        md5sum ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa > ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.md5
        RES=0
else
        echo "fsarchiver failed"
        RES=1
fi

#
fsarchiver archinfo ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa 2>${BACKDIR}/${BACKNAM}-${TIMESTAMP}.info
exit ${RES}

shell archive-franz3-root

#!/bin/bash
#
VOLGROP='linux'                 # name of the volume group
ORIGVOL='linux_root'                 # name of the logical volume to backup
SNAPVOL='mysnap'                 # name of the snapshot to create
SNAPSIZ='6G'                     # space to allocate for the snapshot in the volume group
FSAOPTS='-z7 -j3 -s 2000'                # options to pass to fsarchiver
BACKDIR='/media/EHD4P1/franz3'              # where to put the backup
BACKNAM='backuproot'     # name of the archive

# ----------------------------------------------------------------------------------------------

PATH="${PATH}:/usr/sbin:/sbin:/usr/bin:/bin"
TIMESTAMP="$(date +%Y%m%d-%Hh%M)"

# only run as root
if [ "$(id -u)" != '0' ]
then
        echo "this script has to be run as root"
        exit 1
fi

# check that the snapshot does not already exist
if [ -e "/dev/${VOLGROP}/${SNAPVOL}" ]
then
        echo "the lvm snapshot already exists, please destroy it by hand first"
        exit 1
fi

# create the lvm snapshot
if ! lvcreate -L${SNAPSIZ} -s -n ${SNAPVOL} /dev/${VOLGROP}/${ORIGVOL} >/dev/null 2>&1
then
        echo "creation of the lvm snapshot failed"
        exit 1
fi
echo "creation of the lvm snapshot was successfull"
echo "fsarchiver savefs -L${ORIGVOL} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${VOLGROP}/${SNAPVOL}"
# main command of the script that do the real stuff
if fsarchiver savefs -L${ORIGVOL} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${VOLGROP}/${SNAPVOL}
then
	echo "fsarchiver done"
	echo "start md5sum"
        md5sum ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa > ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.md5
        RES=0
else
        echo "fsarchiver failed"
        RES=1
fi

# remove the snapshot
if ! lvremove -f /dev/${VOLGROP}/${SNAPVOL} >/dev/null 2>&1
then
        echo "cannot remove the lvm snapshot"
        RES=1
fi
#
fsarchiver archinfo ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa 2>${BACKDIR}/${BACKNAM}-${TIMESTAMP}.info
exit ${RES}

shell archive-franz3-home

#!/bin/bash
#
VOLGROP='linux'                 # name of the volume group
ORIGVOL='linux_home'                 # name of the logical volume to backup
SNAPVOL='mysnap'                 # name of the snapshot to create
SNAPSIZ='6G'                     # space to allocate for the snapshot in the volume group
FSAOPTS='-z7 -j3 -s 2000'                # options to pass to fsarchiver
BACKDIR='/media/EHD4P1/franz3'              # where to put the backup
BACKNAM='backuphome'     # name of the archive

# ----------------------------------------------------------------------------------------------

PATH="${PATH}:/usr/sbin:/sbin:/usr/bin:/bin"
TIMESTAMP="$(date +%Y%m%d-%Hh%M)"

# only run as root
if [ "$(id -u)" != '0' ]
then
        echo "this script has to be run as root"
        exit 1
fi

# check that the snapshot does not already exist
if [ -e "/dev/${VOLGROP}/${SNAPVOL}" ]
then
        echo "the lvm snapshot already exists, please destroy it by hand first"
        exit 1
fi

# create the lvm snapshot
if ! lvcreate -L${SNAPSIZ} -s -n ${SNAPVOL} /dev/${VOLGROP}/${ORIGVOL} >/dev/null 2>&1
then
        echo "creation of the lvm snapshot failed"
        exit 1
fi

echo "creation of the lvm snapshot was successfull"
echo "fsarchiver savefs -L${ORIGVOL} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${VOLGROP}/${SNAPVOL}"

# main command of the script that do the real stuff
if fsarchiver savefs -L${ORIGVOL} ${FSAOPTS} ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa /dev/${VOLGROP}/${SNAPVOL}
then
	echo "fsarchiver done"
	echo "start md5sum"
        md5sum ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa > ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.md5
        RES=0
else
        echo "fsarchiver failed"
        RES=1
fi

# remove the snapshot
if ! lvremove -f /dev/${VOLGROP}/${SNAPVOL} >/dev/null 2>&1
then
        echo "cannot remove the lvm snapshot"
        RES=1
fi
#
fsarchiver archinfo ${BACKDIR}/${BACKNAM}-${TIMESTAMP}.fsa 2>${BACKDIR}/${BACKNAM}-${TIMESTAMP}.info
exit ${RES}

shell archive-franz3-end

#!/bin/bash
#
# only run as root
if [ "$(id -u)" != '0' ]
then
        echo "this script has to be run as root"
        exit 1
fi
RES=1
mount -a

vgreduce linux /dev/sdb2
RES=0
exit ${RES}

Het resultaat

Het resultaat met cijfers




	
	
	
	
	
	
	
	
	
	
	
	
	



laptop Backup Datum = 10 /06 / 2011 externe harddisk 160GB/250GB/500GB/1,5TB










I) Startup in Windows XP






Vorige :



tune sda1
defrag c: x
chkdsk c: x
20101214



tune sda5
defrag f: x
Chkdsk f: x
20100808



tune sda7
defrag h: x
chkdsk h: x
20100622 delete


tune sda8
defrag d: x
chkdsk d: x
_
















II) Startup Rescuecd Rescue64 setkmap=be forcevesa










tune sda1
ntfsfix /dev/sda1 x








tune sda5
ntfsfix /dev/sda5 x








tune sda7
ntfsfix /dev/sda7 x








tune sda8
ntfsfix /dev/sda8 x









mkdir /mnt/sdb1

x








mount /dev/sdb1 /mnt/sdb1; cd /mnt/sdb1/franz3

x







tune sda2
../tools/tuneext4 /dev/mapper/linux-linux_home

x






tune sda6
../tools/tuneext4 /dev/mapper/linux-linux_root

x



















III) Startup into linux











fsarchiver -V : __0.6.12_______________ cd /media/EHD4P1/franz3/



x vgreduce –removemissing linux







fsarchiver probe simple

x lvcreate hangs with kernel 2.6.32-24





backup mbr












mv sda.mbr sda_ .mbr

x







mv sda65.mbr sda65_ .mbr

x







dd if=/dev/sda of=sda.mbr count=1 bs=512

x








dd if=/dev/sda of=sda65.mbr count=65 bs=512

x






backup partitietabel





Terminal 1 ../tools/f3-t1
x



mv parttblsda.sf parttblsda_ .sf

x
Terminal 2 ../tools/f3-t2
x



sfdisk -d /dev/sda >parttblsda.sf

x
Terminal 3 ../tools/f3-t3
x

( restore mbr





Terminal 3 ../tools/f3-t3-end
x


dd if=sda.mbr of=/dev/sda )








( restore partitietabel












sfdisk -f /dev/sda <parttblsda.sf )





















Partitie Type Command Start Ok files Directories Symlinks hardlnks specials starttime endtime duur


../tools/archive-franz3-prepare x x _ _ _ _ _ _ _ _
Sda1 Ntfs ../tools/archive-franz3-C x x 71790 9232 2 0 0 07:37:06 13:31:43 05:54:37
Sda2
linux-linux_home
Ext4 ../tools/archive-franz3-home x x 3639 894 15 1 2 08:45:44 10:10:10 01:24:26
Sda5
Ntfs ../tools/archive-franz3-F x x 131425 10001 0 0 0 08:05:33 11:14:30 03:08:57
Sda6
linux-linux_root
Ext4 ../tools/archive-franz3-root x x 111277 17162 39839 392 92 07:37:34 08:45:44 01:08:10
Sda7 Ntfs ../tools/archive-franz3-H x x 1621 301 0 0 0 11:14:30 12:39:27 01:24:57
Sda8 Ntfs ../tools/archive-franz3-D x x 2660 494 0 0 0 07:38:10 08:05:33 00:27:23


../tools/archive-franz3-end x x _ _ _ _ _ _ _ _

De uitvoering

De uiteindelijke uitvoering



	
	
	
	
	
	
	


root@sysresccd /root % mount /dev/sdb1 /media/EHD4P1
root@sysresccd /root % cd /media/EHD4P1
root@sysresccd /media/EHD4P1 % cd franz3
root@sysresccd /media/EHD4P1/franz3 % ../tools/franz3-t1
Terminal 1 output
-----------------
Sat Jun 11 07:37:06 UTC 2011
stty: standard input: Invalid argument
rm: cannot remove `screen.dump1': No such file or directory
/media/EHD4P1/franz3
fsarchiver 0.6.12 (2010-12-25)
[======DISK======] [=============NAME==============] [====SIZE====] [MAJ] [MIN]
[sda             ] [SAMSUNG MP0603H                ] [    55.94 GB] [  8] [  0]
[sdb             ] [41AS                           ] [     1.36 TB] [  8] [ 16]

[=====DEVICE=====] [==FILESYS==] [======LABEL======] [====SIZE====] [MAJ] [MIN]
[loop0           ] [squashfs   ] [<unknown>        ] [   225.20 MB] [  7] [  0]
[sda1            ] [ntfs       ] [WINDOWSXP        ] [    17.66 GB] [  8] [  1]
[sda2            ] [LVM2_member] [<unknown>        ] [    13.05 GB] [  8] [  2]
[sda5            ] [ntfs       ] [SCHIJF 2         ] [     5.94 GB] [  8] [  5]
[sda6            ] [LVM2_member] [<unknown>        ] [    10.76 GB] [  8] [  6]
[sda7            ] [ntfs       ] [RECOVERY         ] [     4.63 GB] [  8] [  7]
[sda8            ] [ntfs       ] [<unknown>        ] [     3.89 GB] [  8] [  8]
[sdb1            ] [vfat       ] [EHD4P1           ] [     1.15 TB] [  8] [ 17]
[sdb2            ] [LVM2_member] [<unknown>        ] [   109.86 GB] [  8] [ 18]
[sdb3            ] [ntfs       ] [<unknown>        ] [   108.11 GB] [  8] [ 19]
[dm-0            ] [ext4       ] [<unknown>        ] [    13.00 GB] [253] [  0]
[dm-1            ] [ext4       ] [<unknown>        ] [    10.00 GB] [253] [  1]
[dm-2            ] [swap       ] [<unknown>        ] [   520.00 MB] [253] [  2]
Sat Jun 11 07:37:12 UTC 2011
umount: /media/WinC: not found
umount: /media/WinD: not found
umount: /media/WinF: not found
umount: /media/WinH: not found
  Volume group "linux" successfully extended
Sat Jun 11 07:37:14 UTC 2011
fsarchiver savefs -Lbackup-C -z7 -j3 -s 2000 /media/EHD4P1/franz3/backup-C-20110611-07h37.fsa /dev/sda1
Archive will be split into volumes of 2097152000 bytes (1.95 GB)

Statistics for filesystem 0
* files successfully processed:....regfiles=71790, directories=9232, symlinks=2, hardlinks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
fsarchiver done
start md5sum
Sat Jun 11 13:31:43 UTC 2011
-----------------

root@sysresccd /media/EHD4P1 % cd franz3
root@sysresccd /media/EHD4P1/franz3 % ../tools/franz3-t2
Terminal 2 output
-----------------
Sat Jun 11 07:37:33 UTC 2011
stty: standard input: Invalid argument
rm: cannot remove `screen.dump2': No such file or directory
/media/EHD4P1/franz3
fsarchiver 0.6.12 (2010-12-25)
[======DISK======] [=============NAME==============] [====SIZE====] [MAJ] [MIN]
[sda             ] [SAMSUNG MP0603H                ] [    55.94 GB] [  8] [  0]
[sdb             ] [41AS                           ] [     1.36 TB] [  8] [ 16]

[=====DEVICE=====] [==FILESYS==] [======LABEL======] [====SIZE====] [MAJ] [MIN]
[loop0           ] [squashfs   ] [<unknown>        ] [   225.20 MB] [  7] [  0]
[sda1            ] [ntfs       ] [WINDOWSXP        ] [    17.66 GB] [  8] [  1]
[sda2            ] [LVM2_member] [<unknown>        ] [    13.05 GB] [  8] [  2]
[sda5            ] [ntfs       ] [SCHIJF 2         ] [     5.94 GB] [  8] [  5]
[sda6            ] [LVM2_member] [<unknown>        ] [    10.76 GB] [  8] [  6]
[sda7            ] [ntfs       ] [RECOVERY         ] [     4.63 GB] [  8] [  7]
[sda8            ] [ntfs       ] [<unknown>        ] [     3.89 GB] [  8] [  8]
[sdb1            ] [vfat       ] [EHD4P1           ] [     1.15 TB] [  8] [ 17]
[sdb2            ] [LVM2_member] [<unknown>        ] [   109.86 GB] [  8] [ 18]
[sdb3            ] [ntfs       ] [<unknown>        ] [   108.11 GB] [  8] [ 19]
[dm-0            ] [ext4       ] [<unknown>        ] [    13.00 GB] [253] [  0]
[dm-1            ] [ext4       ] [<unknown>        ] [    10.00 GB] [253] [  1]
[dm-2            ] [swap       ] [<unknown>        ] [   520.00 MB] [253] [  2]
Sat Jun 11 07:37:34 UTC 2011
creation of the lvm snapshot was successfull
fsarchiver savefs -Llinux_root -z7 -j3 -s 2000 /media/EHD4P1/franz3/backuproot-20110611-07h37.fsa /dev/linux/mysnap
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=111277, directories=17162, symlinks=39839, hardlinks=392, specials=92
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
fsarchiver done
start md5sum
Sat Jun 11 08:45:44 UTC 2011
creation of the lvm snapshot was successfull
fsarchiver savefs -Llinux_home -z7 -j3 -s 2000 /media/EHD4P1/franz3/backuphome-20110611-08h45.fsa /dev/linux/mysnap
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=3639, directories=894, symlinks=15, hardlinks=1, specials=2
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
fsarchiver done
start md5sum
Sat Jun 11 10:10:10 UTC 2011
------------------

[======DISK======] [=============NAME==============] [====SIZE====] [MAJ] [MIN]
[sda             ] [SAMSUNG MP0603H                ] [    55.94 GB] [  8] [  0]
[sdb             ] [41AS                           ] [     1.36 TB] [  8] [ 16]

[=====DEVICE=====] [==FILESYS==] [======LABEL======] [====SIZE====] [MAJ] [MIN]
[loop0           ] [squashfs   ] [<unknown>        ] [   225.20 MB] [  7] [  0]
[sda1            ] [ntfs       ] [WINDOWSXP        ] [    17.66 GB] [  8] [  1]
[sda2            ] [LVM2_member] [<unknown>        ] [    13.05 GB] [  8] [  2]
[sda5            ] [ntfs       ] [SCHIJF 2         ] [     5.94 GB] [  8] [  5]
[sda6            ] [LVM2_member] [<unknown>        ] [    10.76 GB] [  8] [  6]
[sda7            ] [ntfs       ] [RECOVERY         ] [     4.63 GB] [  8] [  7]
[sda8            ] [ntfs       ] [<unknown>        ] [     3.89 GB] [  8] [  8]
[sdb1            ] [vfat       ] [EHD4P1           ] [     1.15 TB] [  8] [ 17]
[sdb2            ] [LVM2_member] [<unknown>        ] [   109.86 GB] [  8] [ 18]
[sdb3            ] [ntfs       ] [<unknown>        ] [   108.11 GB] [  8] [ 19]
[dm-0            ] [ext4       ] [<unknown>        ] [    13.00 GB] [253] [  0]
[dm-1            ] [ext4       ] [<unknown>        ] [    10.00 GB] [253] [  1]
[dm-2            ] [swap       ] [<unknown>        ] [   520.00 MB] [253] [  2]
[dm-3            ] [ext4       ] [<unknown>        ] [    10.00 GB] [253] [  3]
[dm-4            ] [ext4       ] [<unknown>        ] [    10.00 GB] [253] [  4]
[dm-5            ] [DM_snapshot] [<unknown>        ] [     6.00 GB] [253] [  5]
Sat Jun 11 07:38:10 UTC 2011
fsarchiver savefs -Lbackup-D -z7 -j3 -s 2000 /media/EHD4P1/franz3/backup-D-20110611-07h38.fsa /dev/sda8
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=2660, directories=494, symlinks=0, hardlinks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
fsarchiver done
start md5sum
Sat Jun 11 08:05:33 UTC 2011
fsarchiver savefs -Lbackup-F -z7 -j3 -s 2000 /media/EHD4P1/franz3/backup-F-20110611-08h05.fsa /dev/sda5
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=131425, directories=10001, symlinks=0, hardlinks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
fsarchiver done
start md5sum
Sat Jun 11 11:14:30 UTC 2011
fsarchiver savefs -Lbackup-H -z7 -j3 -s 2000 /media/EHD4P1/franz3/backup-H-20110611-11h14.fsa /dev/sda7
Archive will be split into volumes of 2097152000 bytes (1.95 GB)
Statistics for filesystem 0
* files successfully processed:....regfiles=1621, directories=301, symlinks=0, hardlinks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
fsarchiver done
start md5sum
Sat Jun 11 12:39:27 UTC 2011
-----------------

root@sysresccd /media/EHD4P1/franz3 % ../tools/franz3-t3-end
Terminal 3 output
-----------------
Sat Jun 11 13:32:13 UTC 2011
stty: standard input: Invalid argument
/media/EHD4P1/franz3
fsarchiver 0.6.12 (2010-12-25)
Sat Jun 11 13:32:14 UTC 2011
  Removed "/dev/sdb2" from volume group "linux"
-----------------








-rwxr-xr-x 1 root root 2097113713 Jun 11 10:18 backup-C-20110611-07h37.f01
-rwxr-xr-x 1 root root 2097096369 Jun 11 11:31 backup-C-20110611-07h37.f02
-rwxr-xr-x 1 root root 2097124588 Jun 11 13:01 backup-C-20110611-07h37.f03
-rwxr-xr-x 1 root root 1016697211 Jun 11 13:30 backup-C-20110611-07h37.f04
-rwxr-xr-x 1 root root 2097125708 Jun 11 08:49 backup-C-20110611-07h37.fsa
-rwxr-xr-x 1 root root        712 Jun 11 13:31 backup-C-20110611-07h37.info
-rwxr-xr-x 1 root root         83 Jun 11 13:31 backup-C-20110611-07h37.md5
-rwxr-xr-x 1 root root  879499294 Jun 11 08:04 backup-D-20110611-07h38.fsa
-rwxr-xr-x 1 root root        708 Jun 11 08:05 backup-D-20110611-07h38.info
-rwxr-xr-x 1 root root         83 Jun 11 08:05 backup-D-20110611-07h38.md5
-rwxr-xr-x 1 root root 1932448488 Jun 11 11:11 backup-F-20110611-08h05.fsa
-rwxr-xr-x 1 root root        707 Jun 11 11:14 backup-F-20110611-08h05.info
-rwxr-xr-x 1 root root         83 Jun 11 11:14 backup-F-20110611-08h05.md5
-rwxr-xr-x 1 root root  770554503 Jun 11 12:36 backup-H-20110611-11h14.f01
-rwxr-xr-x 1 root root 2097053381 Jun 11 12:14 backup-H-20110611-11h14.fsa
-rwxr-xr-x 1 root root        707 Jun 11 12:39 backup-H-20110611-11h14.info
-rwxr-xr-x 1 root root         83 Jun 11 12:39 backup-H-20110611-11h14.md5
-rwxr-xr-x 1 root root  172743251 Jun 11 10:08 backuphome-20110611-08h45.f01
-rwxr-xr-x 1 root root 2097043074 Jun 11 10:01 backuphome-20110611-08h45.fsa
-rwxr-xr-x 1 root root        731 Jun 11 10:10 backuphome-20110611-08h45.info
-rwxr-xr-x 1 root root         85 Jun 11 10:09 backuphome-20110611-08h45.md5
-rwxr-xr-x 1 root root 1720368919 Jun 11 08:44 backuproot-20110611-07h37.fsa
-rwxr-xr-x 1 root root        730 Jun 11 08:45 backuproot-20110611-07h37.info
-rwxr-xr-x 1 root root         85 Jun 11 08:45 backuproot-20110611-07h37.md5
-rwxr-xr-x 1 root root        453 Dec 14 13:20 parttblsda_20110611.sf
-rwxr-xr-x 1 root root        512 Dec 14 13:18 sda_20110611.mbr
-rwxr-xr-x 1 root root      33280 Dec 14 13:18 sda65_20110611.mbr


Laatst gewijzigd: zaterdag 19 januari 2019 16:41
Copyright © 2019 - Franz Ulenaers (email : franz.ulenaers@telenet.be)