Возможен ли перенос данный на другой сервер с сохранением расшареных папок, если место хранения меняется с cifs на local disk

Здравствуйте сообщество

Использую Nextcloud 30 версии, хочу мигрировать на другой сервер и перенести файлы уже на него локально. Но проблема в том что на действующем сервере есть созданные share ссылки, есть ли идеи как это сделать ?

думаю написать приложение для переноса, которое будет сравнивать относительные пути и переностить в случае совпадения шары (создавая новые в БД, на новом сервере), может быть подобное кто-то делал?

Hello @Mike8,

welcome to the Nextcloud community! :handshake:

please review server migration docs and look at myriads topics tagged server_migration

Thanks for the invitation, I have read about migration, but my case just implies that the files will be on another source. This is the point highlighted in the article during migration and is brought out as a warning.

I am currently writing an application that will help me compare relative paths and values ​​in the database (filecache table) and, having received all the values ​​of shared links, transfer to a new server, where the files are already on the local disk.

maybe I can ask the developers a question, who better understands the peculiarity of Nextcloud?

look at this topic HowTo: Change / Move data directory after installation
doing both server and data dir migration at the same is maybe not the best way to go.. but if you have to.

Thanks for the info, i learned a lot, but i was also surprised how fast this project is developing. now i have to figure out what kind of strange records are stored in os_storage, where in addition to “home” records i have “smb” and also some kind of hash value - “b794f84431d060d3ac663c9a986beed1”, if i can match all this, maybe i will be able to change these storages from smb to home and thus migrate from network folder to local disk.