Re: Incremental CDR backups
Le Sun, 26 Oct 2003 19:08:39 -0500, Paul M Foster a écrit :
> mkisofs -r -o /tmp/cdimage -C $NEXTTRACK -M /dev/cdrom /home/paulf/cdrom
you should check, though as i remind you cannot have the same dir name at
the root of the iso9660 image for multisessions. else the first etry with
the nae "/home" is read and other are ignoed (there are tweak to recover
those other sessions even in this case , it s too advanced for me)
from man mkisofs bug section:
o Does not properly read relocated directories in multi-session
mode when adding data.
Any relocated deep directory is lost if the new session does not
include the deep directory.
Repeat by: create first session with deep directory relocation
then add new session with a single dir that differs from the old
deep path.
.. i did not fully get the meaning , anyway it seems to apply too
My bet: use --graft-points mkisofs option to have different root directory
for each sessions:
$DATE=$(date +%Y-%m-%d)
$ mkisofs -r -o /tmp/cdimage -C $NEXTTRACK -M /dev/cdrom \
$DATE-home/paulf/cdrom/=/home/paulf/cdrom
Reply to: