About Us Products Services Contact Us
Manucomp | Home
1 Year Warranty Call us Toll-Free at : 1-866-440-1115
 

Backup Commands


Identify the tape device

dmesg | grep st

Check the status of the tape drive

mt -f /dev/rmt/0 status

Tarring files to a tape

tar cvf /dev/rmt/0 *

Cpioing files to a tape

find . -print | cpio -ovcB > /dev/rmt/0

Viewing cpio files on a tape

cpio -ivtB < /dev/rmt/0

Restoring a cpio

cpio -ivcB < /dev/rmt/0

To compress a file

compress -v some.file

To uncompress a file

uncompress some.file.Z

To encode a file

uuencode some.file.Z some.file.Z

To unencode a file

uudecode some.file.Z some.file.Z

To dump a disk slice using ufsdump

ufsdump 0cvf /dev/rmt/0 /dev/rdsk/c0t0d0s0
or
ufsdump 0cvf /dev/rmt/0 /export/home

To restore a dump with ufsrestore

ufsrestore rvf /dev/rmt/0

To duplicate a disk slice directly

ufsdump 0f - /dev/rdsk/c0t0d0s7 |(cd /home;ufsrestore xf -)

 

Copyright © Manucomp 2005. All Rights Reserved. Disclaimer | Privacy Policy
All Sun and Cisco products come with 1 year warranty
Canadian 6-7007 Islington Avenue • Toronto, Ontario, Canada • L4L 4T5 •
Phone : 416-484-0781 • Fax : 416-946-1267 • Toll-Free: 1-866-440-1115
USE OF TRADEMARKS
This site is independent of and does not represent any manufacturer or company for which products may be displayed on this web site. Additionally, said manufacturers do not officially sponsor, approve, or endorse this site or its content. All associated or other logo's found on this site are registered trademarks of their respective owners.