backup temp file fill / using tmp

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

  1. maumar

    maumar HowtoForge Supporter

    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 HowtoForge Supporter

    -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

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

    maumar HowtoForge Supporter

    many thnx
    for whom interested

    line 792-793
     zip -b /tmp 
      zip -b /var/backup/tmp 

Share This Page