large data copy methods
by vinmansbrew from LinuxQuestions.org on (#5MW90)
I have to copy data from 1 nfs server, to another. I am looking for suggestions on the best method. It will be a couple terabytes of data overall. The receiving server has zero data on it. The old nfs server is rhel 6.10, new server is rhel 8.4.
I tried this:
sudo rsync -avz username@source:/directory /desitnation
And it completed,but I got this error:
rsync error: some files/attrs were not transferred (see previous errors) (code 23)
It's hard to say what may not have copied. I suppose I could have run it as root, but I'm not sure of that would work as I have root ssh set to no.
I don't mind doing rsync, if I can get everything copied over, and it's fairly fast.
Tar might be another option, but I am not sure on the format for the command yet.
I haven't found much on it yet.
I do not want to delete the source files.
Also, the files/directories have different owners/groups. I wonder if I would need to add my username to the groups in order to have permissions to copy?
I tried this:
sudo rsync -avz username@source:/directory /desitnation
And it completed,but I got this error:
rsync error: some files/attrs were not transferred (see previous errors) (code 23)
It's hard to say what may not have copied. I suppose I could have run it as root, but I'm not sure of that would work as I have root ssh set to no.
I don't mind doing rsync, if I can get everything copied over, and it's fairly fast.
Tar might be another option, but I am not sure on the format for the command yet.
I haven't found much on it yet.
I do not want to delete the source files.
Also, the files/directories have different owners/groups. I wonder if I would need to add my username to the groups in order to have permissions to copy?