Re: SOS - how to restor deleted directory?

From: Pascal Bourguignon (spam_at_thalassa.informatimago.com)
Date: 07/30/04


Date: 30 Jul 2004 20:15:41 +0200


"L" <l_x2828@yahoo.com> writes:
> I accedently deleted /usr/local/ directory on RH Linux 9.0. Is there a way
> to restore it?

Of course!

Just mount your latest daily backup CDRW o DVD+RW, and copy back the files.

    mount /media/cdrom
    cp -a /media/cdrom/usr/local /usr/

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
There is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him. -- Robert Heinlein


Relevant Pages

  • Re: mounting tape drive?
    ... >:I need to do a restore. ... > are stored on tape. ... > For details on MOUNT and BACKUP commands, ... > newbies once), and newbies that have made a reasonable effort to read ...
    (comp.os.vms)
  • Re: Problem Restoring Dump Via Fixit Environment in FreeBSD 6.0 Release Boot Cdrom
    ... backups of my Gentoo and FreeBSD partitions. ... and run FIXIT to try and restore the dumps I run into problems. ... fixit won't even let me mount my linux boot drive ...
    (freebsd-questions)
  • Re: Backups to USB disk with Dump/Restore? (restore seems to hang)
    ... mounted usb drive ... Maybe incompatible versions of dump and restore? ... I've managed to get to a point where I can mount the root filesystem ...
    (comp.os.linux.hardware)
  • Re: Backups to USB disk with Dump/Restore? (restore seems to hang)
    ... I've managed to get to a point where I can mount the root filesystem ... readonly - hopefully a full backup with dump will now be restorable. ... If I ctrl-C I get back to the restore prompt. ... used dump then restore several times when repartitioning hard drives ...
    (comp.os.linux.hardware)
  • Re: RSG - [WildPacket]
    ... If you mount this database before you restore ot from backup, ... and transaction log files nefore you restore the database from backup. ...
    (microsoft.public.exchange.admin)