Re: Automate backup

Srdjan Todorovic <[email protected]> Tue, 11 Aug 2009 08:47:28 +0100
Newsgroups gmane.comp.kde.k3b
Message-ID <[email protected]>
Hi,

On 10/08/2009, [email protected]
<[email protected]> wrote:
> Hi
> I want to automate source code backup on DVD, with script.
> So far, I have failed to create satisfactory backup with growisoif,
> I either have Joliet and/or Rock Rideg problem, or files are backuped in
> a flat arborescence.

What Joliet/Rock Ridge problem?

> But backup done with k3b (manually with GUI ) are fine.

As it should be :)

> My questions:
> Is k3b using growisoif when writhing to DVD ?

I think it is - but I would need to check to be sure.

> Is there a way to see growisoif command line generated by k3b (debug
> output etc...)?

When I run k3b (1.x (KDE 3 version)), it's usually started from the
command line. Slackware build of k3b seems to have debug messages
enabled, so I do see the command being executed while the DVD is
burning.

This evening, I plan to burn a DVD for backup, and I will try to
remember to get you the debug output so you can see the commands being
run.

Alternatively you can obtain the source code and grep through to find
the command being issued.

> Any other option to automate backup from k3b ?

I'm not sure if there's any kind of scripting support in K3b. Not sure
if you can do anything with dcop (probably no longer used in recent
K3b) or dbus.

If this feature does not exist, it would be cool if someone could add
support for it. Perhaps that's a project I should start (I program in
C++/Qt ).... unless someone has already coded up the feature.

Any thoughts on this, anyone?

Regards,
Srdjan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july