About backup the files and filesystems

Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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,...
    4. 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, --...
    5. 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...
  3. #2

    Default Re: About backup the files and filesystems

    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.
    phn@icke-reklam.ipsec.nu Guest

  4. #3

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139