Archive for the ‘Backups’ Category

If I want to backup the files in /backups/061006/designs, I need to determine how to break up the files so that they’ll fit on dvds. My first attempt was to use this command, in the above directory:

mkisofs -rlJDTvV 10june2006 -o /net/backups/10june2006-1.iso [A-B]* [a-b]*

I got lots of errors here saying that two different files have the same Rock Ridge name.

After reading some pages on the net, I created a directory, called dvd1 and moved [A-B]* and [a-b]* to dvd1. Then I used this command:

mkisofs -rlJDTvV 10june2006 -o /net/backups/10june2006-1.iso dvd1

This, worked ok. And, it left off the dvd1 directory, which is what I wanted. But, I thought I could do this without first making the dvd1 directory. So, I moved all the files back to designs, changed to the directory /backups/monthly/061006 and ran this command:

mkisofs -rlJDTvV 10june2006 -o /net/backups/10june2006-2.iso designs/[A-B]* designs/[a-b]*

No luck. I get the Rock Ridge naming problems again. So, it looks like I’m going to have to first put the files in directories. This isn’t much of a problem because then I can run the du command to make sure that none of the directories have more data than will fit on a dvd.
————————
Write the dvd with:

growisofs -Z /dev/dvd=/net/backups/10june2006-1.iso --speed=2

Backups to DVDS

1. mkisofs -r -v volume name -o iso to write location datafiles

2. growisofs -Z /dev/dvd=iso location -speed=2