How to recover root file system

Please can anyone explain me how to take a backup of root file system and how to recover it if it is corrupted. please explain me in detail

as always there is more then one way to do this... maybe start reading about things like:

  • jumpstart
  • flasharchive
  • ufsdump
  • zfs snapshots
  • ...