cloud hosting would data safety is pretty much similar to that you get when using VPS or dedicated server. You should always have updated and up to date backups for disaster recovery. The security level would also depend on the service provider you have and their recovery points options.