- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Tar 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
Discussions
Discussions
Forums
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
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
тАО05-28-2010 01:52 AM
тАО05-28-2010 01:52 AM
Tar Backup on Tape Device
I want to take full server backup (tar) on tape device with RedHat linux OS.
Device and tape details are as below:-
*********************************************
[root@eilindex tmp]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 4.9G 349M 4.3G 8% /
/dev/sda1 999M 5.6M 993M 1% /boot/efi
/dev/sda2 79G 2.1G 73G 3% /data
none 2.0G 0 2.0G 0% /dev/shm
/dev/sda9 3.9G 40M 3.7G 2% /home
/dev/sda3 15G 69M 14G 1% /opt
/dev/sda7 4.9G 69M 4.5G 2% /tmp
/dev/sda5 9.7G 3.6G 5.6G 40% /usr
/dev/sda4 9.7G 148M 9.0G 2% /var
[root@eilindex /]# mt -f /dev/st0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x47 (TR-5).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
**********************************************
Kindly help me in this.
Regards,
Ranjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2010 03:18 AM
тАО05-28-2010 03:18 AM
Re: Tar Backup on Tape Device
what exactly ???
OS backup or data backup ( just directory structure )
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2010 03:19 AM
тАО05-28-2010 03:19 AM
Re: Tar Backup on Tape Device
I want to take all data backup.
Regards,
Ranjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2010 03:27 AM
тАО05-28-2010 03:27 AM
Re: Tar Backup on Tape Device
it seems you want backup of all files/dirs under root (/)
1. cd /
2. tar -cvf /dev/st0 .
if you want to take backup of particular filesystem.
tar -cvf /dev/st0 /filesystem_name
GUdluck
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2010 03:12 AM
тАО05-29-2010 03:12 AM
Re: Tar Backup on Tape Device
I would recommend using bzip2 compression as:
#tar -cjvf /dev/st0 /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2010 07:08 AM
тАО05-29-2010 07:08 AM
Re: Tar Backup on Tape Device
> [...]
Using a reasonably modern tape drive, with
hardware compression, I would not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2010 05:40 AM
тАО05-30-2010 05:40 AM
Re: Tar Backup on Tape Device
>hardware compression, I would not.
are you pretty sure that you can read 1year old tapes with new hardware ??
We have seen that is not true. We use softwrae instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2010 06:55 AM
тАО05-30-2010 06:55 AM
Re: Tar Backup on Tape Device
> old tapes with new hardware ??
I'm quite sure that I can read my older tapes
with my newer tape drives. When I need
compatible hardware, I normally buy
compatible hardware.
> We have seen that is not true.
Perhaps you should buy compatible hardware,
instead of whatever (unspecified) stuff you
have been buying.
> We use softwrae instead.
And you have my permission to do that, but I
prefer to do things in an easy, reliable way,
which does not consume huge amounts of my
limited CPU power doing a job which many
modern tape drives can do without any
external help.