In the Metadata API, individual versions of a File are represented by a ContentVersion object record. You may have noticed that there are fewer ContentVersion records being backed up than Files in your org.

This is because users with View All Data permission can only query files they have access to, including files in their personal library and in libraries they're a member of, files shared directly with them, posted on their profile, or posted on groups they can see. 

In order to be able to query all files, including files in non-member libraries and files in unlisted groups, you need to enable Query All Files permission (release note) for your backup user. This permission is disabled by default.

To enable Query All Files permission you will need to modify an existing Permission Set  or create a new one and assign it to your backup user.

Did this answer your question?