If the contacts are associated with an email account, you can simply login to that account via your computer, and then "export" your contacts from the email service and then either "import" them to your computer's mail app or simply save them exported contacts file on your hard drive as a backup.