Re: Archiving content of a directory on a DVD-R.

2022-03-18 Thread Thomas Schmitt
Hi, > xorriso : UPDATE : 1219.8m content bytes read in 216 seconds = 4.3xD > Ok, session data match recorded md5. Success \o/ The next adventure would be with trying newly bought media. Have a nice day :) Thomas

Re: Archiving content of a directory on a DVD-R.

2022-03-17 Thread peter
From: "Thomas Schmitt" Date: Wed, 16 Mar 2022 08:52:24 +0100 > Now it depends on how much it was used in the last 18 years. Unused since the lab which donated it closed 2016 or 2017. Likely it was unused there for several years. Could be a decade or more since it last operated. > It

Re: Archiving content of a directory on a DVD-R.

2022-03-16 Thread Thomas Schmitt
Hi, pe...@easthope.ca wrote: > Nameplate is marked "September 2003". Now it depends on how much it was used in the last 18 years. (My oldest burner is from 2008 and lives on a strict diet of BD-RW.) > Profile : 0x001B (DVD+R) > Profile : 0x001A (DVD+RW) > Profile : 0x0014 (DVD-RW

Re: Archiving content of a directory on a DVD-R.

2022-03-15 Thread peter
From: "Thomas Schmitt" Date: Tue, 15 Mar 2022 22:27:37 +0100 > How old is it ? Nameplate is marked "September 2003". > I find this model mentioned as early as 2003. DVD burning was a novelty > back then. Consistent. > You may ask it by > > xorriso -outdev /dev/sr0 -list_profiles out D

Re: Archiving content of a directory on a DVD-R.

2022-03-15 Thread Thomas Schmitt
Hi, pe...@easthope.ca wrote: > Drive type : vendor 'PLEXTOR' product 'DVDR PX-708A' revision '1.06' How old is it ? I find this model mentioned as early as 2003. DVD burning was a novelty back then. > https://www.londondrugs.com/verbatim-dvd-rw---30-pack/L7011505.html Says "You have been blo

Re: Archiving content of a directory on a DVD-R.

2022-03-15 Thread peter
From: "Thomas Schmitt" 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 Have this drive in an external case with a blank CD. No DVDs yet. root@joule:/home/root# xorriso -out

Re: Archiving on SD cards (was: Re: Archiving on optical media; was Re: Archiving content of a directory on a DVD-R.)

2022-02-28 Thread Chris Ramsden
Monday, February 28, 2022, 2:52:35 PM, rhkramer wrote: > On Monday, February 28, 2022 12:37:49 AM pe...@easthope.ca wrote: >> Backing data in a 4 or 16 GB SD card is a modest requirement. >> PC Galore might have a drive in stock.  http://www.pcgalore.com/ > What has been your experience with reli

Archiving on SD cards (was: Re: Archiving on optical media; was Re: Archiving content of a directory on a DVD-R.)

2022-02-28 Thread rhkramer
On Monday, February 28, 2022 12:37:49 AM pe...@easthope.ca wrote: > Backing data in a 4 or 16 GB SD card is a modest requirement. > PC Galore might have a drive in stock. http://www.pcgalore.com/ What has been your experience with reliability of SD cards for backup?

Archiving on optical media; was Re: Archiving content of a directory on a DVD-R.

2022-02-27 Thread peter
From: "Thomas Schmitt" Date: Sun, 27 Feb 2022 09:15:04 +0100 > Ouch. That's a "Combo" drive which can write only CD-R and CD-RW. > With DVD media it can only do reading. ... > That would be the job of an older project of mine: > http://scdbackup.sourceforge.net/main_eng.html > http:/

Re: Archiving content of a directory on a DVD-R.

2022-02-27 Thread Thomas Schmitt
Hi, pe...@easthope.ca wrote: > Drive type : vendor 'SONY' product 'CD-RW CRX320E' revision 'NYK2' Ouch. That's a "Combo" drive which can write only CD-R and CD-RW. With DVD media it can only do reading. So there is no use buying writable DVDs for it. > To squeeze the data, add -zisofs. This

Re: Archiving content of a directory on a DVD-R.

2022-02-26 Thread Thomas Schmitt
Hi, pe...@easthope.ca wrote: > With a blank disk, > xorriso : FAILURE : Image size 1072576s exceeds free space on media 359844s 359844 * 2048 = 736,960,512 bytes = 702.82 MiB. This looks more like the size of a "700 MB" CD-R medium. > Building temporary data structures in / space is limited? N

Re: Archiving content of a directory on a DVD-R.

2022-02-26 Thread peter
From: "Thomas Schmitt" Date: Wed, 06 Mar 2019 17:28:39 +0100 > xorriso -for_backup -dev /dev/sr0 \ > -update_r . / \ > -commit \ > -toc -check_md5 failure -- \ > -eject all With a blank disk, ... xorriso : FAILURE : Image size 1072576s exceeds

Re: Archiving content of a directory on a DVD-R.

2019-05-10 Thread Thomas Schmitt
Hi, pe...@easthope.ca wrote: > xorriso : UPDATE : Writing: 115440s 29.7% fifo 100% buf 100% 6.0xD > libburn : FATAL : SCSI error on write(117872,16): [5 21 02] Illegal request. > Invalid address for write. That's new to me. I wonder how this could happen. A DVD-R has to be written stric

Re: Archiving content of a directory on a DVD-R.

2019-05-10 Thread peter
From: "Thomas Schmitt" Date: Wed, 06 Mar 2019 17:28:39 +0100 > xorriso -for_backup -dev /dev/sr0 \ > -update_r . / \ > -commit \ > -toc -check_md5 failure -- \ > -eject all > > Now you can write to the DVD-R until it is full. Each run will prod

Re: Archiving content of a directory on a DVD-R.

2019-03-06 Thread Thomas Schmitt
Hi, pe...@easthope.ca wrote: > Media current: DVD-R sequential recording > [...] > xorriso : UPDATE : 742.1m content bytes read in 112 seconds = 5.0xD It seems that next the joy of incremental backups could be explored. > http://easthope.ca/DebianPage.html First precondition would be to give

Re: Archiving content of a directory on a DVD-R.

2019-03-06 Thread peter
* From: "Thomas Schmitt"fifo 100% buf 0%0.0xD ... xorriso : UPDATE : Writing: 380133s 100.0% fifo 0% buf 100%0.0xD ISO image produced: 379983 sectors Written to medium : 380133 sectors at LBA 0 Writing to '/dev/sr0' completed successfully. xorriso : NOTE : Re-ass

Re: Archiving content of a directory on a DVD-R.

2018-11-14 Thread Jonathan Dowland
On Wed, Nov 14, 2018 at 08:37:41AM -0500, Greg Wooledge wrote: The point is you can run "sudo ascript" but you cannot run "sudo afunction". Oh yes of course. I had forgotten that from the earlier messages. Sorry for the noise. -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland ⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net ⠈⠳⣄⠀⠀

Re: Archiving content of a directory on a DVD-R.

2018-11-14 Thread Greg Wooledge
On Wed, Nov 14, 2018 at 09:55:31AM +, Jonathan Dowland wrote: > On Tue, Nov 13, 2018 at 08:15:13AM -0500, Greg Wooledge wrote: > > So move them to scripts instead. Or a single script. > > > > Defining your system backup in your end-user account's shell functions > > just seems completely sill

Re: Archiving content of a directory on a DVD-R.

2018-11-14 Thread Jonathan Dowland
On Tue, Nov 13, 2018 at 08:15:13AM -0500, Greg Wooledge wrote: So move them to scripts instead. Or a single script. Defining your system backup in your end-user account's shell functions just seems completely silly and pointless. I can't really see the problem, assuming ~/.bashrc is being bac

Re: Archiving content of a directory on a DVD-R.

2018-11-13 Thread peter
* From: Greg Wooledge * Date: Tue, 13 Nov 2018 08:15:13 -0500 > So move them to scripts instead. Or a single script. Likely the 2nd (archive build) and 3rd (DVD burn) stages will be combined after they have worked for a few weeks with no obvious problems. The first stage will rema

Re: Archiving content of a directory on a DVD-R.

2018-11-13 Thread Greg Wooledge
On Mon, Nov 12, 2018 at 06:15:29PM -0800, pe...@easthope.ca wrote: > I was afraid you meant that. =8~) My three scripts are executed > interactively. To my knowledge there can be only one script in a file. > =8~| By defining chell functions, all three are in .bashrc. =8~) So move them to sc

