backup temp file fill / using tmp

Discussion in 'General' started by maumar, Jul 13, 2013.

  1. maumar

    maumar Member

    The issue is this:
    nightly, backup uses /tmp (sadly /tmp is on root fs) to zip files.
    This fullfill root fs.

    My question is:
    is there a config option of zip program to set a different temp dir by /tmp?
    can I set it server wide?

    many thnx
     
  2. maumar

    maumar Member

    -b path
    --temp-path path
    Use the specified path for the temporary zip archive. For example:

    zip -b /tmp stuff *


    how can I reconfigure ispconfig backup to use -b option?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    you will have to edit the cron_daily.php file.
     
  4. maumar

    maumar Member

    many thnx
    for whom interested

    Code:
    /usr/local/ispconfig/server/cron_daily.php
    line 792-793
    change
     zip -b /tmp 
    into
      zip -b /var/backup/tmp 
    
     

Share This Page