# Big data Usage on "mobile documents" on new Mac as well as iOS

**URL:** <https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946>\
**Category:** DEVONthink\
**Created:** [August 2, 2021, 11:56am UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946 "2021-08-02T11:56:30Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr.cox](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@dr.cox](https://discourse.devontechnologies.com/u/dr.cox)\
**Post date:** [August 2, 2021, 11:56am UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/1 "2021-08-02T11:56:30Z")

</div>

Dear Forum,

after upgrading I am currently in the process of setting up a new MacBook. After setting up iCloud and even before setting up DT3 (Pro) I found the Folder under user/library/mobile documents/devonththinkprooffice to contain 36Gb where I know for a fact my databases contain at most 12-14Gb. I have seen similar behavior when doing a complete sync and download on iOS where at one point 50Gb where used up by those smaller databases. (There was a way to solve this but I forgot how and now I am stuck with these data hogs and I am too scared to delete stuff.).

Please advise on how to fix this and maybe even how to prevent it.

All the best,

Johannes

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [August 2, 2021, 1:26pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/2 "2021-08-02T13:26:21Z")

</div>

If you’re going to use the Legacy sync, it - meaning iCloud - is going to store data on your local machine. iCloud is not under our control so there’s no guarantee of prevention.

Regarding the space used, I would disable a DEVONthink / DEVONthink To Go Legacy sync on any device.  
Then on the Mac, go into **System Preferences \> Apple ID \> iCloud** and click the **Manage** button. Select **DEVONthink To Go** then click the **Delete documents and data** button.  
This preference doesn’t give a realtime view of the deletion process, so close and return to the Manage section occasionally to check the process. Once iCloud has removed the data from Apple’s server, the DEVONthink To Go entry will disappear.

After it’s done, you could use a CloudKit sync, which syncs directly to Apple’s servers. However, in this case you should only upload one database at a time, letting it finish, then uploading the next, etc. to avoid Apple’s servers from throttling you.

---

<div class="post-metadata">

**Author:** ![Blanc](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/blanc/32/8008_2.png) [@Blanc](https://discourse.devontechnologies.com/u/Blanc)\
**Post date:** [August 2, 2021, 1:38pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/3 "2021-08-02T13:38:25Z")

</div>

Jim’s response is, of course, assuming that you actually have copies of your databases, which you are going to put on your new MacBook - and haven’t, [like this unfortunate fellow](https://discourse.devontechnologies.com/t/icloud-key-for-sync-lost/65573), forgotten to back up the database files and were hoping to restore from sync (which, nobody who knows will ever tire of pointing out, is _not_ backup).

---

<div class="post-metadata">

**Author:** ![dr.cox](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@dr.cox](https://discourse.devontechnologies.com/u/dr.cox)\
**Post date:** [August 2, 2021, 3:11pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/4 "2021-08-02T15:11:56Z")

</div>

Dear All,

Thanks for the swift replies. I do have a local copy on my main mac and, occasionally back it up manually. (Would definitely do so before trying your suggestion). I still do use legacy sync as I had peoblems after trying the new protocol. Will have to revisit.

How does sync work anyways on multiple devices if not all files are stored on iCloud as well as on a local machine?

If syncing is not backing up, how can I make sure that the backup I am commencing on my main machine it is indeed complete if I had been adding quite a few files on iOS and my secondary mac?

Cheers for helping out!

J.

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [August 2, 2021, 3:25pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/5 "2021-08-02T15:25:30Z")

</div>

> How does sync work anyways on multiple devices **if not all files are stored on iCloud** as well as on a local machine?

What files aren’t stored on iCloud?

> If syncing is not backing up, how can I make sure that the backup I am commencing on my main machine it is indeed complete if I had been adding quite a few files on iOS and my secondary mac?

Your backup application should use a snapshot-style backup, e.g., Time Machine. If you continue to use your machine while its backing up, it will never technically be _“complete”_ unless you’re not using it while it’s backing up. But even then once you make changes, it won’t be backed up until the next time backup kicks off. However, in the grand scheme of things, the interval is usually sufficiently short so as to not worry about it.

---

<div class="post-metadata">

**Author:** ![dr.cox](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@dr.cox](https://discourse.devontechnologies.com/u/dr.cox)\
**Post date:** [August 2, 2021, 6:20pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/6 "2021-08-02T18:20:12Z")

</div>

Maybe I wasn‘t quite clear. Everyone here says icloud sync is not a backup. However, for files to be available on all synced devices all files would necessarily be stored on icloud, right?

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [August 2, 2021, 6:33pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/7 "2021-08-02T18:33:31Z")

</div>

While it would seem that way, the technicalities are different.  
Your files are **not** stored in a sync location _(except Bonjour, which is a direct connection)_. It is raw, chunked, and optionally encrypted sync data about the files, not the files themselves.

---

<div class="post-metadata">

**Author:** ![Blanc](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/blanc/32/8008_2.png) [@Blanc](https://discourse.devontechnologies.com/u/Blanc)\
**Post date:** [August 2, 2021, 6:45pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/8 "2021-08-02T18:45:13Z")

</div>

As such you are right: you can retrieve your files from a sync store to DEVONthink (using DEVONthink & to go) - so if you set up a new device, you can sync all your files to it from a sync store. That is assuming all your files have been put there, and the store is intact. But: if you suffer data loss on a device (accidental deletion, malware, corruption), that loss will be propagated to your sync store and any attached devices. There is no versioning - so sync fails even the most basic test for a backup.

Sync is great - it is _not_ backup. If you are interested in backup, some users - myself included - posted their ideas on strategies [here](https://discourse.devontechnologies.com/t/backup-strategies/61940).

---

<div class="post-metadata">

**Author:** ![dr.cox](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@dr.cox](https://discourse.devontechnologies.com/u/dr.cox)\
**Post date:** [August 2, 2021, 7:49pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/9 "2021-08-02T19:49:33Z")

</div>

Cool. That is the first time I am an clear on that.

Thus,

1. how can I verify that all files of the databases are synced and locally available on a given device?
2. if that has been achieved, Should I use the backup dialogue or something else to save a complete backup of the databases to hide away somewhere?
3. can I the somehow purge all icloud data created by devonthink?
4. lastly, I would then like to redistribute the database backup files to all Macs and be set from there plus simply re enabling / newly enabling icloud sync and wait until all is uploded?

Hope this is clearly expressed and makes sense. Thanks for taking the time.

---

<div class="post-metadata">

**Author:** ![dr.cox](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@dr.cox](https://discourse.devontechnologies.com/u/dr.cox)\
**Post date:** [August 9, 2021, 8:37pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/10 "2021-08-09T20:37:29Z")

</div>

any takers on my last post? cheers.

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [August 9, 2021, 11:52pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/11 "2021-08-09T23:52:47Z")

</div>

> 1 how can I verify that all files of the databases are synced and locally available on a given device?

You _could_ look at the file counts in the Info popup of a database in DEVONthink To Go and **File \> Database Properties** for the same database in DEVONthink.

> 2 if that has been achieved, Should I use the backup dialogue or something else to save a complete backup of the databases to hide away somewhere?

What _backup dialogue_ ?

If you have proper primary backups running, e.g., Time Machine, the databases _(and your other data)_ should be backed up.  
Please refer to the **Help \> Documenation \> Gettings Started \> A Word About Backups** for more information.

> 3 can I the somehow purge all icloud data created by DEVONthink?

Regarding the removal of iCloud Legacy sync data, I responded to this a week ago:

> [@Big data Usage on "mobile documents" on new Mac as well as iOS](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/2):
>
> If you’re going to use the Legacy sync, it - meaning iCloud - is going to store data on your local machine. iCloud is not under our control so there’s no guarantee of prevention. Regarding the space used, I would disable a DEVONthink / DEVONthink To Go Legacy sync on any device. Then on the Mac, go into System Preferences \> Apple ID \> iCloud and click the Manage button. Select DEVONthink To Go then click the Delete documents and data button. This preference doesn’t give a realtime view of the…

Here are the instructions again _(and some additions)_…

1. On the Mac, go into **System Preferences \> Apple ID \> iCloud** and click the **Manage** button. Select **DEVONthink To Go** then click the **Delete documents and data** button.  
This preference doesn’t give a realtime view of the deletion process, so close and return to the Manage section occasionally to check the process. Once iCloud has removed the data from Apple’s server, the DEVONthink To Go entry will disappear.
2. Then hold the **Option key** , **control-click** the iCloud sync location and choose **Verify Location Thoroughly**. The results will be shown in **Window \> Log**.
3. 
  1. In DEVONthink’s **Preferences \> Sync** , **right-click** the iCloud sync location and choose **Clean Location**. This will clear out any sync data.

4. After the clean is reported successfully in Log window or popover, disable the iCloud (Legacy) sync location.

> 4 lastly, I would then like to redistribute the database backup files to all Macs and be set from there plus simply re enabling / newly enabling icloud sync and wait until all is uploded?

Do you **need** to use a remote sync option like iCloud?  
See this forum post:

> [@Sync Types Explained](https://discourse.devontechnologies.com/t/sync-types-explained/60963):
>
> First Questions Sync is simple but you need to choose the type of sync method to use. Regarding syncing, the first question you need to ask yourself is, “Do I need a remote sync option?”. Consider these questions… Do you need to sync between machines – especially desktop Macs – in different geographic locations? Do you have a colleague, assistant, significant other, etc. that needs frequent updates to synced data? Are you using a shallow sync, i.e., Download Files: On demand in DEVONthink To …

---

<div class="post-metadata">

**Author:** ![dr.cox](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@dr.cox](https://discourse.devontechnologies.com/u/dr.cox)\
**Post date:** [August 9, 2021, 11:55pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/12 "2021-08-09T23:55:25Z")

</div>

cheers for taking the time!!! brilliant!

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [August 10, 2021, 12:07am UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/13 "2021-08-10T00:07:05Z")

</div>

You’re welcome. 🙂

---

<div class="post-metadata">

**Author:** ![dr.cox](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@dr.cox](https://discourse.devontechnologies.com/u/dr.cox)\
**Post date:** [October 6, 2021, 7:09pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/14 "2021-10-06T19:09:22Z")

</div>

Hi bluefrog, hi forum,

the new sync works seamlessly as of now and all documents load on demand. however, the creep factor has set in and I see again 70plus GB of storage used up on icloud even now that Inuse cloudkit. how can that be? any ideas,

cheers,

j.

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [October 6, 2021, 7:57pm UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/15 "2021-10-06T19:57:25Z")

</div>

Are you indexing data in DEVONthink?  
If so, is that why you’re expecting there to be less sync data in iCloud?

---

<div class="post-metadata">

**Author:** ![dr.cox](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@dr.cox](https://discourse.devontechnologies.com/u/dr.cox)\
**Post date:** [October 7, 2021, 9:00am UTC](https://discourse.devontechnologies.com/t/big-data-usage-on-mobile-documents-on-new-mac-as-well-as-ios/65946/16 "2021-10-07T09:00:02Z")

</div>

yes, I do index some folders. but after rebuilding as per your instructions usage was normal/ as to be expected from size of local DBs.

secondly, I think I jinxed it. Bought a new iPad and step by step set up cloudkit one DB at a time. There many items again that I see as preview but cannot download. (these are not indexed files (would it matter if they were?) but present items in the DB.

thanks again
