Menu

ubuntu 18.04

Help
2018-05-03
2018-12-11
  • Robert Leleu

    Robert Leleu - 2018-05-03

    upgrade to ubuntu 18.04 just killed sbackup

     
  • tobiz1

    tobiz1 - 2018-10-19

    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!

     
  • Doug Shelton

    Doug Shelton - 2018-12-11

    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.

     

Log in to post a comment.