![]()
Restoring files from scratch requires some knowledge in Linux administration. You should read a least the man pages of tar or dar.
Use the instructions at your own risk. Under no circumstances may Dr. Heiner Kuhlmann be held liable for damage to hardware or software, lost data or other damage either direct or indirect caused by applying the instructions.
If the system crashed it is necessary to restore the backup from scratch. There are two cases:
The archives of the SAVE_ROOT are not corrupted
The archives of the SAVE_ROOT are corrupted
when tar is used:
su -
cd /
for archive in `find /SAVE_ROOT/original -type f -name "*.tgz" | sort` \
`find /SAVE_ROOT/actual -type f -name "*.tgz" | sort`
do
tar xzf $file
donewhen dar is used:
su -
cd /
for archive in `find /SAVE_ROOT/original -type f -name "*.tgz" | sort | sed 's,.1.dar,,'` \
`find /SAVE_ROOT/actual -type f -name "*.tgz" | sort | sed 's,.1.dar,,'`
do
dar x $file
doneThis can take some minutes.
is a little more work:
Restore all archives saved on the master CDs and then the latest update CD. When tar is used for each CD do
su -
cd /
mount /media/cdrom
files=`find /media/cdrom/ -type f -name "*.tgz" | grep -E -v "/media/cdrom/[A-Z]+::[A-Z]+"`
for archive in $files ; do
tar xzf $file
done
umount /media/cdromRestore all archives saved on the master CDs and then the latest update CD. When dar is used for each CD do
su -
cd /
mount /media/cdrom
files=`find /media/cdrom/ -type f -name "*.1.dar" | grep -E -v "/media/cdrom/[A-Z]+::[A-Z]+" | sed 's,.1.dar,,'`
for archive in $files ; do
dar x $file
done
umount /media/cdromis similar to restoring from CDs but the mount command will differ.
This is only simple if you saved SAVE_ROOT/log SAVE_ROOT/cache and /root/.kateker.conf . At first restore from CDs.
Restoring the HD archives in SAVE_ROOT is done by tkateker. Use dialog "CDs" select a CD in the list of CDs and hit the <Reconstruct from CD> button. You have to do this for each backup set on the CD. If there are other media types defined they offer the reconstruct function too.
![]()
© 2003-2004 Dr. Heiner Kuhlmann: www.dr-kuhlmann-software.de, kateker@dr-kuhlmann-software.de