Error 'module' object has no attribute 'backups'

Hello,

I am trying to do programmatically backup calling

frappe.utils.backups.new_backup()
or
frappe.utils.backups.backup()

but I get error ‘module’ object has no attribute ‘backups’ when I call it.

Never mind. Fixed it. I needed to call

import frappe.utils.backups

Still a beginner to python