Re: Archiving content of a directory on a DVD-R.

2018-11-12 Thread peter
* From: Greg Wooledge * Date: Mon, 12 Nov 2018 17:14:13 -0500 > Just put all the commands in one script, for example: > > #!/bin/sh > backup1 && > backup2 && > backup3 I was afraid you meant that. =8~) My three scripts are executed interactively. To my knowledge there can be only

Re: Archiving content of a directory on a DVD-R.

2018-11-12 Thread Greg Wooledge
On Mon, Nov 12, 2018 at 01:13:14PM -0800, pe...@easthope.ca wrote: > How are multiple commands defined in one file? Then invoke? > sudo backup1 > sudo backup2 > sudo backup3 Just put all the commands in one script, for example: #!/bin/sh backup1 && backup2 && backup3 Then run "sudo /the/backup

Re: Archiving content of a directory on a DVD-R.

2018-11-12 Thread peter
On Wed, Nov 07, 2018 at 01:52:13PM -0800, pe...@easthope.ca wrote: > > My backup procedures are shell functions > > rather than scripts * From: Greg Wooledge * Date: Thu, 8 Nov 2018 08:18:15 -0500 > That's pretty bizarre. I don't see what advantage that gives you over > simply putti

Re: Archiving content of a directory on a DVD-R.

