Backup

Discussion in 'ISPConfig 3 Priority Support' started by Dextros, Nov 9, 2015.

  1. Dextros

    Dextros Member HowtoForge Supporter

    Hi Guys

    Currently I am just using Rsync to backup mail at the moment, to another server.

    I am struggling with the Email Backup Patch.
    I have linked images of what the ISP internal backup does for websites, and my view for the mail backup patch.
    isp backup internal.PNG mail patch.PNG
    For the avoidance of doubt, I cannot find the email backups anywhere on the system.

    Can you shed any light on where I can start looking?

    Kind Regards

    Lee
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    The email-backups are stored in the same path as the other backups. CHeck for mail*

    It seems, that your database shows more mail-backups as defined. Is this a multiserver-backup?
     
  3. Dextros

    Dextros Member HowtoForge Supporter

    Hi Florian

    No its not a multi server, just standalone.

    Its also doing 3 backups a day I have just noticed.

    Please see new image of what's in the backup location. 6 versions of my website back up, which corresponds with ISP and a couple of other mail directory's that are empty. I have at least 20 mail boxes "backing up" not just 2.

    They are owned by root though. I'm assuming that this is a problem?
    backup.PNG

    Also, according to mysql the files exists and are being backed up?

    KRs

    Lee
     
    Last edited: Nov 9, 2015
  4. Dextros

    Dextros Member HowtoForge Supporter

    Also, according to SQL the files are being created, I just cant see them.

    phpmyadmin.PNG
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Check that the zip and unzip programs are installed on your server and that the sudo command is available as well.
     
  6. Dextros

    Dextros Member HowtoForge Supporter

    Can confirm the above.

    How do I un-install it, and re install the patch, or is this not worth doing?
     
  7. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    ...and the available diskspace. 13 GB is a very hugh archive. Beside this: a failed backup should be add to the database.
     
  8. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    There is no need to reinstall anything as long as you did not remove the files. Just make sure, that /usr/local/ispconfig/server/cron_daily.php ends with
    Code:
    include "/usr/local/ispconfig/server/mailbackup.php.inc";
    die("finished.\n");
    
    and / or that you have this include only once.
     
  9. Dextros

    Dextros Member HowtoForge Supporter

    Hi Florian

    No I did not remove any files on the server.

    Disk space is not an issue, we have moved away from pop and now only use imap, and there are some very large mailboxes, yes!

    Is this a problem?

    Also that line was included four times! I have reduced the line down to one and will check tomorrow. Unless I can force is to start now?
     
  10. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    Maybe you just ran out out diskspace on your temp-dir....
     
  11. Dextros

    Dextros Member HowtoForge Supporter

    Hi Florian

    Here is a screen cap of my system usage.
    diskspace.PNG
    is Temp-dir on /? If so, then it almost is running out before it can do anything. Is this anything that I can change? I purposfully mad /var in its own location, as this this was a huge problem I was having on my previous box.

    Lee

    PS - Thanks for helping
     
  12. Dextros

    Dextros Member HowtoForge Supporter

    Hi Guys

    Just a quick update, I stopped all the back up files from running except 2 so that the size would be withing the root temp file size.

    Please see images. Do you have any suggestions where to look next?

    cron log.PNG 694.PNG

    Kind Regards

    Lee
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    The errors are not related to the backup file issue, they are just avozt sending of notification emails.
     

Share This Page