Simon Roby wrote:
> On 8/10/06, Nico Kadel-Garcia <nkadel@comcast.net> wrote:
>> Audette, Michel wrote:
>>> Dear all,
>>>
>>> I am fairly new to Subversion. I would like to make regular
>>> Subversion backups to DVD, on Suse 10 Linux, using for example K3b
>>> DVD burning software, and to do this automatically and periodically.
>>>
>>> Is this feasible? Does anyone have any software scripts for doing
>>> this?
>>>
>>> Thanks for your kind consideration.
>>>
>>> Best regards,
>>>
>>> Michel Audette, Ph.D.
>>> Innovation Center Computer Assisted Surgery (ICCAS)
>>> Philipp-Rosenthal-Strasse 55
>>> Leipzig, Germany
>>> Phone: ++49 (0) 341 / 97 - 1 20 13
>>> Fax: ++49 (0) 341 / 97 - 1 20 09
>>
>> CD's and DVD's won't keep the file ownership or permissions
>> properly, can't handle symlinks, can't handle certain filenames, and
>> are a bit awward to split repositories across. You might consider
>> using something like Amanda to create backup images, then put
>> *THOSE* on CD or DVD.
>
> That's not true. The Rock Ridge extension of ISO9660 supports
> everything you mentionned, and is supported by pretty much any POSIX
> system. In the past I used to do full backups of my Linux system to
> DVD as plain files and it worked perfectly. Check the mkisofs man page
> for options -r and -R.
Hmm. Let me dig through this and my old notes:
Ohh, my. I see why it wasn't working right for me in the past. My tools used
both "-r" and "-R", rather than merely "-R". That messes up the permissions
in a more classically CD generating way.
Good, thank you. That does explain why it hadn't worked for me.
> And BTW to answer the OP you shouldn't need K3B if you want it fully
> automated. Simply write a script that generates an ISO9660 image using
> mkisofs, then writes it to disc with the appropriate burning program
> (cdrecord for CDs, growisofs for DVDs).
Well, yes, but k3b is a pretty sweet interface. And the right arguments for
cdrecord are not obvious from the cdrecord documentation, since it
incorrectly demands that you use the old ide-scsi module right there in
README.ATAPI, which is fortunately out of date and can leave some nasty
debris in your CD drive configurations. Current versions of cdrecord and its
cousins now support naming the device directly as "/dev/hda" instead of
using the old and confusing "x,y,z" syntax as well as needing the ide-scsi
module for addressing ATA drives.
I do like growisofs.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 17 18:31:28 2006