Backup failed, Failed with an unknown error.

Asked by ealthuis

Traceback (innermost last):
  File "/usr/bin/duplicity", line 1555, in <module>
   Backup ( dejadup) runs automatically once a week but for a while now this is the result:

 with_tempdir(main)
  File "/usr/bin/duplicity", line 1541, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1380, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1135, in ProcessCommandLine
    backup, local_pathname = set_backend(args[0], args[1])
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1010, in set_backend
    globals.backend = backend.get_backend(bend)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 223, in get_backend
    obj = get_backend_object(url_string)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 209, in get_backend_object
    return factory(pu)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 97, in __init__
    self.remote_file.make_directory_with_parents(None)
 Error: g-io-error-quark: Error creating directory /media/mass2/20180830_vostro: Permission denied (14)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ealthuis
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; apt-cache policy duplicity

Thanks

Revision history for this message
ealthuis (ealthuis) said :
#2

ea@ealaptop:~$ lsb_release -a; uname -a; apt-cache policy duplicity
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Linux ealaptop 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
duplicity:
  Installed: 0.7.17-0ubuntu1
  Candidate: 0.7.17-0ubuntu1
  Version table:
 *** 0.7.17-0ubuntu1 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
ea@ealaptop:~$

Revision history for this message
ealthuis (ealthuis) said :
#3

As an aside, the GUI has "restore" and "backup now" buttons grayed out

Also the first backup ran just fine. None since upgrading to 18.04LTS.

Revision history for this message
ealthuis (ealthuis) said :
#4

This problem was solved by removing the backup file it was attempting to write to and starting Backup again, allowing it to make a new backup file.