Data lost when copying config from one workspace to another

This post was last updated for 324 days ago, and the information may already be changed

Hi,

I have two workspaces in SiYuan. I wanted to copy all the config from one workspace to another. I copied the "conf" folder from the first workspace folder to the second.

However, in the second workspace, all the notebooks from the first one appeared. I deleted them manually. Then, when checking the first workspace, all the notebooks were gone from it as well.

There was some important data in those notebooks, and I have no idea how to restore them. I assumed the workspace folders are completely independent one from another, so why does something so simple as copying all the config also copy all the data, and synchronizes that data between the folders?

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • akmtk
      VIP Warrior Author

      Are there any plans then to make it possible to copy the config (as in, the settings you set from the user interface, e.g. use Adaptive Width) from one workspace to another?

      I'd like to isolate personal files from work files, but I would like to share the settings between the two workspaces. Ideally, it would be good to have the settings configurable per-app, not per-workspace.

      Edit: just splitting the user-facing config and system config in two separate files, and documenting it somewhere, would already be a great solution!

      1 Reply
    • MiscReply
    • akmtk
      VIP Warrior Author

      Ok, I see. How about the ability to roll back to a snapshot and sync it back to the cloud, as I was writing in my post above? Currently, the only way to do so is to remove the entire cloud folder, which also erases all the history, which is suboptimal.

      1 Reply
    • 88250

      There are currently no plans to support the import and export of configuration files. For now, you can consider manually copying and modifying the content before pasting.

      For example, if you do not need synchronization settings (including data repo), you need to delete the "sync" and "repo" fields in the configuration file.

      1 Reply
    • 88250

      Please refer to @zxhd86 's solution above, which is to use "Full manual sync" to upload.

      image.png

    • Visit all replies