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
McKettle
post Jun 26 2012, 07:58 AM
Post #2


Whats this Lie-nix Thing?
*

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



I have just found out that I have given you the wrong info.

It is just one file that needs to be copied not the whole folder.

We can access the servers via both SSH and FTP.

There is a script in place on the server already that runs the dump, I just need to either add another script to move that dump to another server.
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: 22nd October 2017 - 12:34 PM