You are not logged in.
I have Borg installed, and it seems to work well to backup my files. Now I'm trying to mount the Borg repo with the following command:
borg mount /run/media/BelowZero/Backup/BorgRepo /tmp/files
This should mount the backup and let me browse the files in the backup. Instead, I get this error:
borg mount not available: loading FUSE support failed [ImportError: No module named 'llfuse']
I understand llfuse can be installed using pip in python. I've tried to install it using:
pip install llfuse
It returns this:
Collecting llfuse
Using cached https://files.pythonhosted.org/packages/fc/9f/074ba23d32b961cb4b43c22c70d49f2db2484f7b60777897a87726e2648f/llfuse-1.3.4.tar.bz2
Building wheels for collected packages: llfuse
Running setup.py bdist_wheel for llfuse ... error
Complete output from command /home/BelowZero/borg-env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-mux2j2q6/llfuse/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-zgdocogb --python-tag cp36:
running bdist_wheel
running build
running build_ext
building 'llfuse' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/include/python3.6m -c src/llfuse.c -o build/temp.linux-x86_64-3.6/src/llfuse.o -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -Wall -Wextra -Wconversion -Wsign-compare -DLLFUSE_VERSION="1.3.4" -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-parameter -Werror=conversion -Werror=sign-compare
In file included from src/llfuse.c:582:
src/xattr.h:28:10: fatal error: attr/xattr.h: No such file or directory
#include <attr/xattr.h>
^~~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for llfuse
Running setup.py clean for llfuse
Failed to build llfuse
Installing collected packages: llfuse
Running setup.py install for llfuse ... error
Complete output from command /home/BelowZero/borg-env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-mux2j2q6/llfuse/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-i9txz8ca/install-record.txt --single-version-externally-managed --compile --install-headers /home/BelowZero/borg-env/include/site/python3.6/llfuse:
running install
running build
running build_ext
building 'llfuse' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/include/python3.6m -c src/llfuse.c -o build/temp.linux-x86_64-3.6/src/llfuse.o -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -Wall -Wextra -Wconversion -Wsign-compare -DLLFUSE_VERSION="1.3.4" -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-parameter -Werror=conversion -Werror=sign-compare
In file included from src/llfuse.c:582:
src/xattr.h:28:10: fatal error: attr/xattr.h: No such file or directory
#include <attr/xattr.h>
^~~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/BelowZero/borg-env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-mux2j2q6/llfuse/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-i9txz8ca/install-record.txt --single-version-externally-managed --compile --install-headers /home/BelowZero/borg-env/include/site/python3.6/llfuse" failed with error code 1 in /tmp/pip-install-mux2j2q6/llfuse/
Unfortunately, I do not understand this error. Can someone help explain what I need to do?
Last edited by BelowZero (2018-06-23 20:52:07)
Offline
https://www.archlinux.org/packages/comm … on-llfuse/
python-llfuse (optional) - mounting backups as a FUSE file system
Offline
Worked perfectly and solved all my issues, thanks!
Offline