Re: duplicity crashes when I attempt a restore operation

Thomas Laubrock via Duplicity-talk <[email protected]>
Newsgroups gmane.comp.sysutils.backup.duplicity.general
Message-ID <[email protected]>
Hi Mark,

duplicity doesn't support restore into a non-empty directory.
I assume you have simple switched the source and target location and 
`/home/donna/` is an existing user home with files.

Looks like there is at least a folder `.cache` in the target dir.

I think we can make the error message more actionable.
(I think we check the prerequisite of an empty folder at another place, 
but it may miss the `.cache` as it is a hidden name.)

If you would open an issue in https://gitlab.com/duplicity/duplicity/ we 
can take a look into it.

  Bye

   Thomas


On 23.02.25 07:19, Mark Terner via Duplicity-talk wrote:
> I am currently using duplicity 3.0.4 to backup my files and save them 
> on a network file server.
>
> The *backup* process appears to be working -- i.e. I can see that 
> backup files are being saved on the file server.
>
> However, when I attempt to *restore* the backup files, duplicity 
> responds by having python raise an AssertionError.
>
> I even tried backing up the files to another directory on the /same/ 
> computer I'm backing up -- again the backup process appeared
> to work, but the restore process crashes.
>
> Can anyone offer any suggestions?
>
>
> Thanks,
> Mark
> ---------------------------------------------
>
> Note:
>           I've attached a text file containing the error messages 
> produced when I attempt the restore operation.
>          There are two sets of error messages contained -- the first 
> set shows the error messages which occur
>          when I attempt to restore from the file server, and the 
> second set shows the error messages which occur
>          when I attempt to restore from a local directory.
>
>          Also, the computer I'm backing up is running Ubuntu 24.04.02 
> and the file server is running Ubuntu 16.04.
>          When backing up the files with duplicity, I've tried using 
> sftp and also ftp -- the backup process appears to work
>          for both sftp and ftp, but the restore process always 
> crashes, regardless of whether I use sftp or ftp.
>
>
>
>
>
>
> _______________________________________________
> Duplicity-talk mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
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.