I've also just found sbackup doesn't work on kubuntu 18.04 having just upgraded from 14.04 (not on the same machine). This is a shame since I found it the best for running a simple scheduled backup regime. Perhaps I'll try building it from source on 18.04, unless someone has done it already!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the problem is caused by a change in tar. tar now exits with an error code "2" when positional arguments are used out of order. In the case of sbackup, it places the list of files to exclude after the list of files to include. that's considered an error since the exclude will not be processed.
The problem can be fixed by changing sbackup-0.11.6/src/sbackup/ar_backend/tar.py
find
options.append('--files-from=%s' % tmp_incl)
options.append('--exclude-from=%s' % tmp_excl)
change the order to
options.append('--exclude-from=%s' % tmp_excl)
options.append('--files-from=%s' % tmp_incl)
uninstall the old version then make this one. This worked for me under Xubuntu 18.10.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
upgrade to ubuntu 18.04 just killed sbackup
I've also just found sbackup doesn't work on kubuntu 18.04 having just upgraded from 14.04 (not on the same machine). This is a shame since I found it the best for running a simple scheduled backup regime. Perhaps I'll try building it from source on 18.04, unless someone has done it already!
the problem is caused by a change in tar. tar now exits with an error code "2" when positional arguments are used out of order. In the case of sbackup, it places the list of files to exclude after the list of files to include. that's considered an error since the exclude will not be processed.
The problem can be fixed by changing sbackup-0.11.6/src/sbackup/ar_backend/tar.py
find
options.append('--files-from=%s' % tmp_incl)
options.append('--exclude-from=%s' % tmp_excl)
change the order to
options.append('--exclude-from=%s' % tmp_excl)
options.append('--files-from=%s' % tmp_incl)
uninstall the old version then make this one. This worked for me under Xubuntu 18.10.