Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> rsync help
McKettle
post Jun 21 2012, 10:09 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 21-June 12
Member No.: 17,673



Hello,

I'm hoping someone can help and that I have not posted this in the wrong place.

A client of ours requires a backup of their mySQL database done each night. At the moment a mysqldump is run on the server and e-mailed to us, we then ftp the compressed dump to another server. Recently the dump has exceeded our e-mail quota so now we just receive a link to the file. Asking around we were told about rsync so we could cron a rsync job to copy the dump to the other server automatically. I have been testing this and trying to get it to work but I can't manage it. This is what I have been trying.

rsync -zvr /(source) (Username)@(Address):/(destination) password:(password)

I SSH into our server and run the command and get the following error message

Unexpected remote arg: (Username)@(Address):/(destination)
rsync error: syntax or usage error (code 1) at main.c(1213) [sender=3.0.6]

As you may tell from above I am relatively new to linux so please be gentle with me regarding any terminology I have used incorrectly.

Thank you in advance.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post Jun 22 2012, 06:44 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Then how do you connect to the server with the mysql dump?
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 12th December 2017 - 08:41 PM