Skip to content

Problem with unmounting remote filesystem after backup / command "status" involved #2296

@etyurin

Description

@etyurin

Describe the problem, feature or ask a question:

This is with the version backintime 1.6.0-dev.9b8291cf, which is the most up-to-date version available in ArchLinux AUR archive.

My backup destination is mounted using sshfs. If I just open backintime and do not do a backup, there is no error. I get clean mount/unmount. However, if I start a backup, it never finishes, because of unmounting problems:


``
INFO: Released suspend mode inhibition
Traceback (most recent call last):
  File "/usr/share/backintime/common/backintime.py", line 173, in <module>
    startApp()
    ~~~~~~~~^^
  File "/usr/share/backintime/common/backintime.py", line 155, in startApp
    args.func(args)
    ~~~~~~~~~^^^^^^
  File "/usr/share/backintime/common/clicommands.py", line 110, in backup
    _do_backup(args, force)
    ~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/share/backintime/common/clicommands.py", line 132, in _do_backup
    ret = snapshots.Snapshots(cfg).backup(force)
  File "/usr/share/backintime/common/snapshots.py", line 1058, in backup
    .umount(self.config.current_hash_id)
     ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/backintime/common/mount.py", line 269, in umount
    backend.umount()
    ~~~~~~~~~~~~~~^^
  File "/usr/share/backintime/common/mount.py", line 597, in umount
    self.removeSymlink()
    ~~~~~~~~~~~~~~~~~~^^
  File "/usr/share/backintime/common/mount.py", line 1070, in removeSymlink
    os.remove(self.config.snapshotsPath(
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        profile_id=profile_id,
        ^^^^^^^^^^^^^^^^^^^^^^
        mode=self.mode,
        ^^^^^^^^^^^^^^^
        tmp_mount=tmp_mount))
        ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/xxxxxxxxx/.local/share/backintime/mnt/1_5011'
``

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions