anyproto / anytype-ts

Official Anytype client for MacOS, Linux, and Windows
https://anytype.io
Other
3.63k stars 215 forks source link

Anytype data is stored in APPDATA on Windows #717

Closed Darthagnon closed 1 month ago

Darthagnon commented 1 month ago

Have you read a contributing guide?

Current Behavior

As far as I can tell from Anytype >> Settings >> Vault >> Data Management (settings layout is very confusing), Anytype data is stored in C:\Users\Username\AppData\Roaming\anytype\data (similar to most other Chromium/Electron software). As Appdata is a hidden folder on Windows and full of a lot of frequently-changing system files, it is likely to be missed in computer backups, unlike visible shell folders like My Documents. Thus, Anytype data is ephemeral and can very easily be lost on computer migration, unless either (a) it is manually exported first, or (b) we trust the cloud (I don't).

Please can you store Anytype data in My Documents\anytype\data so it will not be missed in backups, or provide a user-configurable path?

Could this also be made easier to find, as the current settings layout, splitting all settings between 5 submenu entries in a non-standard dropdown is very confusing? I would suggest a different layout, in a separate issue.

Expected Behavior

Anytype should store user data in My Documents\anytype\data as do most other content-creation programs in the past 30 years, rather than with temporary system settings in the hidden Appdata folder.

Steps To Reproduce

  1. Install Anytype on Windows
  2. It stores its data in a hidden folder usually used for temporary settings and caches. Appdata is likely to be missed in computer backups and data will be lost
  3. Current workarounds are either manually export Anytype data, which will not help if computer dies suddenly, or trust the cloud (which is someone else's computer, requires internet, and is not a backup)

Environment

- OS: Windows 10

Anything else?

No response

ra3orblade commented 1 month ago

You can change the path on the first app screen in the settings:

Screenshot 2024-05-10 at 15 21 01
Darthagnon commented 1 month ago

You can change the path on the first app screen in the settings: Screenshot 2024-05-10 at 15 21 01

Where do I find this page? It is not present in:

I'm on Anytype v0.40.8; there is no Edit >> Preferences menu

filip-anytype commented 1 month ago

@Darthagnon You need to log out first. You then click on a button in the top right corner.

Darthagnon commented 1 month ago

@Darthagnon You need to log out first. You then click on a button in the top right corner.

Aha, I found it. Anytype >> Settings >> Vault >> Log Out, then I clicked on the almost invisible cog button in the top right, and it gives the secret settings menu ☺