It is very critical to keep a backup of content on your computer especially if your computer has a problem and you need to reinstall everything.
Please visit "Windows XP Backup Made easy" on Microsoft site for detailed information about Windows XP.
Please visit "Backup and Restore" on Microsoft site for detailed information about Windows 7