Time Machine backup doesn't finish
I'm trying to backup my Macbook Air 2018 with an external USB drive with Time Machine, but it keeps crashing. Internal SSD is in APFS and both external drives are formatted to Mac OS extended journal. Sometimes it backs up 84 GB, sometimes 413 GB and sometimes something between those. Then it gives either error 512 or just says that 'error while copying files'. After that it may continue backup until it ends again, or sometimes it won't continue.
I have done recovery/fix drive with Disk Utility to all those drives. Power nap is disabled (this was one advice I found while searching for help). I gave Time Machine permission to all my folders, files and photos in settings. I set TM's backup settings to skip system files and apps.
Please help!
MacBook Air 13″, macOS 10.15