I need to reinstall one of ours servers, and as a precaution, I want to move /home
, /etc
, /opt
, and /Services
to backup server.
However, I have a problem: because of plenty of symbolic links a lot of files are copied multiple times.
Is it possible to make scp
ignore the symbolic links (or actually to copy link as a link not as a directory or file)? If not, is there another way to do it?