pagaille
(Matthieu Gaillet)
1
Hi,
I did a yum update yesterday and this night i received an email stating the following :
From: “(Cron Daemon)” <>
Subject: Cron root@cloud /sbin/e-smith/backup-data-wrapper backup-data
Date: 29 August 2019 at 03:06:05 GMT+2
To: root@xxx
/etc/backup-data.hooks/backup-clean-files: line 48: [: *: integer expression expected
The backup (restic to NFS) succeeded however.
Bug ?
pike
(Michael Kicks)
2
Seems to me… let’s see if @giacomo can figure out something.
Hi,
could you provide the output of: ll /var/lib/nethserver/backup/restore/
and db backup show
?
m.traeumner
(Michael Träumner)
5
-rw-r--r-- 1 root root 41300 Aug 28 09:35 backup-data@1566977701.gz
-rw-r--r-- 1 root root 41642 Aug 29 09:35 backup-data@1567064101.gz
no output here
sorry, my bad. the command is db backups show
with s
m.traeumner
(Michael Träumner)
8
Think you don’t need it anymore, but here it is:
[root@groupware ~]# db backups show
backup-data=duplicity
BackupTime=35 9 * * *
CleanupOlderThan=56D
FullDay=0
NFSHost=
NFSShare=
Notify=error
NotifyFrom=
NotifyTo=root@localhost
SMBHost=FileServerIP
SMBLogin=administrator,domain=MyDomain
SMBPassword=MyPassword
SMBShare=Backup$
Type=incremental
USBLabel=
VFSType=cifs
VolSize=250
WebDAVLogin=
WebDAVPassword=
WebDAVUrl=
status=enabled
Of course I’ve changed values for Password, IP and Domain
giacomo
(Giacomo Sanchietti)
9
Thank you @m.traeumner.
In the meanwhile @edoardo_spadoni reproduced and fixed the issue
I already tested the fix, and I do not see any warning anymore.
1 Like
m.traeumner
(Michael Träumner)
10
I’ve got this error only one times, before 2 days. Backup works every day.
1 Like
giacomo
(Giacomo Sanchietti)
11
The fix has been released.
2 Likes