next time when you reply to someone who commented on your question, use @
, to reply to me @Fischer
so i can be notified that you replied to me, otherwise I may never reply to you.
I'll link to some tutorials.
To create a tarball
you go to the file location using cd
, then you do
tar -cvf example.tar /example
Then to use rsync on a RedHat-based distribution
yum install rsync
or, if you are on Debian-based distribution
apt-get install rsync
then transfer to the new server
rsync -av -e ssh username@oldserverip:/path/to/example.tar /example.tar
(note that you have the option to gzip the file on-the-fly by adding the -z
flag)
and at last untar
on the new server, go to where the tar
is located, use ls
to help you see the file.
tar -xvf example.tar
@
, to reply to me@Fischer
so i can be notified that you replied to me, otherwise I may never reply to you.