The following is a good post on using the PowerShell commands for backup and restore in SharePoint 2010. It covers both farm level and granular backup, as well as details on how scheduling and automation work with SharePoint backups using PowerShell.