![]()
Restoring files 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.
Restoring files is supported by KaTeker. Use the dialog "Restore" to restore files.
Restoring files manually is supported by KaTeker too. This is also possible when the GUI of KaTeker cannot be used - no X.
The problem is to find the archive holding the file(s) in question of the date needed. The archive holding the file can be on an external media like CDs. The command
/usr/local/bin/backup_system list_files SET pattern
SET is the backup set holding the file(s) in question.
The commands
/usr/local/bin/backup_system list_sets
and
/usr/local/bin/backup_system list_contents SET
may help to identify the backup set.
The result of the list_files command is like
========================================================================================================
Found in set 'HOME' files with pattern 'Simple_Browser.pm' and media 'CD'
files sorted by date media archive saved at
--------------------------------------------------------------------------------------------------------
home/hfk/Arbeit/Simple_Browser.pm mastered home/hfk 14.06.2003 17:33:28
CD_8_796_782 home/hfk 14.06.2003 17:33:28
home/hfk/Programs/Perl/Tk/Simple_Browser.pm updated home/hfk/Programs 16.09.2003 20:35:26
CD_8_844_250 home/hfk/Programs 19.08.2003 17:42:19
CD_8_843_561 home/hfk/Programs 18.08.2003 19:10:05
mastered home/hfk/Programs 14.06.2003 17:36:22
CD_8_796_782 home/hfk/Programs 14.06.2003 17:36:22
--------------------------------------------------------------------------------------------------------
found in the set HOME 2 files in 7 archives.Restoring the files depends on the archiver you are using: dar or tar.
Restoring the updated file home/hfk/Programs/Perl/Tk/Simple_Browser.pm is (assuming to replace the actual file) when tar is used:
cd / tar xzf /SAVE_ROOT/actual/home/hfk/Programs.tgz home/hfk/Programs/Perl/Tk/Simple_Browser.pm
Restoring the updated file home/hfk/Programs/Perl/Tk/Simple_Browser.pm is (assuming to replace the actual file) when dar is used:
cd / dar x /SAVE_ROOT/actual/home/hfk/Programs home/hfk/Programs/Perl/Tk/Simple_Browser.pm
Restoring the masterd file home/hfk/Programs/Perl/Tk/Simple_Browser.pm is when tar is used
cd / tar xzf /SAVE_ROOT/original/home/hfk/Programs.tgz home/hfk/Programs/Perl/Tk/Simple_Browser.pm
Restoring the masterd file home/hfk/Programs/Perl/Tk/Simple_Browser.pm is when dar is used
cd / dar x /SAVE_ROOT/original/home/hfk/Programs home/hfk/Programs/Perl/Tk/Simple_Browser.pm
Restoring the file home/hfk/Programs/Perl/Tk/Simple_Browser.pm saved on CD_8_796_782 when tar is used is:
mount /media/cdrom cd / tar xzf /media/cdrom/home/hfk/Programs.tgz home/hfk/Programs/Perl/Tk/Simple_Browser.pm
Restoring the file home/hfk/Programs/Perl/Tk/Simple_Browser.pm saved on CD_8_796_782 when dar is used is:
mount /media/cdrom cd / dar x /media/cdrom/home/hfk/Programs home/hfk/Programs/Perl/Tk/Simple_Browser.pm
If backup_system is not available read the information on the structure of the archives. The structure is similar to the structure of your file system and the names of the archives are describe its contents.
![]()
© 2003-2004 Dr. Heiner Kuhlmann: www.dr-kuhlmann-software.de, kateker@dr-kuhlmann-software.de