OK, I need your help guys,
I did (trust is the actually dataset and trustme is the future/target dataset):
zfs snapshot -r trust/nextclouddataset@relocate
then
zfs send -R trust/nextclouddataset@relocate | zfs receive -v trustme/nextclouddataset
and it copies and creates the new dataset just fine, when I then change the storage on the nextcloud jail, start the jail and the nextcloud plugin, it somehow doesn't upload the phone data anymore, every upload fails.
putting it back to the source trust, it works just fine, sigh, help ;-)
Maybe but didn't try:
zfs get -rH -o name -s received mountpoint trustme/nextclouddataset | xargs -I {} sh -c "zfs set mountpoint=/{} {}; zfs mount {};"
Update: will try later again, couldn't find anything on google why my way wouldn't work. Will post the progress.
Update and need help: I tried back and forward, made a picture with the new dataset, upload failed. changed back to the old dataset, retried failed upload and worked just fine.
What is missing to move the nextcloud dataset??
I did (trust is the actually dataset and trustme is the future/target dataset):
zfs snapshot -r trust/nextclouddataset@relocate
then
zfs send -R trust/nextclouddataset@relocate | zfs receive -v trustme/nextclouddataset
and it copies and creates the new dataset just fine, when I then change the storage on the nextcloud jail, start the jail and the nextcloud plugin, it somehow doesn't upload the phone data anymore, every upload fails.
putting it back to the source trust, it works just fine, sigh, help ;-)
Maybe but didn't try:
zfs get -rH -o name -s received mountpoint trustme/nextclouddataset | xargs -I {} sh -c "zfs set mountpoint=/{} {}; zfs mount {};"
Update: will try later again, couldn't find anything on google why my way wouldn't work. Will post the progress.
Update and need help: I tried back and forward, made a picture with the new dataset, upload failed. changed back to the old dataset, retried failed upload and worked just fine.
What is missing to move the nextcloud dataset??
Last edited: