Ask a Question related to Linux / Unix Administration, Design and Development.
-
zhaohui yang #1
About backup the files and filesystems
Hi,
Sorry to bother you all. We need help.
We use "ufsdump" to dump the whole partition to the tape and "tar" to
tar some files in an external harddisk to the tape. But when we try to
take a look at the content of the tape, we only can see the ufsdump part
but cannot see the tar files. Why is this? Can anyone answer my question?
Thank you very much.
-Z
-------------------------------------------
zhaohui yang Guest
-
best way to backup, copy book files
I'm a new IDCS2 user and just built my first book file with 10 separate chapter files. I want to make a copy of it and start working on the copy to... -
windows backup utility - Access files
Hi All! I have a windows 2000 server (with all service packs + windows update), and on it there is an Access database, accessed by book-keeping... -
Backup of DAT files
do you get an err msg like the file is in use? although shadow copy was supposed to fix all that, and are you backing up to a tape drive or a file,... -
How to get the Windows XP backup program to compress files?
Hi, How can I get the Windows XP backup program to compress files, like I used to be able to do when running Windows 98? Sincerely, --... -
Old Backup Files
How can i access older backup files that were backed up using Windows 95 and 98 in Windows XP. I have tried to open several of the files but have... -
phn@icke-reklam.ipsec.nu #2
Re: About backup the files and filesystems
zhaohui yang <zyang1@students.uiuc.edu> wrote:
> Hi,Did you append the tarfiles AFTER the ufsdump portion ? Then you will> Sorry to bother you all. We need help.
> We use "ufsdump" to dump the whole partition to the tape and "tar" to
> tar some files in an external harddisk to the tape. But when we try to
> take a look at the content of the tape, we only can see the ufsdump part
> but cannot see the tar files. Why is this? Can anyone answer my question?
> Thank you very much.
> -Z
need to forward the tape one filemark ( mt fsf 1 ) before using tar.
( don't forget to use a non-rewind tapedevice )
/PS
i shure hope you made the above ufsdump to a non-rewind-after-close device,
when the backup was done, otherwize the tape will rewind when ufsdump is done
and the tar will overwrite the dump.
/DS
> -------------------------------------------
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
phn@icke-reklam.ipsec.nu Guest
-
zhaohui yang #3
Re: About backup the files and filesystems
Thanks.
Before we have a wrong impression that ufsdump can only dump the whole
partition. But actually we can dump subdirectory by using ufsdump. so the
problem is resolved.
You are right, tar command will open the device before it excutes and will
close after it's done. And when it's done, it will auto rewind the device
to the beginning. The way to tar multiple folders at one time is
tar cvf /dev/rmt/0 folder1 folder2 folder3...
-Z
-------------------------------------------
On Mon, 14 Jul 2003 [email]phn@icke-reklam.ipsec.nu[/email] wrote:
> zhaohui yang <zyang1@students.uiuc.edu> wrote:>> > I do specify not to rewind by add n to the end of /dev/rmt/0.
> > If I specify /dev/rmt/0n, do I still need to mt fsf 1?
> > We tried this and it doesn;t work either.
> Well, if you make a dump to a non-rewind device, the tape will be rewound
> when dump is finished. using tar to the same device will overwrite the dump.
> Clearly not what you need.
>
> Either learn "how-to-use-non-rewind-device" or change strategy :
>
> ( use tar before dump, saving the output of tar to a file , or
> use a separate tape for the tar step, or
> use tar for the whole backup [not what i usually recommend])
>
>
>
>>> > -------------------------------------------
>>> > On Sun, 13 Jul 2003 [email]phn@icke-reklam.ipsec.nu[/email] wrote:>> >> zhaohui yang <zyang1@students.uiuc.edu> wrote:
> >> > Hi,
> >>
> >> > Sorry to bother you all. We need help.
> >> > We use "ufsdump" to dump the whole partition to the tape and "tar" to
> >> > tar some files in an external harddisk to the tape. But when we try to
> >> > take a look at the content of the tape, we only can see the ufsdump part
> >> > but cannot see the tar files. Why is this? Can anyone answer my question?
> >> > Thank you very much.
> >> > -Z
> >>
> >> Did you append the tarfiles AFTER the ufsdump portion ? Then you will
> >> need to forward the tape one filemark ( mt fsf 1 ) before using tar.
> >> ( don't forget to use a non-rewind tapedevice )
> >>
> >> /PS
> >> i shure hope you made the above ufsdump to a non-rewind-after-close device,
> >> when the backup was done, otherwize the tape will rewind when ufsdump is done
> >> and the tar will overwrite the dump.
> >> /DS
> >>
> >>
> >> > -------------------------------------------
> >>
> >>
> >>
> >> --
> >> Peter H?kanson
> >> IPSec Sverige ( At Gothenburg Riverside )
> >> Sorry about my e-mail address, but i'm trying to keep spam out,
> >> remove "icke-reklam" if you feel for mailing me. Thanx.
> >>
>
> --
> Peter Håkanson
> IPSec Sverige ( At Gothenburg Riverside )
> Sorry about my e-mail address, but i'm trying to keep spam out,
> remove "icke-reklam" if you feel for mailing me. Thanx.
>zhaohui yang Guest



Reply With Quote