2018-11-08 Thread Greg Wooledge
On Wed, Nov 07, 2018 at 01:52:13PM -0800, pe...@easthope.ca wrote: > My backup procedures are shell functions > rather than scripts That's pretty bizarre. I don't see what advantage that gives you over simply putting the commands in a script so that you can run something like "sudo backup" on de

pushd/podp (was Re: Archiving content of a directory on a DVD-R.)

2018-11-08 Thread Jonathan Dowland
On Wed, Nov 07, 2018 at 01:52:13PM -0800, pe...@easthope.ca wrote: push/popd are helpful when a tree structured file system is present. Are they in POSIX? Best avoided? They are not POSIX, I don't think they are covered by any subsequent standard either (great opportunity for anyone who wants

Re: Archiving content of a directory on a DVD-R.

2018-11-07 Thread Thomas Schmitt
Hi, Lee wrote: > > any chance there's a symlink in the directory? that you want archived? > > tar -h > > Follow symlinks; archive and dump the files they point to. pe...@easthope.ca wrote: > I can't think of a reason for a symlink to > exist but will keep the possibility in mind. An exceptio

Re: Archiving content of a directory on a DVD-R.

2018-11-07 Thread peter
I've lost the message but someone mentioned that pushd and popd suggest the csh shell. My backup procedures are shell functions rather than scripts and the shell name isn't blatant. Could be in a comment. push/popd are helpful when a tree structured file system is present. Are they in POSIX

Re : Archiving content of a directory on a DVD-R.

2018-11-07 Thread peter
From: Lee Date: Sun, 4 Nov 2018 12:25:43 -0500 > any chance there's a symlink in the directory? that you want archived? > tar -h > Follow symlinks; archive and dump the files they point to. Thanks for mentioning that. The directory is for plain old files of data and a few subdirectories.

Re: Archiving content of a directory on a DVD-R.

2018-11-07 Thread Jonathan Dowland
On Wed, Nov 07, 2018 at 01:05:46PM +0100, Thomas Schmitt wrote: Regrettably i see few chances to get an interpreter for the extra info into Linux or other kernels. So for restoring ACL, xattr, or hard link relations, one will have to use commands -osirrox "on" and -extract. This also helps to wor

Re: Archiving content of a directory on a DVD-R.

2018-11-07 Thread Thomas Schmitt
Hi, > "-for_backup" selects all the necessary extensions etc. to do the > best job possible. Regrettably i see few chances to get an interpreter for the extra info into Linux or other kernels. So for restoring ACL, xattr, or hard link relations, one will have to use commands -osirrox "on" and -ex

Re: Archiving content of a directory on a DVD-R.

