Extremely safe. Cloud storage companies tend to have vastly greater systems and defences against accidents, malware and ransomware, and general negligence. You may think the opposite since your data is stored on a server far away from you, but most cloud backup providers specialise in storing data in the cloud.