Re: Restore in-place

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[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.

> 2) The path to the directory to be backed up is somewhat outside the
> scope of dar as the backup would become system dependent.
> 
> What's your opinion to those issues?
> 
> I am also currently writing a GUI for dar so I had the same problem. I
> have solved it by saving the path separately. It is of course an extra
> file but it is for extra information. Is this an option for you?
> 
> Best regards,
> Stefan
> 

Cheers,
Denis
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed
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.