The Basics
- Nextcloud Server version (e.g., 29.x.x):
Latest (About to install)
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04
Summary of the issue you are facing:
Due to some hardware issues I’ve had to move my server to a new PC but have kept the original drives. I am running Linux Server 24.0.4.1 on a 500 GB SSD and use 2x 8TB HDD’s in a raid format for storage. I want NextCloud to retain the existing folder structure as I already have photos backed up and I’m not sure what part of the folder structure is generated by me, and what is generated by NextCloud.
On the previous Docker AIO install I added the line;
--env NEXTCLOUD_DATADIR="/mnt/NextCloud"
When checking the folder structure using ls -a /mnt/NextCloud I have the following;
admin
appdata_ocyfqebfmue8
Becky
Dad
.htaccess
index.html
.ncdata
nextcloud.log
I couldn’t find a topic for this and I’m assuming that if i use --env NEXTCLOUD_DATADIR="/mnt/NextCloud" again I should be fine and NextCloud will continue to save to the account folders (admin, Becky, Dad) but before I do, do i need to amend any of the existing files or folders? I have read Migrating to a different server — Nextcloud latest Administration Manual latest documentation but that seems to be about copying files and folders from an old harddrive to new hard drives