Portal Home > Knowledgebase > Articles Database > Backup Issue ..


Backup Issue ..




Posted by boxer, 09-11-2008, 03:14 PM
Hello .. i have a problem when i restore my backup from my backup server bqbackup.com now i have everything done with id_rsa.pub ... but i change the port 22 to 7331 and disable the root login .. when i command this 1)$ rsync -avz -e ssh public_html.tar.gz user@localhost -p 7331 /server building file list ... rsync: link_stat "/home/eddy/SJ_Srv/home/srv1/user@localhost" failed: No such file or directory (2) done rsync: mkdir "/server" failed: Permission denied (13) rsync error: error in file IO (code 11) at main.c(529) [receiver=2.6.9] rsync: connection unexpectedly closed (8 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9] $ -------------------------- the first error , then :2)$ rsync -avz -e ssh public_html.tar.gz user@localhosterver -p 7331 building file list ... rsync: link_stat "/home/eddy/SJ_Srv/home/srv1/user@localhosterver" failed: No such file or directory (2) donesent 87 bytes received 20 bytes 214.00 bytes/sec total size is 4353489 speedup is 40686.81 rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] ------------------------- then another time :3)$ rsync -avz -e ssh /home/eddy/SJ_Srv/home/srv1/public_html.tar.gz h4x0r@72.167.167.37erver -p 7331 building file list ... rsync: link_stat "/home/eddy/SJ_Srv/home/srv1/user@localhosterver" failed: No such file or directory (2) done public_html.tar.gzsent 4355082 bytes received 42 bytes 8710248.00 bytes/sec total size is 4353489 speedup is 1.00 rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] -------------------------------------------- so please let me know how to send from my backup server to my server ..

Posted by WebbyCart, 09-11-2008, 03:40 PM
Check your rsync command, change localhost with your actual IP and the -p should be in the -e ssh part... Regards, Bobby

Posted by boxer, 09-11-2008, 03:49 PM
can u explane please how to check my rysn command ? dont get your point .. and please write the full command with explane the -p port ?

Posted by foobic, 09-11-2008, 07:41 PM
Replace "source" with the file or directory (local or remote) you want to copy from. Replace "destination" with the directory (local or remote) you want to copy to. For a remote file or directory use something like username@hostname:path/to/file_or_dir

Posted by hosting_we3cares, 09-12-2008, 12:32 AM
1) Login into the backup server. 2) Create a folder /test-server 3) Move the backup file public_html.tar.gz inside /test-server 4) Issue the following command, ################################################################# rsync -ave "ssh -p 7331" /test-server root@your-server-ip:/server ################################################################# Hope this helps..

Posted by bqinternet, 09-12-2008, 07:26 AM
Hello there, We actually responded to your question by email a good 12 hours before your post. The syntax you are trying to use is incorrect, and you can modify it as below: Normally backups would be pulled from the backup server rather than pushed from the backup server. In that case, you would run this on your server:

Posted by boxer, 09-12-2008, 09:30 AM
Thanks all & Scott ... didnt see your mail sorry .. Regards



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Generation-Host DOWN (Views: 873)

Language: