473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

tar command to backup

Hi All,

I use tar command to backup my /oracle directory

tar -cvf /dev/rsa0 /oracle

the tape is 40gb.
Now the content in /oracle is big so backup is not going to hapen in that tape.
i have 4 slot for tape rsa0, rsa1, rsa2, rsa3.

i need a program that will shift the backup to tape rsa1, if rsa0 is full.

can i do that with tar command.

regards
rohit
Apr 17 '08 #1
2 3429
mac11
256 100+
Hi All,

I use tar command to backup my /oracle directory

tar -cvf /dev/rsa0 /oracle

the tape is 40gb.
Now the content in /oracle is big so backup is not going to hapen in that tape.
i have 4 slot for tape rsa0, rsa1, rsa2, rsa3.

i need a program that will shift the backup to tape rsa1, if rsa0 is full.

can i do that with tar command.

regards
rohit
I've never used tar with tape backups so I can't give specific advice, but it was made for this sort of thing so I bet it can do what you want.

Try looking at the following page (if you haven't already) http://www.gnu.org/software/tar/manual/html_chapter/Media.html#SEC145
Apr 17 '08 #2
I've never used tar with tape backups so I can't give specific advice, but it was made for this sort of thing so I bet it can do what you want.

Try looking at the following page (if you haven't already) http://www.gnu.org/software/tar/manual/html_chapter/Media.html#SEC145

Thanks Mac.

I got it. let say i have a file system of 60 gb (/oracle).
I have tape rsa0 and rsa1 both of 40 gb each.
Then:

$ tar --create --multi-volume --file=/dev/rsa0 --file=/dev/rsa1 /oracle
or
$ tar cMff /dev/rsa0 /dev/rsa1 /oracle

It will not prompt you after the end of file reached in rsa0.
After making a tar of almost more than 39 gb it will start the unfinished job in rsa1.

regards
rohit
Apr 18 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Chirath Fernando | last post by:
Hi We are running SQL 2000 Enterprice version with SP3a on a Dell Poweedge 5600 server running Advance Server. It has Tape drive PowerVault 110T (DLT VS80 Tape Drive) & uses DLT tapeIV tapes. A...
5
by: TThai | last post by:
Hi, Appreciated anyone who can help us with our problem. Our backup job for ROUTT database has been failing for the last 4 days. It was working fine for almost a year now. The only thing...
2
by: nt | last post by:
I am having a problem with a regular backup of an SQL Server (MSDE 2000) database to a local drive. I initiate the backup once a week, by issuing the required T-SQL, via ADO. In this case, the...
1
by: John S | last post by:
Hi All, I have several questions about checking backup file : a. When SQL Server receive a command : BACKUP DATABASE test to DISK = '\\pc1\netdb\BTEST', does it verify BTEST file before...
11
by: kusanagihk | last post by:
To all, How to backup a database into a number of smaller files ? For example, can I can fully backup a DB of 10 MB into 10 files (each 1 MB)??? The problem I've met is that the DB backup...
11
by: debian mojo | last post by:
hello group, a few days ago i used the following backup statement and everthing worked fine: sp_addumpdevice 'disk','pipedump','\\192.x.x.x\L\Data\test.bak' Backup database Test to...
3
by: Mark D Powell | last post by:
Recently I created a new db in production and restored it from test. I have a nightly backup job that backs up all user databases. The backup for this new db is failing. The message in the...
2
by: Tony Do | last post by:
I have the backup command BACKUP DATABASE NEST TO C:\\databases WITH 2 BUFFERS BUFFER 1024 $ How do I force all the user to disconnect? before running the above command
0
by: psadel | last post by:
I am using MS SQL 2000 with service Pack 4, on XP Professional PC with NTFS file system. Now i am facing problem, when i take backup of a DATABASE on networkdevice (created by using "EXEC...
1
by: David Greenberg | last post by:
I wonder if anyone can help me with the following error message. We use Sql 2000. I wanted to backup the transaction log of a database with this command: BACKUP LOG TO WITH NOINIT , ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.