home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / sys5 / r4 / 1340 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.7 KB

  1. Path: sparky!uunet!gatech!destroyer!mudos!mudos!not-for-mail
  2. From: mju@mudos.ann-arbor.mi.us (Marc Unangst)
  3. Newsgroups: comp.unix.sys5.r4
  4. Subject: Re: backup / problems ??
  5. Date: 20 Jan 1993 19:59:28 -0500
  6. Organization: The Programmers' Pit Stop, Ann Arbor MI
  7. Lines: 26
  8. Message-ID: <1jkshgINN7qp@mudos.ann-arbor.mi.us>
  9. References: <1993Jan18.235240.4933@cactus.org> <C13t15.H9t@news.rn.com>
  10. NNTP-Posting-Host: mudos.ann-arbor.mi.us
  11.  
  12. In article <C13t15.H9t@news.rn.com> larry@news.rn.com (Larry Snyder) writes:
  13. >with find . -depth -print -mount | dd bs=5k | cpio -ocB > /dev/tape
  14.                            ^^^^^^
  15. This is why you don't have any problems.  The -mount flag to find(1)
  16. tells it not to recurse into other filesystems.  Since both /proc and
  17. /dev/fd are implemented as separate filesystems under SVR4, cpio never
  18. tries to back them up.
  19.  
  20. But I agree with Larry that you generally don't want to try to back up
  21. pseudo-filesystems such as /proc; their contents will generally be
  22. invalid by the time you go to restore.  /dev/fd is different; it
  23. consists of regular character device files, and you should back it up
  24. just like you back up the rest of /dev.  Of course, tar won't handle
  25. this correctly, but then again tar doesn't handle *any* device files
  26. correctly, and thus shouldn't really be used for a backup of your root
  27. filesystem.
  28.  
  29. Me, I prefer ufsdump -- nice and fast, and the interactive ufsrestore
  30. mode is a godsend when you can't quite remember the name of the file
  31. you need to restore.
  32.  
  33. -- 
  34. Marc Unangst, N8VRH         | "Of course, in order to understand this you
  35. mju@mudos.ann-arbor.mi.us   |  have to remember that the nucleus of the atom
  36.                             |  is squishy."
  37.                             |    -W. Scheider, from a Physics lecture
  38.