- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remote backup on tape device
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 09:11 PM
04-26-2010 09:11 PM
Remote backup on tape device
I have three HP unix servers (11.31). I want to take tar backup remotely on tape drive. I have one tape drive only and it is connected with one server.
Kindly provide the solution with commands.
I tried "tar with SSH" but unable to take backup.
Regards,
Ranjeet
- Tags:
- tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 09:27 PM
04-26-2010 09:27 PM
Re: Remote backup on tape device
NFS mount the directory to the system where your tape is attached( say server B)
Take backup from server B
#tar -cvf < directory name >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 09:32 PM
04-26-2010 09:32 PM
Re: Remote backup on tape device
try to make an script in the local server.
and run the script from the remote machine.
That is better for every one.
For one example,
I'm in Tezpur university, i've One RHEL 5 as a proxy server with squid. For some peoples internet connection required for some time. And for some other peoples, it requies at some time.Some time, requied to stop.
For that, I've made a script to copy the configuration files depending upon the cron.
like that u just make a script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 10:45 PM
04-26-2010 10:45 PM
Re: Remote backup on tape device
I am unable to erase the tape.
Pls find below output:-
# mt -f /dev/rmt/c0t0d0BESTnb status
Drive: HP Ultrium 3-SCSI
Format:
Status: [41114400] BOT online compression immediate-report-mode
File: 0
Block: 0
# tar tvf /dev/rmt/c0t0d0BESTnb
Tar: blocksize = 16
rwxrwxrwx 0/3 0 Oct 9 13:43 2009 /tmp/test/
rw-rw-rw- 0/3 52 Aug 25 17:17 2009 /tmp/test/Docapp.text
rw-rw-rw- 0/3 21751 Aug 25 17:17 2009 /tmp/test/Docappio.text
rwxr-xr-x 0/0 0 Oct 5 12:28 2009 /tmp/test/emcgrab/
rwxr-xr-x 0/0 14454 Apr 15 18:44 2009 /tmp/test/emcgrab/README
rw-r--r-- 0/0 15182 Jan 3 04:40 2009 /tmp/test/emcgrab/EMC_LEGAL_NOTICE.txt
rwxr-xr-x 0/0 27 Apr 13 20:42 2009 /tmp/test/emcgrab/version.sh
rwxr-xr-x 0/0 9013 Apr 14 00:18 2009 /tmp/test/emcgrab/emcgrab.sh
rwxr-xr-x 0/0 0 Apr 14 00:42 2009 /tmp/test/emcgrab/tools/
rwxr-xr-x 0/0 2581 Feb 27 02:15 2009 /tmp/test/emcgrab/tools/inq.sh
rwxr-xr-x 0/0 3062 Jan 5 22:13 2009 /tmp/test/emcgrab/tools/dru.sh
rwxr-xr-x 0/0 1450 Jan 5 22:15 2009 /tmp/test/emcgrab/tools/rp.sh
rwxr-xr-x 0/0 1796 Jan 5 22:14 2009 /tmp/test/emcgrab/tools/ift.sh
rwxr-xr-x 0/0 2102 Jan 5 22:12 2009 /tmp/test/emcgrab/tools/lvm.HP-UX.sh
rwxr-xr-x 0/0 0 Sep 23 01:12 2005 /tmp/test/emcgrab/tools/awk/
rw-rw-rw- 0/0 1095 Sep 4 03:37 2003 /tmp/test/emcgrab/tools/awk/check_ip.awk
rw-rw-rw- 0/0 304 Sep 4 03:36 2003 /tmp/test/emcgrab/tools/awk/check_exe.awk
rw-rw-rw- 0/0 2196 Sep 4 03:32 2003 /tmp/test/emcgrab/tools/awk/date_calc.awk
rw-rw-rw- 0/0 468 Sep 4 03:38 2003 /tmp/test/emcgrab/tools/awk/normalize_clarify.awk
rw-rw-rw- 0/0 403 Sep 4 03:37 2003 /tmp/test/emcgrab/tools/awk/extract_executable.awk
rwxr-xr-x 0/0 1162 Jan 5 22:13 2009 /tmp/test/emcgrab/tools/MODEL.sh
rwxr-xr-x 0/0 970 Jan 5 22:13 2009 /tmp/test/emcgrab/tools/erm.sh
rwxr-xr-x 0/0 1433 Jan 5 22:16 2009 /tmp/test/emcgrab/tools/sdmm.sh
rwxr-xr-x 0/0 4569 Apr 14 01:21 2009 /tmp/test/emcgrab/tools/pp.sh
rwxr-xr-x 0/0 1040 Apr 14 00:44 2009 /tmp/test/emcgrab/tools/networks.sh
rwxr-xr-x 0/0 4924 Jan 5 22:14 2009 /tmp/test/emcgrab/tools/host.sh
rwxr-xr-x 0/0 1895 Jan 5 22:14 2009 /tmp/test/emcgrab/tools/ifs.sh
rwxr-xr-x 0/0 1838 Jan 5 22:16 2009 /tmp/test/emcgrab/tools/vcs.sh
rwxr-xr-x 0/0 0 Apr 14 01:24 2009 /tmp/test/emcgrab/tools/lite/
rwxrwxrwx 0/0 0 Sep 24 16:22 2009 /tmp/test/emcgrab/tools/lite/inq.sh symbolic link to ../inq.sh
rwxrwxrwx 0/0 0 Sep 24 16:22 2009 /tmp/test/emcgrab/tools/lite/lvm.HP-UX.sh symbolic link to ../lvm.HP-UX.sh
rwxr-xr-x 0/0 837 Apr 14 01:24 2009 /tmp/test/emcgrab/tools/lite/pp.sh
rwxrwxrwx 0/0 0 Sep 24 16:22 2009 /tmp/test/emcgrab/tools/lite/networks.sh symbolic link to ../networks.sh
rwxr-xr-x 0/0 3818 Jan 5 22:12 2009 /tmp/test/emcgrab/tools/lite/se.sh
rwxr-xr-x 0/0 2512 Jan 5 22:12 2009 /tmp/test/emcgrab/tools/lite/HP-UX.sh
rwxrwxrwx 0/0 0 Sep 24 16:22 2009 /tmp/test/emcgrab/tools/lite/cstm.sh symbolic link to ../cstm.sh
rwxrwxrwx 0/0 0 Sep 24 16:22 2009 /tmp/test/emcgrab/tools/lite/hbainfo.sh symbolic link to ../hbainfo.sh
rwxrwxrwx 0/0 0 Sep 24 16:22 2009 /tmp/test/emcgrab/tools/lite/clariion.sh symbolic link to ../clariion.sh
rwxr-xr-x 0/0 0 Sep 23 01:12 2005 /tmp/test/emcgrab/tools/.old_modules/
rwxr-xr-x 0/0 1705 Dec 7 03:48 2003 /tmp/test/emcgrab/tools/.old_modules/vl.sh
rwxr-xr-x 0/0 1274 Jun 22 09:43 2003 /tmp/test/emcgrab/tools/.old_modules/fz.sh
rwxr-xr-x 0/0 5429 Oct 25 05:59 2004 /tmp/test/emcgrab/tools/.old_modules/celerra.sh
rwxr-xr-x 0/0 667 Jun 22 10:30 2003 /tmp/test/emcgrab/tools/.old_modules/esnm2.sh
rwxr-xr-x 0/0 3428 Jan 5 22:12 2009 /tmp/test/emcgrab/tools/ppvm.sh
rwxr-xr-x 0/0 11593 Apr 14 23:53 2009 /tmp/test/emcgrab/tools/se.sh
rwxr-xr-x 0/0 2527 Jan 5 22:13 2009 /tmp/test/emcgrab/tools/ecc.sh
rwxr-xr-x 0/0 4479 Jan 14 11:52 2009 /tmp/test/emcgrab/tools/HP-UX.sh
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.
User entered a null name for next device file.
# mt -f /dev/rmt/c0t0d0BESTnb erase
mt: unknown command "erase"
# mt -f /dev/rmt/c0t0d0BESTnb rewind
# mt -f /dev/rmt/c0t0d0BESTnb erase
mt: unknown command "erase"
#
Regards,
Ranjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 10:50 PM
04-26-2010 10:50 PM
Re: Remote backup on tape device
# mt -f /dev/rmt/c0t0d0BESTnb erase
mt: unknown command "erase"
Command not exists !
you want to format the tape ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 11:44 PM
04-26-2010 11:44 PM
Re: Remote backup on tape device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2010 12:38 AM
04-27-2010 12:38 AM
Re: Remote backup on tape device
You could use dd(1) to write /dev/zero onto the tape but it may not be secure enough.
There are other threads about degaussing and others about physical destruction.