About me I've been a computer programmer since I first started typing in program listings on a Commodore Vic 20 when I was about 8. My hobbies include electronics, CNC manufacturing, photography, beer and winemaking.
I live with my wife and lots of left-over parts from unfinished projects in Lincoln, Nebraska, USA.]
Blog
24 March 2008, 23:40 UTCturd: Tape Usage of Real Disk
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:
tar0 457 bytes turd 7.3kB
turd: Tape Usage of Real Disk
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:
| tar0 | 457 bytes |
| turd | 7.3kB |
All older entries
Website Copyright © 2004-2024 Jeff Epler