news |
info |
people |
software |
stuff |
function BL_PrepareForBackup backup,temporary -- prepare by displaying messages and renaming any old backup if there is a stack backup then if FL_RenameStack(backup,temporary) then UL_PutMsg "Updating backup file:" & return & FL_ShortPath(backup) else answer "Backup error: Couldn't rename old backup." return false end if else UL_PutMsg "Creating backup file:" & return & FL_ShortPath(backup) end if return true end BL_PrepareForBackup