Date: Mon, 15 Jul 2002 17:17:52 -0400 From: Boyd James H <boyd.jh@mellon.com> To: "'freebsd-questions@FreeBSD.org'" <freebsd-questions@FreeBSD.org> Subject: Dump appears to ignore the nodump flag Message-ID: <20020715211829.8373.qmail@mellon.com>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C22C45.145AB650 Content-Type: text/plain; charset="iso-8859-1" We are running BSD version 4.4 and it appears that the dump utility ignores the nodump flag and backs up the hierarchy below the directory flagged as nodump. In the example below, the structure below env1 is included in the dump. Are we doing something incorrect? Thanks. dump -0uan -f - /usr |gzip |rsh oos0a dd of=/raid1/backup/kws5a/full/usr_0 kws5a(43) pwd /usr kws5a ls -lo total 43 drwxr-xr-x 11 root wheel - 512 Feb 20 14:50 X11R6 drwxr-xr-x 2 root wheel - 6656 Feb 20 15:00 bin drwxr-xr-x 2 root wheel - 512 Feb 20 09:41 compat drwxr-x--- 2 root wheel - 512 Apr 29 10:47 crash drwxr-xr-x 12 lbxprod lbxprod nodump 512 Feb 25 12:28 env1 drwxr-xr-x 12 lbxtest2 lbxtest2 - 512 Feb 25 14:47 env2 drwxr-xr-x 12 lbxtest4 lbxtest4 - 512 Feb 27 10:33 env4 kws5a# cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw,noatime 1 1 /dev/ad0s1f /usr ufs rw,noatime 2 2 /dev/ad0s1e /var ufs rw,noatime 2 0 proc /proc procfs rw 0 0 opshome:/usr/opshome /usr/opshome nfs rw,tcp 0 0 kws5a# cat /etc/dumpdates /dev/ad0s1a 0 Mon Jul 15 16:28:42 2002 /dev/ad0s1f 0 Mon Jul 15 17:05:07 2002 /dev/ad0s1e 0 Mon Jul 15 16:33:15 2002 ***************************************************************** DISCLAIMER: The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator. ------_=_NextPart_001_01C22C45.145AB650 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2654.19"> <TITLE>Dump appears to ignore the nodump flag</TITLE> </HEAD> <BODY> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">We are = running BSD version 4.4 and it appears that the dump utility = ignores</FONT> <FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">the = nodump flag and backs up the hier</FONT><FONT COLOR=3D"#000000" = SIZE=3D2 FACE=3D"Arial">archy below the directory flagged as = nodump. </FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">In the = example below, the structure below env1 is included in the = dump.</FONT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial"> </FONT> <FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">Are we doing something incorrect?</FONT><FONT = COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial"></FONT> </P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">Thanks.</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">dump = -0uan -f - /usr |gzip |rsh oos0a dd = of=3D/raid1/backup/kws5a/full/usr_0</FONT></P> <BR> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">kws5a(43) pwd</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">/usr</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">kws5a = ls -lo</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">total = 43</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">drwxr-xr-x 11 = root wheel = - 512 Feb 20 14:50 X11R6</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">drwxr-xr-x 2 = root wheel = - 6656 Feb 20 15:00 bin</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">drwxr-xr-x 2 = root wheel = - 512 Feb 20 09:41 = compat</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">drwxr-x--- 2 = root wheel = - 512 Apr 29 10:47 crash</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">drwxr-xr-x 12 lbxprod = lbxprod nodump 512 Feb 25 12:28 env1</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">drwxr-xr-x 12 lbxtest2 lbxtest2 = - 512 Feb 25 14:47 env2</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">drwxr-xr-x 12 lbxtest4 lbxtest4 = - 512 Feb 27 10:33 env4</FONT></P> <BR> <BR> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">kws5a# = cat /etc/fstab</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial"># = Device = Mountpoint = FStype Options = Dump Pass#</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">/dev/ad0s1b &nbs= p; = none = swap = sw &nbs= p; 0 0</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">/dev/ad0s1a &nbs= p; = /  = ; ufs = rw,noatime = 1 1</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">/dev/ad0s1f &nbs= p; = /usr = ufs rw,noatime = 2 2</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">/dev/ad0s1e &nbs= p; = /var = ufs rw,noatime = 2 0</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">proc  = ; = /proc = procfs = rw &nbs= p; 0 0</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">opshome:/usr/opshome = /usr/opshome nfs = rw,tcp = 0 0</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">kws5a# = cat /etc/dumpdates</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">/dev/ad0s1a &nbs= p; &nbs= p; 0 Mon Jul 15 16:28:42 2002</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">/dev/ad0s1f &nbs= p; &nbs= p; 0 Mon Jul 15 17:05:07 2002</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">/dev/ad0s1e &nbs= p; &nbs= p; 0 Mon Jul 15 16:33:15 2002</FONT></P> <P><FONT SIZE=3D2 = FACE=3D"Arial">*********************************************************= ******** = DISCLAIMER: The information contained in this e-mail may be = confidential and is intended solely for the use of the named = addressee. Access, copying or re-use of the e-mail or any = information contained therein by any other person is not = authorized. If you are not the intended recipient please notify = us immediately by returning the e-mail to the = originator. </FONT></P> </BODY> </HTML> ------_=_NextPart_001_01C22C45.145AB650-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020715211829.8373.qmail>