Rsync Error!

Posted by rkm11, 09-16-2007, 12:26 AM
I type rsync and after the man page, it says Any Ideas? Thanks! Ryan

Posted by tanfwc, 09-16-2007, 01:03 AM
what the command you type?

Posted by david510, 09-16-2007, 02:58 AM
Try this command. To copy /path/to/directory/file to /path/to/directory/ on remote server. rsync -avz -e ssh /path/to/directory/file root@domain.com:/path/to/directory/

Posted by foobic, 09-16-2007, 03:04 AM
That appears to be a bug in rsync (but a very minor one) when you type just "rsync". As David suggests, use the full command: "rsync [options] source destination".

Posted by rkm11, 09-16-2007, 11:06 AM
I'm attempting to run a PHP script that stores the daily backups for WHM to each of their days (folder under daily, monday, tuesday, wednesday...) When I run it (php -f 5day.php), I get the man page for rsync, and at the end: Thanks Ryan

Posted by foobic, 09-16-2007, 06:49 PM
Take out the line breaks in your rsync commands. I suspect it's not going to do what you want though - do you really want to copy everything from the daily directory (including the daily/monday daily/wednesday etc. directories)?

Posted by rkm11, 09-16-2007, 07:14 PM
Ah, dua Works. Yes, it does what it should, and as you described. How can I change this so it connects to a remote server and copies the files? I'm new to rsync. Thanks Ryan

Posted by foobic, 09-16-2007, 07:18 PM
To connect automatically to a remote server you'll need to set up ssh access with keys. This is a good tutorial.

Răspunsul a fost util?

 Tipărire

V-ar mai putea interesa și

EMC / SAN HD Ready

Posted by ti_nhatrang, 04-15-2007, 03:33 AMHi guys, I've purchased AX150/EMC SAN from DELL......

Scheduling Software

Posted by raulgonzalez, 01-15-2008, 07:30 PMHello, Does anyone know of an opensource software...

Setup extra mailserver for newsletters

Posted by dream_th, 06-29-2008, 12:22 PMHi, I have problems to express with my english but i...

How to go about PCI compliance?

Posted by ramdak5000, 01-14-2008, 09:48 PMI have taken basic security measures on my VPS such as...

how i can stoped nailswebd

Posted by osayd, 06-29-2008, 07:06 PMHi, i need to stoped nailswebd then enable it in my server...