Hi,
I have a hard time finding a simple backup application for filebased storage (SMB mounted drive), very likely I have misunderstood how this is supposed to work.
Any and all pointers appreciated.
Well, I tried duplicity:
As root:
zypper install duplicity
made a backup “duplicity bu /usr/local/ file:///media/backup/”
mkdir foo && cd foo
ran “duplicity file:///media/backup/ ./”
files and directories is in “.” , looks okay.
changed a file in /usr/local/etc
ran backup again, files added to backupdir, looks ok.
when issuing restore command again, duplicity balks with:
…
GnuPG passphrase for decryption:
Traceback (innermost last):
File “/usr/bin/duplicity”, line 62, in
with_tempdir(main)
File “/usr/bin/duplicity”, line 53, in with_tempdir
fn()
File “/usr/lib64/python3.11/site-packages/duplicity/dup_main.py”, line 1561, in main
do_backup(action)
File “/usr/lib64/python3.11/site-packages/duplicity/dup_main.py”, line 1642, in do_backup
restore(col_stats)
File “/usr/lib64/python3.11/site-packages/duplicity/dup_main.py”, line 810, in restore
if not patchdir.Write_ROPaths(config.local_path, restore_get_patched_rop_iter(col_stats)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib64/python3.11/site-packages/duplicity/patchdir.py”, line 577, in Write_ROPaths
ITR(ropath.index, ropath)
File “/usr/lib64/python3.11/site-packages/duplicity/lazy.py”, line 360, in call
self.process_w_branch(index, branch, args)
File “/usr/lib64/python3.11/site-packages/duplicity/lazy.py”, line 317, in process_w_branch
robust.check_common_error(branch.on_error, branch.start_process, args)
File “/usr/lib64/python3.11/site-packages/duplicity/robust.py”, line 40, in check_common_error
return function(*args)
^^^^^^^^^^^^^^^
File “/usr/lib64/python3.11/site-packages/duplicity/patchdir.py”, line 611, in start_process
assert index == (), index
^^^^^^^^^^^
AssertionError: (b’bin’,)