Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th July 2013, 19:17
maumar maumar is offline
Senior Member
 
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 136
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default backup temp file fill / using tmp

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
Reply With Quote
Sponsored Links
  #2  
Old 23rd July 2013, 09:08
maumar maumar is offline
Senior Member
 
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 136
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default

-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?
Reply With Quote
  #3  
Old 23rd July 2013, 09:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,378 Times in 4,225 Posts
Default

you will have to edit the cron_daily.php file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 23rd July 2013, 23:12
maumar maumar is offline
Senior Member
 
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 136
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 2: Firewall function not working gragus Installation/Configuration 10 5th March 2012 20:11
rkhunter warnings esezako General 7 27th September 2011 07:28
Postfix doesn't have Nolan Installation/Configuration 5 13th April 2011 05:00
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 13:21
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17


All times are GMT +2. The time now is 12:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.