Koozali.org: home of the SME Server

Concerns backup

Offline babaorhum

  • *
  • 35
  • +0/-0
Concerns backup
« on: November 25, 2015, 01:34:33 PM »
Hello,

I'm SME 8.2 and in recent days, the daily backup on a CIFS nas no longer working and returns me the following error by mail: *** No backup allowed or error during backup *** Error while running dar: 2 .

Nas was rebooted in case. In his log, have seen many a CIFS server connection for about 10 minutes and then closing the connection.
I deleted all existing backups and a new revived this morning, with the same result.
Does anyone have a solution or had the same problem?

PS: There is space available on the Nas and credentials connections have not changed.

In advance thank you for your feedback.
BB.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Concerns backup
« Reply #1 on: November 25, 2015, 01:46:08 PM »
did you try to connect to the nas/cifs share with the same credentials from another pc?

does it work?

please, raise a bug in bugzilla with all the details you can give, thank you

Offline babaorhum

  • *
  • 35
  • +0/-0
Re: Concerns backup
« Reply #2 on: November 27, 2015, 04:31:25 PM »
Hello,
I mounted a second machine to test the backup to the same share, and it works. The worries do not just rights to the share.
Best regards
BB

Offline babaorhum

  • *
  • 35
  • +0/-0
Re: Concerns backup
« Reply #3 on: November 27, 2015, 04:37:00 PM »
In fact the concern comes from a version conflict on lidbar, below the email sent after backup error:
" We have linked with an incompatible version of libdar. Expecting version 5.6.x but having linked with version 5.4.0
Error while running dar: 2 at /etc/e-smith/events/actions/workstation-backup-dar line 505.
Backup terminated: backup failed - status: 7424"

By cons, on this I uninspired to correct.

Best regards
BB

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Concerns backup
« Reply #4 on: November 27, 2015, 04:59:42 PM »
In fact the concern comes from a version conflict on lidbar, below the email sent after backup error:
" We have linked with an incompatible version of libdar. Expecting version 5.6.x but having linked with version 5.4.0
Error while running dar: 2 at /etc/e-smith/events/actions/workstation-backup-dar line 505.
Backup terminated: backup failed - status: 7424"

By cons, on this I uninspired to correct.

Best regards
BB

well, you did not tell us all the whole story then :-)
please, post here the message you got from the server, thank you..

All the times I found a problem with backup, I renamed the remote dir and started again, and kept the old backup set till I have at least a good backup (it's a workaround)

Offline babaorhum

  • *
  • 35
  • +0/-0
Re: Concerns backup
« Reply #5 on: November 27, 2015, 05:50:08 PM »
Below is the latest attempt by the backup logs:

Nov 26 22:00:01 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: OLD 1448571601=(undefined)
Nov 26 22:00:01 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: NEW 1448571601=backup_record
Nov 26 22:00:01 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: OLD 1448571601=backup_record
Nov 26 22:00:01 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: NEW 1448571601=backup_record|StartEpochTime|1448571601
Nov 26 22:00:01 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: OLD 1448571601=backup_record|StartEpochTime|1448571601
Nov 26 22:00:01 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: NEW 1448571601=backup_record|BackupType|workstation|StartEpochTime|1448571601
Nov 26 22:00:01 venus esmith::event[21997]: Processing event: pre-backup 
Nov 26 22:00:01 venus esmith::event[21997]: Running event handler: /etc/e-smith/events/actions/generic_template_expand
Nov 26 22:00:01 venus esmith::event[21997]: expanding /etc/dar/DailyBackup.dcf 
Nov 26 22:00:01 venus esmith::event[21997]: generic_template_expand=action|Event|pre-backup|Action|generic_template_expand|Start|1448571601 461247|End|1448571601 606837|Elapsed|0.14559
Nov 26 22:00:01 venus esmith::event[21997]: Running event handler: /etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Nov 26 22:00:01 venus esmith::event[21997]: S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1448571601 607170|End|1448571601 610068|Elapsed|0.002898
Nov 26 22:00:01 venus esmith::event[21997]: Running event handler: /etc/e-smith/events/pre-backup/S20mysql-dump-tables
Nov 26 22:00:02 venus esmith::event[21997]: S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1448571601 610353|End|1448571602 113096|Elapsed|0.502743
Nov 26 22:00:02 venus esmith::event[21997]: Running event handler: /etc/e-smith/events/pre-backup/S30ldap-dump
Nov 26 22:00:02 venus esmith::event[21997]: S30ldap-dump=action|Event|pre-backup|Action|S30ldap-dump|Start|1448571602 113471|End|1448571602 217427|Elapsed|0.103956
Nov 26 22:00:02 venus esmith::event[21997]: Running event handler: /etc/e-smith/events/pre-backup/S50rewind-tape
Nov 26 22:00:02 venus esmith::event[21997]: S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1448571602 217808|End|1448571602 275167|Elapsed|0.057359
Nov 26 22:00:03 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: OLD 1448571601=backup_record|BackupType|workstation|StartEpochTime|1448571601
Nov 26 22:00:03 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: NEW 1448571601=backup_record|BackupType|workstation|EndEpochTime|1448571602|StartEpochTime|1448571601
Nov 26 22:00:03 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: OLD 1448571601=backup_record|BackupType|workstation|EndEpochTime|1448571602|StartEpochTime|1448571601
Nov 26 22:00:03 venus /sbin/e-smith/do_backupwk[21996]: /home/e-smith/db/backups: NEW 1448571601=backup_record|BackupType|workstation|EndEpochTime|1448571602|Result|backup:7424|StartEpochTime|1448571601

Regards.
BB


Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Concerns backup
« Reply #6 on: November 27, 2015, 05:58:15 PM »
no, please attach here the error message you get via email, thank you

BTW, bugzilla is the right place

Offline babaorhum

  • *
  • 35
  • +0/-0
Re: Concerns backup
« Reply #7 on: November 27, 2015, 06:05:45 PM »
Below mail :

==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup of venus.domain.org started at Thu Nov 26 22:00:02 2015
Backup of mysql databases has been done
Mounting backup shared directory <nas02.domain.org:venus>
Using set number 1 of 2
Attempt incremental backup number 6 of 6
Backup temp directory /mnt/smb/tmp_dir/venus.domain.org is mounted and is writable
No existing reference backup, will make full backup
Backup base file name is full-201511262200
Starting the backup with a timeout of : 88500 seconds
*** No backup allowed or error during backup ***
Error while running dar: 2


Offline babaorhum

  • *
  • 35
  • +0/-0
Re: Concerns backup
« Reply #8 on: December 02, 2015, 09:52:34 AM »
Hello,

I set my backup concern, in fact I had an update that was not passed and caused a conflict with another that was installed correctly.
Sorry for the inconvenience and thank you to those who helped me.

Greetings.
BB

Offline babaorhum

  • *
  • 35
  • +0/-0
Solved : Concerns backup
« Reply #9 on: December 03, 2015, 09:36:18 AM »
Hello,

I set my backup concern, in fact I had an update that was not passed and caused a conflict with another that was installed correctly.
Sorry for the inconvenience and thank you to those who helped me.

Greetings.
BB