I have to take back up of 1.8TB data in single cmd. I have tape which has the capasity of 600 GB. Hence i want to use multiple tapes to take the backup using tar cmd.
Hi,
Unfortunately tar does not support splitting of archive.
You have to do this by hand, using split (man 1 split)
This produces volumes of 600GB.
Notice that with "GB" we mean decimal GB (10^9), while -b600G would mean binary GB (GiB, 2^30).
Alternatively:
Chops file to three pieces.
Then, at restore, join them with:
ps: Never used a tape. I assume that with backup software you can put the out.aa out.ab etc each of them to one tape. Don't try to untar them while chopped!!
Advertised tape sizes are very often inflated. We don't know his tapes actually are 600GB, i.e. whether that means real gigabytes or drivemaker's gigabytes, uncompressed or with theoretical max compression, etc. The only way to be sure of that is to use the capacity in blocks as defined by the manufacturer.
Blocks versus bytes is grade-school math, 1024 bytes is two 512-byte blocks...
Advertised tape sizes are very often inflated. We don't know his tapes actually are 600GB, i.e. whether that means real gigabytes or drivemaker's gigabytes, uncompressed or with theoretical max compression, etc. The only way to be sure of that is to use the capacity in blocks as defined by the manufacturer.
Blocks versus bytes is grade-school math, 1024 bytes is two 512-byte blocks...
You are correct. I googled it and it's SDLT II 300GB real (2:1).
And of course it's drivemakers GB Only RAM chips is "real"
Hard drives, cdroms, dvd's, and other media still come in units of powers of two -- they have to talk to computers, they could scarcely be anything else! They have sector sizes of 512, 2048, or 4096 bytes, not 500, 2000, and 4000. They're just advertised in powers of ten to make the number bigger.
I dread the days when they figure out how to make arbitrary sizes of RAM. They've already done it for flash media, somehow. Then RAM'll start shrinking too, no doubt.
Hi, I'm working on HP-UX B.11.23 64bit. I tried to tar couple of directories but failed to do so.
$ tar -cvf tar_file_name -C /dir1 /dir2
the -C is for directories as mentioned in the man pages. But still unable to create a tar file having directories and sub-directories.
Requesting help in... (1 Reply)
hello,
i want to use "-depth" in command "find" and want to exclude a directory.
the find command should work in HP-UX and Linux.
i see in the find man page:
-prune
If -depth is not given, true; do not descend the current directory.
If -depth is given, false; no effect.
-depth... (3 Replies)
Hi,
The only off-line storage medium I have is DVD. I am trying to back up around 10G of data and if I can achieve a practical solution I will use it more generally.
I am currently considering something along the lines of:
tar --create --multi-volume --tape-length=nnnn <pathspec>
|... (0 Replies)
Hi,
We will purchase redhat enterprise WS. We want to use Windows and Redhat in same machine. For this purpose , should we buy Redhat with Multi OS option? Or Is it just for virtualization..? (I couldnt be sure)
Regards... (3 Replies)
Hi
I would like to use tar cmd in my script.
I have a variable with filenames, e.g. 1000 records and I would like to paste its values into tar cmd.
For this example I used three elements variable strings.
strings="file1.txt file2.txt file3.txt"
`tar cf file1.tar $strings`
Whether... (1 Reply)
Hi,
When I use -p option(preserve permissions) while creating tar archives, it throws error and creates archive in the name of 'p'. But without -p option I am able to create archive name as I mentioned.
how do I work it out with --preserve-permissions?
Any help is much appreciated.
... (3 Replies)
Has anyone you know ever used the -G --incremental option successfully with the tar command?
I'm not talking about the little -g --listed-incremental option. I don't want incremental backups. Just one differential backup which is what the -G is for. The -G command is supposed to make a single... (1 Reply)
Hi !
i have to write a script that archivs homes not used since 3 years.
First, my script gathers the users that are concerned, using the following command :
ll -lt /home/*/.sh_history | egrep '2000|1999|1998|1997' | awk '{print $3}'
i obtain a list like this :
user_1
user_2
...... (3 Replies)
Howdy,
I'm trying to tar some directories to tape and then extract them from tape on another machine. I was hoping someone could help me with the syntax of the tar commands. Both machines are running Solaris 8.
Need to get all files and directories under the following:
... (6 Replies)