2018-11-07 Thread Jonathan Dowland
On Sun, Nov 04, 2018 at 06:48:45PM +0100, Thomas Schmitt wrote: If you want to make use of xorriso's capability to create a mountable ISO filesystem with a copy of your directory, then you do not need tar. xorriso -for_backup -outdev /dev/sr0 -map . / \ -close on -commit \ -to

Re: Archiving content of a directory on a DVD-R.

2018-11-06 Thread Thomas Schmitt
Hi, i wrote: > > $ dd if=/dev/sr0 count=1 >/dev/null 2>&1 > > which shall pull in the tray and wait until the drive is ready, does not > > work any more. Dan Ritter wrote: > Is this approximately equivalent to `eject -t` ? Yes. And equivalently broken. Only burn programs still do wait for the

Re: Archiving content of a directory on a DVD-R.

2018-11-06 Thread Dan Ritter
Thomas Schmitt: > Hi, > > i have to add that the example gesture > > $ dd if=/dev/sr0 count=1 >/dev/null 2>&1 > > which shall pull in the tray and wait until the drive is ready, does not > work any more. Is this approximately equivalent to `eject -t` ? -dsr-

Re: Archiving content of a directory on a DVD-R.

2018-11-06 Thread Thomas Schmitt
Hi, i have to add that the example gesture $ dd if=/dev/sr0 count=1 >/dev/null 2>&1 which shall pull in the tray and wait until the drive is ready, does not work any more. I was using a very fine kernel 2.6 for many years. Now i am on younger ones which got probably broken 10 years ago by

Re: Archiving content of a directory on a DVD-R.

2018-11-06 Thread Thomas Schmitt
Hi, > The cdrecord "personality" is used to present a familiar > legacy syntax? It helped a lot to get people to trying it out. > Can the same result be reached using xorriso with no personality? No. The cdrecord emulation option interface is the only way to achieve the classical division bet

Re: Archiving content of a directory on a DVD-R.

2018-11-06 Thread peter
Thanks to all who have replied. * From: "Thomas Schmitt" * Date: Sun, 04 Nov 2018 18:48:45 +0100 > Writing the tar stream to DVD-R is a classical use case of cdrecord or wodim. > So: > > tar -vcpzf - * | xorriso -as cdrecord -v dev=/dev/sr0 -eject fs=16m - OK, thanks. The cdreco

Re: Archiving content of a directory on a DVD-R.

2018-11-05 Thread tomas
On Mon, Nov 05, 2018 at 09:04:58AM -0500, Greg Wooledge wrote: > On Sun, Nov 04, 2018 at 07:29:53AM -0800, pe...@easthope.ca wrote: > > How is this for archiving the content of a directory? > > > > pushd ; > > printf "Insert blank DVD-R."; read t ; > > tar -vcpzf - * | xorriso -indev /dev/s

Re: Archiving content of a directory on a DVD-R.

2018-11-05 Thread Greg Wooledge
On Sun, Nov 04, 2018 at 07:29:53AM -0800, pe...@easthope.ca wrote: > How is this for archiving the content of a directory? > > pushd ; > printf "Insert blank DVD-R."; read t ; > tar -vcpzf - * | xorriso -indev /dev/sr0 -add -- -commit ; Be aware that the * glob will probably miss filenames

Re: Archiving content of a directory on a DVD-R.

2018-11-04 Thread David Christensen
On 11/4/18 7:29 AM, pe...@easthope.ca wrote: How is this for archiving the content of a directory? pushd ; printf "Insert blank DVD-R."; read t ; tar -vcpzf - * | xorriso -indev /dev/sr0 -add -- -commit ; xorriso -indev /dev/sr0 -du / -- -toc 2>&1 ; xorriso -indev /dev/sr0 -eject

Re: Archiving content of a directory on a DVD-R.

2018-11-04 Thread Thomas Schmitt
Hi, pe...@easthope.ca wrote: > printf "Insert blank DVD-R."; read t ; > tar -vcpzf - * | xorriso -indev /dev/sr0 -add -- -commit ; Writing the tar stream to DVD-R is a classical use case of cdrecord or wodim. So: tar -vcpzf - * | xorriso -as cdrecord -v dev=/dev/sr0 -eject fs=16m - This w