From: <abe...@us...> - 2015-07-10 17:12:43
|
Revision: 7147 http://sourceforge.net/p/astlinux/code/7147 Author: abelbeck Date: 2015-07-10 17:12:40 +0000 (Fri, 10 Jul 2015) Log Message: ----------- web interface, update Staff tab for exclude files from unionfs backup Modified Paths: -------------- branches/1.0/package/webinterface/altweb/admin/staff.php Modified: branches/1.0/package/webinterface/altweb/admin/staff.php =================================================================== --- branches/1.0/package/webinterface/altweb/admin/staff.php 2015-07-10 16:50:26 UTC (rev 7146) +++ branches/1.0/package/webinterface/altweb/admin/staff.php 2015-07-10 17:12:40 UTC (rev 7147) @@ -65,6 +65,9 @@ $excludecmd = 'find /oldroot/mnt/asturw/ -type f | sed -e "s:^/oldroot/mnt/asturw/::" | sed -n'; $excludecmd .= ' -e "s:^stat/var/lib/asterisk/sounds/.*$:&:p"'; $excludecmd .= ' -e "s:^stat/var/lib/asterisk/moh/.*$:&:p"'; + $excludecmd .= ' -e "s:^stat/var/www/cache/.*$:&:p"'; + $excludecmd .= ' -e "s:^stat/var/packages/.*$:&:p"'; + $excludecmd .= ' -e "s:^usr/lib/locale/.*$:&:p"'; shell($excludecmd.' >'.$excludefile.' 2>/dev/null', $status); shell($tarcmd.$asturw.' -X '.$excludefile.' $(ls -1 /oldroot/mnt/asturw/ | sed -e "s/^mnt$//") -C /oldroot/mnt/asturw >/dev/null 2>/dev/null', $status); @unlink($excludefile); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |