AM TRYING TO CONNECT A USB EXTERNAL DRIVE FOR BACKUP,THE USB SLOT IS AVAILABLE,BUT I DONT KNOW IF IT IS READY WHEN I CONNECT IT,AND WHAT COMMANDS DO I NEED.
tHANKS
please read the rules! #1
i dont get it
Back to the subject, what Solaris release are you using ? (cat /etc/release)
its solaris 10.and also i need the commands to copy backed up files from a directory to tape.
after connecting the usb device check (or maybe post) the output of "dmesg" and "rmformat". for backup to tape check the commands "tar" and "ufsdump".
thanks for the info
after plugging in my usb device, in my system ruunning solaris 10,it was identified,will i have to issue any command when i want to eject the usb device.
thanks
Yes. Either use the eject or umount command.
thanks for the info
Part of my bash script to tar a directory send it to tape and rewind.
echo "Tar'n all files in backup dir..."
tar -cf /export/home/tapebackup/backup/dailybackup.tar *
echo "Tar complete!"
echo "Copying all files to tape..."
ls | grep dailybackup.tar | cpio -ocB > /dev/rmt/0
echo "Copy Complete!"
echo "Rewinding tape..."
mt -f /dev/rmt/0 rewind
echo "Rewind complete!"