I have a data (images) hosted using an mfscript : https://mfscripts.com/ .
My aim is to migrate this data to nextcloud script which I installed on a vps ( almalinux9 OS) , reserving the functionality of the old URLs created by the old script. Is this possible ?
No, that will not be possible. I had a quick look at the software. It is very different to Nextcloud Photos (default) or Nextcloud Memories, for example.
I suggest you take two steps:
-
Test manually with a certain number of photos
Upload a few of your images to your Nextlcoud. Share the images with other people, for example. If you don’t like this, you will probably have to stick with the old software. If you can, follow with 2.) -
You can copy a lot of files to Nextcloud using Linux commands such as
rsync
and then make them known to Nextcloud. This way you can import a lot of pictures. However, you will have to create the shares manually. I will be happy to give you more information if it is relevant for you.
Please first test manually with a few images. Bear in mind that file management and sharing works differently with Nextcloud than with your old software.
Thanks devnull for contributing.
I want to say I think it is easier than what you could imagine as I have gone thoroughly to investigate the structure of mfscript’s database and I found that it focused on features like payments ( Earn Money) and advertising and many plugins that I have no interest to use ( as my attention to just self hosting of my data).
Also I found that mfscript’s database have a table called file, which I think contain all required information to complete migration smoothly.
This table ( file) contain columns : ( id, originalFilename, fileType, extension, userId, uploadedDate, visits, lastAccessed, uploadedIP, & unique_hash).
My idea is that it is possible to write a python script to import the required information and files to nextcloud’s database, but I am newbie for nextcloud and have no idea about it
s database structure and logic behinde it’s work, so I need your aid to design a proper migration script.