473,322 Members | 1,232 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,322 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 3427
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.