sbackup tar fails on Ubuntu 18.04 and xubuntu 18.10
Bug #1807973 reported by
Doug Shelton
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbackup |
New
|
Undecided
|
Unassigned |
Bug Description
OS xubuntu 18.10
sbackup version 0.11.6
installed from synaptic package manager main repository
/bin/tar: The following options were used after any non-optional arguments in archive create or update mode. These options are positional and affect only arguments that follow them. Please, rearrange them properly.
/bin/tar: --exclude-from '/tmp/sbackup/
/
it looks like tar syntax has changed so "--exclude-from" no longer works.
To post a comment you must log in.
this issue is caused by a change in behavior in tar 1.3, wherein it sets the exit code "2" when positional arguments are used out of order.
The fix to this problem is to modify /ar_backend/tar.py. Change
options. append( '--files- from=%s' % tmp_incl) append( '--exclude- from=%s' % tmp_excl)
options.
to
options. append( '--exclude- from=%s' % tmp_excl) append( '--files- from=%s' % tmp_incl)
options.