Note that namespaces are really just directories on the datastore, so to move all groups from the root in a new namespace named foo you'd need to do:Is there already a GUI option (or CLI command) to change the namespace of existing backups?
# change pwd to datastore root dir, e.g.: cd /mnt/datastore # create the namespace "foo" manually (or via gui, which doesn't needs the ns/ prefix) mkdir -p ns/foo chown -R backup:backup ns # move groups of type vm, ct and host mv vm ct host ns/foo # or a deeper namespace "foo/bar" mkdir -p ns/foo/ns/bar chown -R backup:backup ns
Note, this works only in the same datastore, doing this between different datastore will cause breakage and must not be done this way! Use a normal sync instead then.