Re (2): Archiving content of a directory on a DVD-R.
From: "Thomas Schmitt" <scdbackup@gmx.net>
Date: Sat, 26 Feb 2022 18:29:45 +0100
> What messages do you get printed when the CD-or-DVD medium is inserted
> and you do:
>
> xorriso -outdev /dev/sr0 -toc
root@joule:/home/root# xorriso -outdev /dev/sr0 -toc
xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev '/dev/sr0'
Media current: CD-R
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 703m free
Drive current: -outdev '/dev/sr0'
Drive access : exclusive:unrestricted
Drive type : vendor 'SONY' product 'CD-RW CRX320E' revision 'NYK2'
Media current: CD-R
Media product: 97m26s66f/79m59s71f , CMC Magnetics Corporation
Media status : is blank
Media blocks : 0 readable , 359844 writable , 359844 overall
Media summary: 0 sessions, 0 data blocks, 0 data, 703m free
root@joule:/home/root#
Thanks. I should have read the fine print at the center of the disk.
To squeeze the data, add -zisofs.
FilesToDVD () { \
printf "Insert open or new DVD-R.";
read t;
cd ~/MY0.Bak/;
xorriso -for_backup -dev /dev/sr0 \
-update_r . / \
-zisofs \
-commit \
-toc -check_md5 failure -- \
-eject all ;
}
I have a supply of CD-Rs and DVDs aren't accessible at present.
Likely xorriso provides a way to spread an archive over multiple CDs.
Documentation or example?
Thx, ... P.
--
mobile: +1 778 951 5147
VoIP: +1 604 670 0140
48.7693 N 123.3053 W
Reply to: