[SunHELP] Best way to archive ?
Sreenivasa Rao Vadalasetty
sunhelp at sunhelp.org
Sun Apr 29 08:40:19 CDT 2001
Bill, thanks for replying.
I mean to backup the entire partition itself. I am looking for a mechanism
by which :
a) I archive the complete partition when it gets full and delete the
data
b) When the partition gets full again, I want to archive it onto the
same tape to update the previously archived data.
c) The files under subdirectories are unique - Hence every time you
update the archive , new set of data should get updated within the same
archive
d) And, I should finally be able to selectively restore a single file
out of this archive without having to restore the complete saveset.
Sorry to trouble u too much.
Sreenivas.
-----Original Message-----
From: Bill Bradford [SMTP:mrbill at mrbill.net]
Sent: Sunday, April 29, 2001 6:49 PM
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] Best way to archive ?
On Sun, Apr 29, 2001 at 04:35:00PM +0530, Sreenivasa Rao Vadalasetty
wrote:
> I have a disk partition having the following directory structure
> /dir/subdir1/*files*
> /dir/subdir2/*files*
> I need to archive the above directory structure onto a tape
whenever the
> partition becomes full. I mean that I will delete the data on
this
> partition once it is archived onto tape. When the same parition
with the
> same directory structure becomes full, I want to update the
previous tape
> with this latest data on this disk. And in future, I should be
able to
> selectively restore only one of the files in one of the sub
directories.
> Please suggest me an efficient way of doing this. I was thinking
to use
> ufsdump/ufsrestore or tar... but not clear how to make use of
ufsdump for
> this purpose.
> Please let me know if you need more information to suggest a
better
> soultion.
> Sreenivas.
If its just those subdirectories, you have to use tar, because
ufsdump is for entire partitions (afaik).
cd /dir
tar -cvf /dev/<tapedevice> subdir1 subdir2
mt -t /dev/<tapedevice> rewoffl
store the tape 8-)
You can use -zcvf if you have GNU tar and GNU zip (gzip) installed
and want to compress the files on the tape.
Bill
--
Bill Bradford
mrbill at mrbill.net
Austin, TX
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list