setup for place of automatic backup

Discussion in 'Feature Requests' started by jancici, Apr 1, 2008.

  1. jancici

    jancici New Member

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

    on line 111 I have this :
     $backup_dir = "PATH_FOR_BACKUP/var/www/web".$web_id."/backup";
    new line after 111
    $backup_dir_w = "PATH_FOR_BACKUP/var/www/web".$web_id;
    and new lines at 115
    if([email protected]_dir($backup_dir_w)) {
    repalce PATH_FOR_BACKUP with som configuration option ...

    what do you think?
  2. jancici

    jancici New Member

    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:

Share This Page