Should sqlite -wal and -shm files be excluded from iCloud back up? If yes when?

I am using Core Data with an SQLite persistant store. Theres a lot of initial seed data and hence SQLite db is excluded from back up as per iCloud best practices.

-wal and -shm files are created along with SQLite persistant store because of Write Ahead Logging journal mode.


Q1. Should these files be excluded from iCloud back up?

(I think they should be excluded since they are useless without SQLite file and have no business taking up space/bandwidth, however little)


Q2. If answer to Q1 is a yes, there is no way to track when the wal file is created and merged with main db and recreated etc. So when and how should 'do not back up' attribute be applied to this file?


I could not find any official documentation explaining this. There is already a question on stackoverflow but there are no answers for this so far.


P.S.

1. I know i can opt out of WAL journal mode by specifying journal mode as delete but thats not my question.

2. I DON'T want to back up SQLite db to iCloud.

Should sqlite -wal and -shm files be excluded from iCloud back up? If yes when?
 
 
Q