I am trying to exclude the EPM modules from our PIAF server backup. Under:
Additional Files/Exclude files and folders, I have tried every permutation of:
/var/www/html/admin/modules/_ep_phone_modules/*
that I can think of.
Can someone help me with the correct syntaxt to exclude that path and everything below it?
Okay, after a lot of digging I have found the answer to this backup issue.
The bottom line is: it doesn’t work like that. At least, not the way that I thought that it did. And from what I have read in other posts, not the way a lot of other people think that it does either.
The basic steps behind the backup script (which is: ampbackup.php in /var/www/html/admin/modules/backup/bin), are to create a series of smaller tarballs for each of the selected options (CDR, Voicemail, System Recordings, etc), then to combine the smaller tarballs into one large tarball, which is the final backup file.
The “Additional Files/Additional files and folders” option allows a user to add files to the backup that are not normally included by the backup script. The “Exclude files and folders” options only excludes files that you included in the “Additional files and folders” section. It does not exclude files/folders across the entire scope of the backup, which is what I had assumed.
So, the only way to resolve my issue was to change the backup script to exclude the specific files when it is creating that particular smaller tarball. In my case, it was the ‘configurations’ tarball.