So if I need to preserve the permissions/user/group infos of files then I can copy them with "cp -p foo fooo". But are there any "preserving" options in scp? When copying between servers.
From my experience I can say that
scp -pdoes NOT work as expected.
rsync -e ssh -aHS SOURCE TARGET instead, This will retain almost all attributes - only the creation time of soft links will change to the current time.