Hi @mean2701
You should not only transfer the data directory but you should transfer the database as well. All shares are stored inside of the database.
So that would be a “transplantation” of the cloud.
If you do not want to transfer the complete database, you must reconstruct the shares from the old database and create them new on the new instance.
You can create a lists of all created shares on the old instance with the → nc-shares script ← and then you can re-create all those shares (or all important shares) with exactly the same tokens by the means of the “Configurable Share Links
” app:
App-Id | cfg_share_links |
App-Name | Configurable Share Links |
Summary | App adding the ability to specify share tokens |
Categories | files, tools |
Repository | GitHub - jimmyl0l3c/cfg_share_links: App for Nextcloud that adds the ability to specify share tokens |
Issue-Tracker | Issues · jimmyl0l3c/cfg_share_links · GitHub |
Not-shipped (not included) App available in appstore | |
Appstore | https://apps.nextcloud.com/apps/cfg_share_links |
Much and good luck,
ernolf