Pffff as a linux noob this is some job.....
For example on the old server I want to copy /var folder (using scp) to the new server keeping file permissions. I tried to copy them but access is denied because only root can copy these files?
scp -rp /var administrator@newserver:/var
Is this command correct?
How can I get root access to the new server to be able to copy the files to the new server?