]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commit
Fixes for 'backup.pl' (Bug #11816)
authorMatthias Fischer <matthias.fischer@ipfire.org>
Tue, 14 Aug 2018 19:34:38 +0000 (21:34 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 14 Aug 2018 19:38:47 +0000 (20:38 +0100)
commit84578512f52e62bc994b944f88f1785c73b4d96a
tree112f064cdc6392178ed00421e1a50b77d3987849
parent3045fd1b58758a1df5032cf34f465247ad99266b
Fixes for 'backup.pl' (Bug #11816)

Hi,

Fixes #11816
(https://bugzilla.ipfire.org/show_bug.cgi?id=11816 and
https://bugzilla.ipfire.org/attachment.cgi?id=608):

"[root@ipfire ~]# backupctrl exclude
...
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.
tar: --exclude-from '/var/ipfire/backup/exclude.user' has no effect
tar: Exiting with failure status due to previous errors"

Please test - I got no errors anymore.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/backup.pl