{
"dirs": [
{
"exclude": [
"/home/matthias/LM17_home",
"/home/matthias/Ubuntu12_home",
"/home/matthias/Dokumente",
"/home/matthias/Daten",
"/home/matthias/.cache",
"/home/matthias/.gvfs",
"/home/matthias/.dbus"
],
"path": "/home/matthias",
"onefilesystem": false,
"name": "home-matthias",
"excluderx": []
}
],
"mount": {
"path": "/media/matthias/BUP_4TB/backups",
"type": "",
"encrypt": false,
"target": "",
"options": ""
}
}
Starting the backup with bups I get the error
Traceback (most recent call last):
File "/usr/lib/bup/cmd/bup-save", line 241, in
File "/usr/lib/bup/bup/index.py", line 461, in filter
File "/usr/lib/bup/bup/index.py", line 431, in iter
File "/usr/lib/bup/bup/index.py", line 370, in iter
File "/usr/lib/bup/bup/index.py", line 370, in iter
File "/usr/lib/bup/bup/index.py", line 369, in iter
File "/usr/lib/bup/cmd/bup-save", line 228, in wantrecurse_pre
File "/usr/lib/bup/cmd/bup-save", line 225, in already_saved
File "/usr/lib/bup/bup/git.py", line 676, in exists
File "/usr/lib/bup/bup/git.py", line 669, in _require_objcache
File "/usr/lib/bup/bup/git.py", line 579, in _make_objcache
File "/usr/lib/bup/bup/git.py", line 425, in init
File "/usr/lib/bup/bup/git.py", line 523, in refresh
File "/usr/lib/bup/bup/git.py", line 552, in open_idx
File "/usr/lib/bup/bup/git.py", line 384, in init
File "/usr/lib/bup/bup/helpers.py", line 762, in mmap_read
File "/usr/lib/bup/bup/helpers.py", line 752, in _mmap_do
mmap.error: [Errno 24] Too many open files
Also, I get the error
/home/matthias/.gvfs: [Errno 13] Permission denied: '.gvfs'
even though I tried to exclude the path "/home/matthias/.gvfs". Is there something wrong with my exclude syntax?
I have installed the latest bups (0.8.1) on Linux Mint 19.1. Before, I have worked for years with bups on Linux Mint 17.3 without any problems. However, I use the exclude option for the first time in Linux Mint 19.
Thank you for clarification.
I have the following ~/.config/bups/config.json:
{ "dirs": [ { "exclude": [ "/home/matthias/LM17_home", "/home/matthias/Ubuntu12_home", "/home/matthias/Dokumente", "/home/matthias/Daten", "/home/matthias/.cache", "/home/matthias/.gvfs", "/home/matthias/.dbus" ], "path": "/home/matthias", "onefilesystem": false, "name": "home-matthias", "excluderx": [] } ], "mount": { "path": "/media/matthias/BUP_4TB/backups", "type": "", "encrypt": false, "target": "", "options": "" } } Starting the backup with bups I get the error
Traceback (most recent call last): File "/usr/lib/bup/cmd/bup-save", line 241, in
File "/usr/lib/bup/bup/index.py", line 461, in filter
File "/usr/lib/bup/bup/index.py", line 431, in iter
File "/usr/lib/bup/bup/index.py", line 370, in iter
File "/usr/lib/bup/bup/index.py", line 370, in iter
File "/usr/lib/bup/bup/index.py", line 369, in iter
File "/usr/lib/bup/cmd/bup-save", line 228, in wantrecurse_pre
File "/usr/lib/bup/cmd/bup-save", line 225, in already_saved
File "/usr/lib/bup/bup/git.py", line 676, in exists
File "/usr/lib/bup/bup/git.py", line 669, in _require_objcache
File "/usr/lib/bup/bup/git.py", line 579, in _make_objcache
File "/usr/lib/bup/bup/git.py", line 425, in init
File "/usr/lib/bup/bup/git.py", line 523, in refresh
File "/usr/lib/bup/bup/git.py", line 552, in open_idx
File "/usr/lib/bup/bup/git.py", line 384, in init
File "/usr/lib/bup/bup/helpers.py", line 762, in mmap_read
File "/usr/lib/bup/bup/helpers.py", line 752, in _mmap_do
mmap.error: [Errno 24] Too many open files
Also, I get the error /home/matthias/.gvfs: [Errno 13] Permission denied: '.gvfs' even though I tried to exclude the path "/home/matthias/.gvfs". Is there something wrong with my exclude syntax?
I have installed the latest bups (0.8.1) on Linux Mint 19.1. Before, I have worked for years with bups on Linux Mint 17.3 without any problems. However, I use the exclude option for the first time in Linux Mint 19. Thank you for clarification.