scp is actually easier to use than at first glance.
scp <from> <to>
<from> or <to> may be local or remote.
Deleted files look like user@host:path_on_remote
Local files are simply simple paths: /path/to/my/file.txt
If you do this manually, it may be easier for you not to copy the file back to your office computer by doing the following from the local host before entering the remote host:
scp user@remotehost:/path/to/my/file/on/remote.txt /local/path/local.txt
If you need to copy the directory - as already mentioned, you can give scp the -r option.
When you log in to the remote computer, backing up is basically the same, although you will need ssh on your local computer, which may require port porting on your local router. I usually find it easier to call scp on my laptop on the server, and not vice versa.
ldrumm
source share