Hi,
I would like to migrate my files (about 100GB) from a block storage to an object storage (Openstack Swift)
I’ve seen this tutorial: https://pedal.me.uk/migrating-a-nextcloud-instance-to-amazon-s3/
It shows several steps:
- “Rename” files according to their ids in oc_filecache
- Transfer those files in the container (I used
ls urn*|xargs -trn50 openstack object create container_name
) - Update oc_storage to change ‘local::%’ in ‘object::store:container_name’ and ‘home::%’ in ‘object::user:user_id’
- Modify config.php (ie. https://docs.nextcloud.com/server/21/admin_manual/configuration_files/primary_storage.html)
I began to do all this but I noticed the same files are present in ‘home::%’ and ‘local::%’ storages. I’m not sure that’s a good idea to transfer files twice with different names on the container.
Could someone explain the difference between files in ‘home::%’ and ‘local::%’ storages please? And how avoid having dupes?