With $100 terabyte hard disks but without inexpensive backup media and drives, it is often necessary to mark parts of a filesystem 'nodump' to get useful backups on a reasonable number of pieces of media.
turd is a program I cooked up to help with this: it is like the standard du utility, except that it consults the filesystem nodump flag. This means the output of turd approximates the amount of tape space required to dump the named directory. Like du -x, turd never recurses into a different filesystem.
tar0 is a program that takes a list of NUL-terminated filenames and directory names on stdin and writes a tar file to stdout. For each filename or directory the file or directory itself is written; the contents of directories are not recursively written. To create a tar of only files changed since the last level-1 dump, use
cd /mount-point; turd -F -1 | tar0 > level1.tar
turd and tar0 ar released under the terms of the GNU General Public License, version 2 or later.
There is now a git repository for turd: http://git.unpy.net/view/turd.git/
Files currently attached to this page:
All older entries
Website Copyright © 2004-2018 Jeff Epler