ispCP - Board - Support
Error Report with Email during Backup. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Error Report with Email during Backup. (/thread-9140.html)



Error Report with Email during Backup. - RedHeberg - 01-09-2010 07:33 PM

Hello everybody,

I have an error during backup session.

I'm receive email for 4 domains :
Quote:Hey There,

I'm the automatic email sent by on your ns1.redheberg.com (XX.XX.XX.XX) server.

A critical error just was encountered while executing function backup_all_engine() in /var/www/ispcp/engine/backup/ispcp-backup-all

Error encountered was:

========================================================================
Domain florian.redheberg.com: ERROR: tar returned exit status -1, have a look in /home/www/virtual/florian.redheberg.com/florian.redheberg.com-backup-2010.01.09-000334.tar.bz2.log
========================================================================
Quote:Hey There,

I'm the automatic email sent by on your ns1.redheberg.com (XX.XX.XX.XX) server.

A critical error just was encountered while executing function backup_all_engine() in /var/www/ispcp/engine/backup/ispcp-backup-all

Error encountered was:

========================================================================
Domain apopol.redheberg.com: ERROR: tar returned exit status -1, have a look in /home/www/virtual/apopol.redheberg.com/apopol.redheberg.com-backup-2010.01.09-000314.tar.bz2.log
========================================================================

In log files :
Quote:/bin/tar: .: file changed as we read it

A solution please ?

I'm on Ubuntu Hardy 64 with ispcp 1.0.3-1.

Thanks for your reply.


RE: Error Report with Email during Backup. - joximu - 01-09-2010 09:07 PM

search the forum please - we had this several times.

one info: as long as not a real file "is changing while reading" it's not that bad...
(here it's only the main directory entries)

/J


RE: Error Report with Email during Backup. - c0urier - 01-09-2010 11:23 PM

@ joximu:
Can it be true these mails first started appearing with ispCP 1.0.3? Since I've never seen them before and I get them from different domain every night. Not that it matters really since the db's are backed up and I doubt that many of my users makes daily changed to their files.


RE: Error Report with Email during Backup. - joximu - 01-10-2010 08:09 AM

@marchaos:
you're right. the backup is ignored from the ispcp backup routine if any error happened and this message is an error....

Ok, I'm reopening ticket #2021 which deals this topic (I fixed only a part of the ticket...).

/J


RE: Error Report with Email during Backup. - RedHeberg - 01-10-2010 07:34 PM

Tanks joximu, i'm wait now Wink


RE: Error Report with Email during Backup. - joximu - 01-11-2010 06:14 PM

Hi

I fixed the problem of the most ": . file changed as we read it" problem: I put the tar file and the error log file somewhere else.
See http://www.isp-control.net/ispcp/changeset/2511

The problem when files/folders are changing (in a big site) I could not solve. Also with --ignore-failed-read in the tar command there were no changes.

/J


RE: Error Report with Email during Backup. - RedHeberg - 01-12-2010 04:21 PM

Hi,

it's good Smile

Very thanks Smile

Nico.


RE: Error Report with Email during Backup. - kilburn - 01-12-2010 05:24 PM

Quote:@ joximu:
Can it be true these mails first started appearing with ispCP 1.0.3? Since I've never seen them before and I get them from different domain every night. Not that it matters really since the db's are backed up and I doubt that many of my users makes daily changed to their files.

This is because the notification of errors through e-mail is a new functionallity of 1.0.3. Before that version, errors where happening too, just not reported Tongue


RE: Error Report with Email during Backup. - c0urier - 01-13-2010 03:56 AM

@Killburn - Yeah I thought so, since I had noticed some domains did not get backed up daily but didn't bother to check logs since it didn't happen everyday.
And since I have a weekly remote backup also, why bother =).

But a nice feature and thank you for it =).