Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exclude some dirs from site backups or backup GS only
#10
I have modified the file admin/zip.php. That file has the next line of code:

if ( strstr($dir, $GSADMIN.DIRECTORY_SEPARATOR )
|| strstr($dir, 'backups'.DIRECTORY_SEPARATOR )) {

I just added the other folder I want to skip:

if ( strstr($dir, $GSADMIN.DIRECTORY_SEPARATOR )
|| strstr($dir, 'backups'.DIRECTORY_SEPARATOR )
|| strstr($dir, 'Name of the folder to skip'.DIRECTORY_SEPARATOR )) {

It is working perfectly.
Reply


Messages In This Thread
RE: Exclude some dirs from site backups or backup GS only - by chelder86 - 2014-02-25, 03:08:39



Users browsing this thread: 1 Guest(s)