You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In wanting to follow and archive symbolic links, I need to specify -L to tarsnap -c.
To do so with tarsnapper, I used the following option: -o L.
However, this leads to an error:
tarsnap execution failed:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/tarsnapper/script.py", line 546, in main
command.run(job)
File "/usr/local/lib/python3.9/dist-packages/tarsnapper/script.py", line 402, in run
self.expire(job)
File "/usr/local/lib/python3.9/dist-packages/tarsnapper/script.py", line 321, in expire
self.backend.expire(job)
File "/usr/local/lib/python3.9/dist-packages/tarsnapper/script.py", line 181, in expire
backups = self.get_backups(job)
File "/usr/local/lib/python3.9/dist-packages/tarsnapper/script.py", line 145, in get_backups
for backup_path in self.get_archives():
File "/usr/local/lib/python3.9/dist-packages/tarsnapper/script.py", line 120, in get_archives
response = StringIO(self.call('--list-archives'))
File "/usr/local/lib/python3.9/dist-packages/tarsnapper/script.py", line 68, in call
return self._exec_tarsnap(call_with)
File "/usr/local/lib/python3.9/dist-packages/tarsnapper/script.py", line 88, in _exec_tarsnap
raise TarsnapError("tarsnap failed with status {0}:{1}{2}".format(
tarsnapper.script.TarsnapError: tarsnap failed with status 1:
tarsnap: Option -L is not permitted in mode --list-archives
It also does not look like tarsnap.conf supports specifying the -L option.
Is there any way to do this?
The text was updated successfully, but these errors were encountered:
iphoting
changed the title
Allow passing options to tarsnap in -c only
Allow passing -L option to tarsnap in -c only
Feb 16, 2024
In wanting to follow and archive symbolic links, I need to specify
-L
totarsnap -c
.To do so with tarsnapper, I used the following option:
-o L
.However, this leads to an error:
It also does not look like tarsnap.conf supports specifying the
-L
option.Is there any way to do this?
The text was updated successfully, but these errors were encountered: