Ignore errors and still run post-backup script

Hiya! I recently set up cloud syncs for my shares. It backs up to offsite S3, so it uses Cloud Sync. I copied a pre and post backup script from some person on Reddit and it seems to work. But even if there are like 4 of 500k files that didnt copy correctly it fails completely and doesnt run my post script, leaving all my services offline. Please advice on how i can fix this

(wanted to include some helpful screenshots here but for some reason the forum doesnt allow it)

Check your email or DMs for a message about the TrueNAS-Bot tutorial and complete it. You may have to view a few more threads also to post image.