HPUX: Restore /etc directory from ignite tape

HPUX: Restore /etc directory from ignite tape

HPUX: Restore /etc directory from ignite tape 150 150 Roderick Derks

# mkdir cd /tmp/restore_etc
# cd /tmp/restore_etc
# mt -f /dev/rmt/0mn rew (rewind ignite tape)
# mt -f /dev/rmt/0mn fsf 1 (fast forward to right postion on tape)
# tar xvf /dev/rmt/0m etc (restore directory)

NO slash for "etc" -> not /etc

# cp -R -p -i . /etc/
Don't overwrite files by pressing the N key when asked

Another option
# tar xvf /dev/rmt/0m etc/aliases (restore single file)
NO slash for "etc"

Roderick Derks

Liefhebber van fietsen, van het oplossen van IT puzzels, en van het delen van informatie om anderen te helpen.

All stories by:Roderick Derks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message