Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

[solved] Rsync does not sync, no file at the destination

Discussion in 'Linux Networking' started by postcd, Jul 25, 2017.

  1. postcd

    postcd New Member

    Joined:
    Jul 8, 2017
    Messages:
    17
    Likes Received:
    1
    rsync does not sync, no file at the destination

    i tried to sync to two different servers, no one works (no file was transfered to the destination).

    and when i browse the destination server / the file is not there :rolleyes:

    i have MTU 1500 on my main network interface, this is CentOS 6. rsync version 3.0.6 thx


     
    #1 postcd, Jul 25, 2017
    Last edited: Jul 25, 2017
  2. Rob

    Rob Administrator
    Staff Member

    Joined:
    Oct 27, 2011
    Messages:
    269
    Likes Received:
    745
    You're uploading it to / on the server.. as root.. not Root's home directory which is /root/. You looked in / right?

    For fun, try uploading to /tmp/ or /home/ just to see.
     
  3. postcd

    postcd New Member

    Joined:
    Jul 8, 2017
    Messages:
    17
    Likes Received:
    1
    thank you. it was right directory, but i forgot to define "ssh" and also wrongly typed quotation marks

    was:
    -e "-p 22 [email protected]:/"

    should be:
    -e "ssh -p 22" [email protected]:/

    issue solved :-S
     
  4. Rob

    Rob Administrator
    Staff Member

    Joined:
    Oct 27, 2011
    Messages:
    269
    Likes Received:
    745
    Ha - missed that :)
     

Share This Page