If the database fails due to a hardware defect or a logical error, you can restore the database to a consistent state by importing your data and log backups.
For increased security, there are also various replication and high availability mechanisms available.
Database Administration,