Hi all -
We’ve got a legacy server that has some files on it that we’d like to synchronize to our Nextcloud instance until its replacement, is there any way we can get a CentOS 7 installation package so that we could use nextcloudcmd
?
Hi all -
We’ve got a legacy server that has some files on it that we’d like to synchronize to our Nextcloud instance until its replacement, is there any way we can get a CentOS 7 installation package so that we could use nextcloudcmd
?
There is no need to have a specific package. Copy the files in question to a directory on your Nextcloud server, by e.g. using scp, and run the “occ files:scan ...
” command afterwards.
Will internal and external links to those files/directories and their permissions be kept? For example, if we wanted a shared spreadsheet that some folks update occasionally, we’d like that spreadsheet to be linkable on our company intranet - so its share link has to stay the same. Will that happen?
nextcloudcmd
is just a lightweight command-line edition client. It isn’t typically used for migrating to a new server.
It sounds more like you’re doing a semi-routine migration. That’s documented here: Migrating to a different server — Nextcloud latest Administration Manual latest documentation
Beware there are some differences depending on install method, but the process is fundamentally the same.
The trouble is really the other applications on this server - Nextcloud will be fairly easy to migrate. Until we’ve accomplished that, though, we need to be able to copy master copies of files into Nextcloud, preserving their share link locations, so that the updated copies show up from our corporate dashboard. I can cron script the file copies, but using that occ
command is useless to me if every time I overwrite the file with a new version (say, every five minutes), the link to it gets blown away.