If anyone is facing error #255 while backup, it’s worth a try to examine recovery.log in TWRP’s backup folder 
In my case, it failed on an empty /data/per_boot dir, and succeeded after removing this dir 
2 Likes