Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st April 2008, 19:54
jancici jancici is offline
Junior Member
 
Join Date: Mar 2008
Posts: 11
Thanks: 0
Thanked 4 Times in 3 Posts
Default setup for place of automatic backup

I would like to save all backup file put on specific path.
so I am modifing file

Code:
/root/ispconfig/scripts/shell/backup.php
on line 111 I have this :
Code:
 $backup_dir = "PATH_FOR_BACKUP/var/www/web".$web_id."/backup";
new line after 111
Code:
$backup_dir_w = "PATH_FOR_BACKUP/var/www/web".$web_id;
and new lines at 115
Code:
if(!@is_dir($backup_dir_w)) {
  mkdir($backup_dir_w,0755);
}
repalce PATH_FOR_BACKUP with som configuration option ...

what do you think?
Reply With Quote
The Following 2 Users Say Thank You to jancici For This Useful Post:
falko (2nd April 2008), gjcomputer (1st April 2008)
Sponsored Links
  #2  
Old 1st April 2008, 23:53
jancici jancici is offline
Junior Member
 
Join Date: Mar 2008
Posts: 11
Thanks: 0
Thanked 4 Times in 3 Posts
 
Default

I have done some more modifications.
I am also saving name of the site into backup.dat file. the name is compse from web_host and web_domain value of the site.

modified file is attached
Attached Files
File Type: txt backup.txt (6.1 KB, 221 views)
Reply With Quote
The Following User Says Thank You to jancici For This Useful Post:
till (3rd April 2008)
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
Backup server setup gabriel925fm Installation/Configuration 1 25th September 2007 08:58
Automatic Backups and Backup Process Help FeraTechInc General 2 13th May 2007 15:02
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
No .htaccess in automatic backup? tron Installation/Configuration 3 22nd March 2006 18:03
How to disable automatic backup? ddelbia General 4 22nd January 2006 16:40


All times are GMT +2. The time now is 18:31.


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