Announcement

Collapse
No announcement yet.

Cannot restore Kup backup

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cannot restore Kup backup

    This is the error message:
    Code:
    Traceback (most recent call last):
    File "/usr/lib/bup/cmd/bup-restore", line 319, in <module>
    wrap_main(main)
    File "/usr/lib/bup/cmd/../bup/compat.py", line 215, in wrap_main
    sys.exit(main())
    File "/usr/lib/bup/cmd/bup-restore", line 256, in main
    mkdirp(opt.outdir)
    File "/usr/lib/bup/cmd/../bup/helpers.py", line 194, in mkdirp
    os.makedirs(d)
    File "/usr/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
    PermissionError: [Errno 13] Permission denied: b'/home/_kup_temporary_restore_folder_'
    There is no hint how to solve it and ​I have no clue. For example, I am not using "python" and I have no idea why it is even in the backup. Thanks for any advice.

    #2
    The program called bup itself uses python, which is a very common programming language.

    I am going to take a guess that your backups are located in your /home/username. I don't think that Kup likes that so much. you might need to restore to a different sub folder and manually copy things to the correct location.


    The last line in your message does mention "permission denied", which normally might indicate file/dietctory permissions or ownership problems, but this is a common Python message that is quite generic. You may have files open that it is trying to restore, for example.

    However, the error may not be actually stopping the restore process, so check that your files actually have been restored

    See this bug report:
    https://bugs.kde.org/show_bug.cgi?id=451302

    Comment


      #3
      Thanks. I tried it again but I cannot figure out what Kup is actually doing when restoring. I uninstalled it and now use Vorta which restores files so far without problems.

      Comment

      Working...
      X