|
|
 |
 |
 |
manilaSuite.backups.backupAllSites
Fix a bug that occurs when a site has been scheduled for backup but it is not available when a backup is done. Without this fix the whole backup terminates, with the patch an unavailable site is skipped.
| |
local (adrsites = @config.manila.backups.sites) |
| |
local (backupFolder = config.manila.backups.backupFolder) |
| |
local (adr, data, ctsites = 0) |
| |
for adr in adrsites //do the backups |
| |
local (adrsite = adr^.adrsite) //03/03/06, 11:18:45 by DAB |
| |
if not defined (adrsite^) //03/03/06, 11:18:48 by DAB: skip undefined sites |
| |
local (adrdata = @data.[adrsite] ) |
| |
local (sitename = nameOf (adrsite^)) |
| |
try {sitename = manilaSuite.getNewsSitePref ("siteName", adrsite)} |
| |
adrdata^.sitename = sitename |
| |
adrdata^.siteurl = manilaSuite.getSiteUrl (adrsite) |
| |
if ctsites > 0 //send email notification |
Relative to Frontier version 9.7b10
|