From: Joe Z. <jz...@us...> - 2004-10-12 21:46:26
|
Update of /cvsroot/bobs/bobs/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14284/inc Modified Files: class_backup.php Log Message: smb and nfs backups were not using the --exclude-from option. Index: class_backup.php =================================================================== RCS file: /cvsroot/bobs/bobs/inc/class_backup.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- class_backup.php 9 Aug 2004 02:19:46 -0000 1.12 +++ class_backup.php 12 Oct 2004 21:46:17 -0000 1.13 @@ -314,6 +314,7 @@ // exit if false $backup_cmd = 'rsync --archive --verbose --delete --backup --compress --backup-dir="' . $this->incomingdir . '/' . $this->server . '/' . $this->share . '" '; + $backup_cmd .= $exclude_from; $backup_cmd .= ' "' . $this->processdir . '/mounts/' . $this->server . '/' . $this->share . '/" "' . $this->backupdir . '/' . $this->server . '/' . $this->share . '/"'; $t->define (array('content' => $this->siteroot . '/inc/templates/backup_smb_backup_files.sh')); @@ -399,6 +400,7 @@ // exit if false $backup_cmd = 'rsync --archive --verbose --delete --backup --compress --backup-dir="' . $this->incomingdir . '/' . $this->server . '/' . $this->share . '" '; + $backup_cmd .= $exclude_from; $backup_cmd .= ' "' . $this->processdir . '/mounts/' . $this->server . '/' . $this->share . '/" "' . $this->backupdir . '/' . $this->server . '/' . $this->share . '/"' . "\n"; $t->define (array('content' => $this->siteroot . '/inc/templates/backup_nfs_backup_files.sh')); |