backing up templates