Question

Some errors in backup log

  • 28 February 2023
  • 1 reply
  • 64 views

Badge +2

Hi,

in the performance of the backup I’ve noticed some errors:

# cat /var/log/centreon/centreon-backup.log
[2023-02-28 14:35:32] Start central backup process
Unrecognized option(s) passed to remove_tree(): mode at /usr/share/centreon/cron/centreon-backup.pl line 708.
[2023-02-28 14:35:34] Finish central backup process
[2023-02-28 14:35:34] Start monitoring engine backup process
No SSH keys for Centreon
No ssh keys for Centreon Engine
Unrecognized option(s) passed to remove_tree(): mode at /usr/share/centreon/cron/centreon-backup.pl line 895.
[2023-02-28 14:35:34] Finish monitoring engine backup process
[2023-02-28 14:35:34] Start database backup process
Dumping Db with LVM snapshot (full)
Unrecognized option(s) passed to remove_tree(): mode at /usr/share/centreon/cron/centreon-backup.pl line 453.
[2023-02-28 14:58:30] Finish database backup process

 

[root@esbio1lpcon001 backup]# ls -lha /var/cache/centreon/backup
total 4.8G
drwxrwxr-x  3 centreon centreon 4.0K Feb 28 14:58 .
drwxrwxr-x. 6 centreon centreon  108 Feb 14 15:40 ..
-rw-r--r--  1 root     root     1.9M Feb 28 14:35 2023-02-28-central.tar.gz
-rw-r--r--  1 root     root     351K Feb 28 14:35 2023-02-28-centreon-engine.tar.gz
-rw-r--r--  1 root     root     4.8G Feb 28 14:58 2023-02-28-mysql-full.tar.gz
 

Any idea about this errors? The backup is working fine.


Thank’s

 

Esther


1 reply

Userlevel 4
Badge +13

Hi @MEstherNM 
Can you try with this fix?
https://github.com/centreon/centreon/pull/1142/files

The “mode” option doesn’t exist in the Perl library.

Reply