Unix Tech Tips

3. Backup commands – ufsdump , tar , cpio

ufsdump
1. Used for complete file system backup .
2. It copies every thing from regular files in a file system to special character and block device files.
2. It can work on mounted or unmounted file systems.

Tar:
1. Used for single or multiple files backup .
2. Can’t backup special character & block device files .
3. Works only on mounted file system.

Identifying  the tape device
dmesg | grep st

Checking  the status of the tape drive
mt -f /dev/rmt/0  status

Pages: 1 2 3 4 5 6

Tags:

2 Responses to “Unix Tech Tips”

  1. Andrew Hardej Says:

    This will also do it.

    tr -d ‘15′ new_file_name

  2. Andrew Hardej Says:

    My prior post has the wrong syntax. See below:

    Removing ^M from UNIX text files

    tr -d ‘15′ new_file_name

Leave a Reply

Comments will be published after approval by Moderator.