From: Israel G. <iga...@gm...> - 2007-09-28 13:38:21
|
On 9/28/07, Stelian Pop <st...@po...> wrote: > Le vendredi 28 septembre 2007 =E0 07:40 -0500, Israel Garcia a =E9crit : > > Hi, I have a box running CentOS 4.5 and an external hdd (100 GB) > > connected in /dev/sda1.. I'm dumping all filesystems to files.dump to > > the external hdd running this: > > > > dump -0 -a -f /mounted_exthdd/filesystem.dmp / > > dump -0 -a -f /mounted_exthdd/filesystem.dmp /usr > > dump -0 -a -f /mounted_exthdd/filesystem.dmp /var > > > > and so on.. > > Are you aware that you're overwriting your backups at each invocation ? > Hi, Stelian... thanks for your soon reply.. yes, I know that.. I'm really dumping all filesystems from Monday to Saturday.. > > So, When I'm gping to restore I run: > > > > restore -i -A /mounted_exthdd/filesystem.dmp to enter in interactive > > mode but when I add/restore files I get this error: > > > > restore > extract > > -A is used to specify a special "table of contents" file. What you're > probably searching for is: > restore -i -f /mounted_exthdd/filesystem.dmp For example, Im trying to restore a file from /boot filesystem... [root@domain# /usr/local/sbin/restore -i -f /hdd/Fri/boot.dump /usr/local/sbin/restore > /usr/local/sbin/restore > what Dump date: Fri Sep 28 08:44:09 2007 Dumped from: the epoch Level 0 dump of /boot on sentai-test.cimex.com.cu:/dev/hda1 Label: /boot1 /usr/local/sbin/restore > verbose verbose mode on /usr/local/sbin/restore > ls .: 2 ./ 17 initrd-2.6.9-55.EL.img 2 ../ 11 lost+found/ 14 System.map-2.6.9-55.EL 12 message 15 config-2.6.9-55.EL 13 message.ja 2009 grub/ 16 vmlinuz-2.6.9-55.EL /usr/local/sbin/restore > add vmlinuz-2.6.9-55.EL /usr/local/sbin/restore > extract Extract requested files You have not read any volumes yet. Unless you know which volume your file(s) are on you should start with the last volume and work towards the first. Specify next volume # (none if no more volumes): none You have not read any volumes yet. Unless you know which volume your file(s) are on you should start with the last volume and work towards the first. Specify next volume # (none if no more volumes): none ./vmlinuz-2.6.9-55.EL: (inode 16) not found on tape I'm getting the same error... regards; Israel > > Stelian. > > -- > Stelian Pop <st...@po...> > > --=20 Regards; Israel Garcia |