RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 08/30/2018 16:27:47 ORA-01861: literal does not match format string
Bug 5873368: RMAN RESTORE FAILED WITH ORA-1861 WHEN SET UNTIL TIME IS USED
When you use raw devices then it is always a good idea to ensure that the content is zeroed out before using the file/s with Oracle. On a source DB: when you CREATE a tablespace the file (raw device) gets opened and a new header and content written to it from scratch. On another machine: when restoring you have a controlfile telling you the raw device/s are already part of the DB but if these have never been zeroed they could contain anything.
We should probably be able to handle nonsense in a header like this better but it is good practice to always zero out such devices if using them for the first time then whatever the previous content it cannot interfere with the new use.