Backing up Sharepoint Services 3 via command line stsadm.exe

Stsadm -o backup -url http://localhost -filename site.bak

thats it!
got it from here.