Hi folks, Here's the situation. I have a group of engineers who love to save things to disk. Now that the filer is getting full, they are interested in archiving some of those things to DVD. The tress containing the things they want to archive are specified like so: /path/path/path/A/04?? /path/path/path/B/04?? /path/path/path/A/05?? /path/path/path/B/05?? /path/path/path/A/06?? /path/path/path/B/06?? ...and there are things in A and B which do not match the specifications. The total amount of data in this specificaiton is around 30GB, and this is not distributed equally through the specification. What I'm hoping for is a program that I can feed in directory specifications like the above, and it will produce for me DVD images (.iso files) containing these trees in such a format that when the engineers want file $X, I can give them the DVD (or the whole stack, if required) and say "there you go" without having to go through a restore process. I don't want something which creates it's own archive format which spans the DVDs (ie split-tar or ufsdump). I would settle for a program that produces a list of files such that I can create DVD images on my own. Does anyone have any ideas how I might go about doing this, before I roll my own solution? -- /\oo/\ / /()\ \ David Mackintosh | dave at xdroop.com | http://www.xdroop.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080502/b9067548/attachment.sig>
> -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of David Mackintosh > Sent: Friday, May 02, 2008 12:42 PM > To: CentOS mailing list > Subject: [CentOS] Archive-to-DVD > > Hi folks, > > Here's the situation. I have a group of engineers who love to save > things to disk. Now that the filer is getting full, they are > interested in archiving some of those things to DVD. > > The tress containing the things they want to archive are specified > like so: > > /path/path/path/A/04?? > /path/path/path/B/04?? > /path/path/path/A/05?? > /path/path/path/B/05?? > /path/path/path/A/06?? > /path/path/path/B/06?? > > ...and there are things in A and B which do not match the specifications. > > The total amount of data in this specificaiton is around 30GB, and this is > not > distributed equally through the specification.Specification??> > What I'm hoping for is a program that I can feed in directory > specifications like the above, and it will produce for me DVD images > (.iso files) containing these trees in such a format that when the > engineers want file $X, I can give them the DVD (or the whole stack, > if required) and say "there you go" without having to go through a > restore process. > > I don't want something which creates it's own archive format which > spans the DVDs (ie split-tar or ufsdump). >Could not find one when we look either. Closest we came to finding any thing was backuppc.> I would settle for a program that produces a list of files such that I > can create DVD images on my own. > > Does anyone have any ideas how I might go about doing this, before I > roll my own solution?We would help.> > -- > /\oo/\ > / /()\ \ David Mackintosh | > dave at xdroop.com | http://www.xdroop.com-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.
On Fri, May 2, 2008 at 9:41 AM, David Mackintosh <David.Mackintosh at xdroop.com> wrote:> Hi folks, > > Here's the situation. I have a group of engineers who love to save > things to disk. Now that the filer is getting full, they are > interested in archiving some of those things to DVD. > > The tress containing the things they want to archive are specified > like so: > > /path/path/path/A/04?? > /path/path/path/B/04?? > /path/path/path/A/05?? > /path/path/path/B/05?? > /path/path/path/A/06?? > /path/path/path/B/06?? > > ...and there are things in A and B which do not match the specifications. > > The total amount of data in this specificaiton is around 30GB, and this is not > distributed equally through the specification. > > What I'm hoping for is a program that I can feed in directory > specifications like the above, and it will produce for me DVD images > (.iso files) containing these trees in such a format that when the > engineers want file $X, I can give them the DVD (or the whole stack, > if required) and say "there you go" without having to go through a > restore process. > > I don't want something which creates it's own archive format which > spans the DVDs (ie split-tar or ufsdump). > > I would settle for a program that produces a list of files such that I > can create DVD images on my own. > > Does anyone have any ideas how I might go about doing this, before I > roll my own solution? >For requirements as specific as you list above, I'm guessing that the fastest solution is to roll your own - a relatively simple shell script should do the trick. mhr
On Fri, 2008-05-02 at 12:41 -0400, David Mackintosh wrote:> Hi folks, > > Here's the situation. I have a group of engineers who love to save > things to disk. Now that the filer is getting full, they are > interested in archiving some of those things to DVD. > > The tress containing the things they want to archive are specified > like so: > > /path/path/path/A/04?? > /path/path/path/B/04?? > /path/path/path/A/05?? > /path/path/path/B/05?? > /path/path/path/A/06?? > /path/path/path/B/06?? > > ...and there are things in A and B which do not match the specifications. > > The total amount of data in this specificaiton is around 30GB, and this is not > distributed equally through the specification. > > What I'm hoping for is a program that I can feed in directory > specifications like the above, and it will produce for me DVD images > (.iso files) containing these trees in such a format that when the > engineers want file $X, I can give them the DVD (or the whole stack, > if required) and say "there you go" without having to go through a > restore process. > > I don't want something which creates it's own archive format which > spans the DVDs (ie split-tar or ufsdump). > > I would settle for a program that produces a list of files such that I > can create DVD images on my own. > > Does anyone have any ideas how I might go about doing this, before I > roll my own solution?Maybe 1) du -sH /path/path/path/A/04 /path/path/path/B/04 ... &>/tmp/dirsizes 2) vi /tmp/dirsizes 3) group as desired and format aws list of dirs and surround each group with something like echo -n "Insert media and hit enter - ";read A cpio -pdumav /<your target dir> <<EOF # A list of dirs to include EOF>From there, many options. Personally, I would make the format ext2rather than ISO-9660. Its been a long time since I did this, so I'm working from memory. Anyway, then a dd if=<the ext2 fs> of=<your media> bs=20480 makes the CD or DVD. If output is a DVD, remember to format it first.> <snip sig stuff>This is simple enough that you could do a small script that the engineers could run themselves. It's very easy to use the above in conjunction with dc or bc, csplit, awk, perl or whatever you are familiar with, to break it into pieces automatically. HTH -- Bill