Re: Restore in-place

Stefan Hammerl via Dar-support <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <CAA27OgRraHj75y8BZx2J1y2kphUuzwoaLadTh9Yzb0u5N_rZWA@mail.gmail.com>
Hi,


Am Mo., 26. Apr. 2021 um 23:54 Uhr schrieb Denis Corbin <[email protected]>:
>
>
>
> On 26/04/2021 20:29, Stefan Hammerl via Dar-support wrote:
> > Hi Tobias, Hi Denis,
>
> Hi Stefan,
>
> >
> > I see the purpose of this option, Tobias, but I also see problems
> > coming with it:
> > 1) What to do if the directory does not exist any more? Create it,
> > ignore the path or fail?
>
> IMHO, if the user ask to restore something somewhere and that somewhere
> does not exist, this is an user error. There is so many way to
> "recreate" a path to a directory (permission? ownership? dates?...) that
> at a time the user must face its incoherence and assume it.

I agree with you. I assumed the intention was to use the in-place
behaviour as the default option (dar -x archive). But if you have to
enable it via --in-place option or similiar (as Tobias also suggested)
I do not see any problem, too. I should have made that more clearly.

[...]
Tobias wrote:
> I'm curious about your GUI. Are you using the libdar API?
No, I am not using the API as my application is meant to be platform
independent and among other reasens I chose to write it in Java. As I
only need a very reduced set of dar functionality I wrote a wrapper
for each command and the needed parameters each.

Best Regards,
Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.