My hosting provider does not offer a free backup and I'm not going to pay for it.
I have 2 centos 5 64 bit vps, I'm working on 1 of them, I'm not using the 2nd one. I don't have a cpanel nor ftp.
I would like to know how to backup everything on the 2nd vps that I don't use
SCP or SFTP are your friends in this scenario.
The
scp
command works similarly tocp
, but it copies files over an ssh connection.eli@oldserver:~$ scp -r /folder/with/important/stuff/ [email protected]:/home/eli/stuff
For more information and flags I refer you to the man page of scp.
Your other option, SFTP is a protocol that is implemented in many file browsers. This approach will allow you to use a graphical interface.
sftp://[email protected]
in the address bar.These SFTP tools will allow you to just drag and drop files on or off servers running ssh.
Just copy all the data and config to the second server. Testing whether your backup actually works is optional, but highly recommended.