Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Linux (CentOS) And Rsync


rsync -ave ssh greendome:/home/ftp/pub/ /home/ftp/pub/

if greendome host has ssh port 55111 where put that in command?

i tried -p 55111 after ssh and greendome word and there was error

Please write me good command


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
What Is The Best Way To Get Backup From Linux Server To Windows Same As Rsync
What is the best way to get backup from linux server to windows same as rsync

i need to take offside backup from my linux server to windows server,before i used rsync to take backup,now i need to make backup in windows server with help of any software which work same as rsync or any software which must have good feature.

View Replies!   View Related
Rsync Some Files From Windows To A Linux Server
At work, we have a windows 2003 server.

We have a set of files that get modified from day to day.

Since they know I own a dedicated server (Linux) they ask me if it would be possible to have an offsite backup on my server of the set of files on the windows 2003 server.

Also, I dont want to have the whole files set to be uploaded everyday.

I am aware of rsync on *nix system, but do you have any suggestions on how to proceed with a windows 2003 server to a unix server?

View Replies!   View Related
Linux OS: CentOS Or FC
Which one do you recommend for Linux OS server easy to use & stable?

( CentOS 3.x or 4.x , Fedora Core 4 or 5 )

View Replies!   View Related
In Linux CentOS :: 32 Or 64 Bit?
In Linux centOS 5 which more properly used and why (32 or 64bit)?

It is a machine for hosting.

View Replies!   View Related
When To Upgrade RAM (Linux - CentOS)
With Windows, it's simple to know when you need to upgrade the memory on a server. On Linux, apparently alot of RAM is reserved for cache?

Anyways, I currently have 2GB of RAM in a server and am wondering when the RAM should be upgraded. The server has became quite unstable and server load is always below 2, usually around 0.60 - 1.20.

Here's the current memory usage from PHPSysInfo (picture below):
[url]

Would you recommend I upgrade the RAM to help with stability?

View Replies!   View Related
Add 2 Range Ip In Linux Centos
i have 2 range ip

range 1 is : 111.111.111-119

range2 is : 222.222.222-229

how may i add both range?

i can add for one range,but about 2 rage i can`t

View Replies!   View Related
How To Restart Apache Periodically On Linux Centos 5
Sometimes my apache gets hanged due to memory leak or persistence connection, then needs to be restarted manually, how can I make this process automatic, that is it get restarted whenever it got hanged or shutdown?

View Replies!   View Related
Mozilla Remote Using Xvfb On CentOS Linux
I have been trying to run mozilla and/or firefox commands on my centOS linux box for the last 2 days but I just cant figure it out. I nstalled XVFB which is a virtual X environment but when ever I issue a mozilla command such as mozilla -width 1024 it always outputs the same error: (mozilla-bin:32001): Gtk-WARNING **: cannot open display:

I dont know what the problem is or what im missing..what I need to install etc...can anyone shine some light on this?

View Replies!   View Related
Maximizing Linux (CentOS) For Maximum Concurrent Users
I am running lighttpd and eccelerator.

I have stripped the php-cgi.

I have tried forking anywhere from 50 to 300 to 1000 fastcgi children with PHP_FCGI_CHILDREN (through lighttpd, I'll attempt to do with same with spawn-fastcgi and fpm)

Server stats:

Intel Core i7 920
12GB DDR
250GB 7.2k RPM SATAII 16MB Cache

I am using to lighttpd's lighttpd-status to estimate concurrent connections.

When I refresh the panel, it shows that there are around 100-150 connections and around 150 requests/s in the last 5 seconds.

My vmstats show that CPU is 98% idle. Blocks written/read is neglible. MySql key_buffer set to 2gb and I'm pretty sure it's not mysql. The overwhelming majority of requests do not access mysql.

EDIT: Uh oh, I just realized that tcp_mem could be a huge bottle neck.

I just set it to:

net.ipv4.tcp_mem = 4096000 87380000 4194304000

It was previously:
net.ipv4.tcp_mem = somenumber somenumber 393,216 <<<--- WTF!

x1000 for my read values (it's an access server only). I can't benchmark the server right now so let me know if you have any suggestions besides this. I do think that this was the problem. When under load images could not be accessed either.

View Replies!   View Related
Where Does Linux/apache/centos Log Protection Faults
Anytime I've gotten these before, they were stored in:
/var/log/messages

Today (according to logwatch), I got a protection fault in "top".

But when I view /var/log/messages... nothing is there relating to a fault.

The only kernel message that appears is a martian source.

I also hadn't logged into ssh today, isn't "top" an ssh command.

View Replies!   View Related
Best File Sharing Method Between CENTOS/LINUX Servers
What is the best way to share files/folders between centos/linux servers?

View Replies!   View Related
Can I Have Mix Windows And Linux VPSs On The Same Server Running CentOS
if i can create 2 VPS with completely different OS such as CentOS5 and Windows 2003 Std.

The main server will be running CentOS with HyperVM.

View Replies!   View Related
How To Secure And Harden Centos Linux Server From Vulnerabilities & Threats ,attacks
How I can secure my server from vulnerabilities and threats and ddos attack? How can I find my server is compromised or hacked?

Which ports I should check, what commands I should fired on shell prompt? which softwares you will recommend.

View Replies!   View Related
Difference Between CentOs 5.0 And Centos 4.5? Both With Plesk
What is the difference between CentOs 5.0 and Centos 4.5? (Both contains Plesk)

Would CentOS 5 contain more updates and fixes? CentOS 4.5 be more stable?

View Replies!   View Related
RSync
I made some data backup on one of the backup servers using rsync. How can I restore it to the new server now?

My account is ready on new vps and all I need is pull the data back from backup server to new vps account.

I used this command previously

Quote:

rsync -avz -e ssh /home/user1 backupuser@backup.server.com:user1

View Replies!   View Related
Anything Better Then Rsync
Is there anything better then rsync to replicate files (twice a day) on servers located in seperate datacenters?

Looking for more of a free to cheap solution though will also be interested in the higher end solutions later on.

View Replies!   View Related
Why Do U Se Rsync?
I search over the forum as many members recommend rsync over the backup option builit in cPanel/WHM. May I know why cPanel/WHM's is not recommended?

View Replies!   View Related
Cpanel Or Rsync?
I am using BQbackup to auto backup my CPanel VPS and was wondering whether it is best to use CPanel's own backup service which automatically backs-up the vps daily or should I use the rsync script that bqbackup provides?

Which is easier to restore and more reliable?

View Replies!   View Related
RSYNC Tutorials?
Looking for an RSYNC tutorial, something that focuses on backing http data, exporting the databases then transferring offsite to a receiving rsync server once a week.

Something that's understandable and logical would be great, happy to work through over the next week and continue more in depth with it.

View Replies!   View Related
Rsync Instructions
I have been trying to setup rsync on my server and following these instructions

http://www.bqbackup.com/setup.html

The problem is I keep getting errors.

On this step,

ssh-keygen -t rsa -N

I edited it and did ssh-keygen -t rsa --N becauseI got an error saying it need the '--' before the N.

So after getting through that part, I got these questions asked

Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:

I left the passphrase empty, and then when it asked where to save to, I just typed in 'rsa'. Then it gave me some fingerprint.

Then I get to the step,

# scp ~/.ssh/id_rsa.pub yourusername@yourusername.bqbackup.com:keys/server1
# ssh yourusername@yourusername.bqbackup.com mergekeys

But I get errors saying

-bash: cat~/.ssh/id_rsa.pub: No such file or directory

I dont get what I'm doing wrong. If somebody doesnt mind, can you please re-write the steps on getting this working, or maybe tell me where I am going wrong if the tutorial is correct?

View Replies!   View Related
Update Rsync
Current, 2.6.3 came with my centos 4.4 cpanel server, I tried updating it to latest 2.6.9. However, when I type "rsync" it's pointing to 2.6.3 How can I remove the old version or reinstall over it?

View Replies!   View Related
Rsync And Cron
I have a bit of a strange problem, I have an rsync command setup in the servers crontab and from the cron log it show it ran the command but the files don't copy to the backup server. If I take the rsync syntax and run it manually all the files copy across with no errors, but I can't figure out why the cronjob doesn't work properly.

View Replies!   View Related
Rsync And Passphrase
I'm trying to configure rsync to backup my vps data to an rsync backup provider.

The problem that I am having is that each time I try to run rsync it prompts for the passphrase.

I did some reading and it seems (and maybe this is not correct), that in order to do unattended rsync (e.g. using cron), that you need to use a key that doesn't have a passphrase generated.

If this is the case, is it true that it's not a good idea to use a key that doesn't have a passphrase?

View Replies!   View Related
RSync-over-SSH
i have two srevers one is Dedicated Server and the secound is for backup .

well , i login to the backup server and creat ftp account .

i wanna make the server save the weekly backup .

the backup path is /backup

the copmany of the backup server said "
To RSync your data to your backup server, type:
"rsync -av --progress -e ssh @"
this will put all the files in your home
directory..."

i dont know how to use this command on the Dedicated Server .

View Replies!   View Related
Setting Up Rsync
I got one of those cheap $10 servers from hostmds to use to backup my vps.

Know I just need to know how do I setup rsync to backup my vps nightly? Any links to good guides to do this would be great. I looked on google, but am hoping someobody knows a guide that is simple to follow.

View Replies!   View Related
Rsync Setup
I am in the process of setting up a cronjob so I can run rsync automatically every day.
But I want to know is it ok to exclude the following folders?

/home/.cpcpan/
/home/cpeasyapache/
/home/src/ <!--- This folder I made to put files in before I install
/home/MySQL-install/
/home/.cpan/

As from what I understand cPanel/WHM makes these folders, and there no user data in these folders

View Replies!   View Related
Rsync Copy
I have wrote a small script which copies file names which has name as *default* from backup to users main folder. It works fine with one folder but doesn't copy files from sub-folders.

it works with all the sub-folders as well?

HTML Code:
#!/bin/bash

for i in $(ls /var/cpanel/users)

do
rsync -vrplogDtH /backup/cpbackup/weekly/$i/homedir/public_html/*default* /home/$i/public_html

chown -R $i.$i /home/$i/public_html/*default*

done

View Replies!   View Related
Rsync Between Two Different Server
i have two differnt server at two differnt datacenters,with same contant,runing under subdomain eg main domain is domain.com and subdomain is sub.domain.com both are same site,i used this to reduce server load and share request,but the problem iam haveing when update any stuff i need to update on both server it bit diffcult any way to update contant via rsync between the two servers?

View Replies!   View Related
Incremental Rsync
I have two folders:

/misc
/misc-backup

how do I go about making /misc-backup a mirror of /misc correctly?

View Replies!   View Related
How To Backup To Your PC Using Rsync
I use bqbackup.com in addition to ServInt's backup. The ServInt backup is inaccessible to me and can be restored only by their NoC.

Is there a way for me to download the backup files from bqbackup.com to my PC? I am using Win XP Pro. I backup the entire VPS, but I want to be downloading only the changes made each day after the initial download to my PC.

View Replies!   View Related
Rsync Notification
I'm running rsync in cron jobs. is there a way to be notified via email when the job is done plus the log? I'd really like to know how long it's taking to complete and whether it's running properly or not.

View Replies!   View Related
Rsync Recovery
I am trying to recover some backups on the server by rsync the home dir from BQbackup to my server. I deleted 1 file to see whether it actually works. I executing this command on the server:

rsync -avz -e ssh username@username.bqbackup.com:path.to.home.dir /home

I saw that it downloaded the file I deleted, however after checking on FTP if the file was recovered it actually wasn't. Is there something wrong in the command I used as it seems that it is not recovering any files.

View Replies!   View Related
Rsync Error
I type rsync and after the man page, it says

Code:
rsync error: syntax or usage error (code 1) at main.c(1073)

View Replies!   View Related
Rsync / Backup
I am setting up a mirror server to kick on in the event my main server fails and I need some help with syncing the two.

It is my understanding I can use rsync to mirror the two. But, will that cover everything (ie. database, mail, etc) or only files?

View Replies!   View Related
Setting Up Rsync
im trying to setup rsync to mirror my FreeBSD box to my CentOS box.

I have rsync moving everything in /etc/, /usr/, /home/. The rsync daemon is hard to get running on CentOS (need to make startup scripts and all) so I was wondering if I can just make a user on the centOS box for rsync:rsync and transfer it as root fromt he freeBSD box to the centOS box using ssh keys. Can I do this?

Someone said this won't be possible because rsync:rsync will not be able to read the files owned by root:wheel. Is this true?

View Replies!   View Related
Using Rsync And Ftp
Does rsync required to be installed on both servers for it to work? Can rsync work with ftp only on the remote server?

Can you guys list some typical rsync shell command to help me get started...

View Replies!   View Related
Rsync Backup
I am using rsync to database and i found out it corrupted my database. I should have used mysql dump before backing up the data..The problem with taking mysql dump each is that it takes a long time and resources as database is around 10 GB

if i want to take backups every 4 hour, whats the best way as mysql dump causes server load problem

View Replies!   View Related
Rsync Setup :: Password
I am wanting to setup rsync to always login, so I don't want to use keys. Is it possible to put the password in the rsync command leave.

If so how do I do this?

Or do I have to use: --password-file=/path/to/password/file

View Replies!   View Related
Rsync - High Load
I am using rsync to transfer files (tar.gz) between servers. However, it makes server load increasing 3-4. Normally, server load can be around 1, but when doing the transfer, it can go up to 5+

Is there anyway to reduce the load when doing rsync?

View Replies!   View Related
So I Do An RSync Backup - How Do I Restore It?
Backing up a server is obviously very important. Lets say I do a daily rSync backup and eventually my server HDD crashes, I know it isn't just a 'one click' job to restore my backup but what is it necessary to do in order to carry out a complete and effective restore back to how it was?

A step-by-step 'tutorial' on restoring an rSync backup would be helpful not just to me but to many 'would-be' server administrators.

View Replies!   View Related
Transferring From 1 Server To Another Using Rsync
I have about 800GB of data to transfer, both servers are using DirectAdmin.
If I am able to transfer at 10mbit, how long would that take for 800GB?

I suppose I need to install rsync on both servers.

How do I preserve directory structure, owner, permissions?

What is the exact command to type?

View Replies!   View Related
Rsync With Password File
I have created a password file in /root/passw.txt

then run command

rsync -ave 'ssh -p 1234' --password-file=/root/passw.txt admin@10.0.0.10:/home/admin/backups/* /backups

But it still asks for the password. How can I fix it?

View Replies!   View Related
Rsync Palace - Opinions?
Does anyone here use rsync palace? Their prices look good, but there is not a lot of company information, which I may need before recommending this service.

View Replies!   View Related
Second Time To Run Rsync?
one day later, if I run the following command again, the command is same as the one run by the first time.

rsync -avz username@IP:/home/asite/public_html/ /home/asite/public_html/

does it mean rsync will just check and copy the newer folders and files from the last copy?

View Replies!   View Related
Saving Space With Rsync
Just wondering if you guys had any resolutions to this. We are looking to save space on our rsync backups.

I know you can use the --compress, or -z and it compresses data on the fly to save bandwidth but is there anyway to keep the data compressed so it takes up less space once it is on the server and still make it so it only copies over the file changes?

If not, anyone have any suggestions on how to save space with rsync backups?

View Replies!   View Related
Rsync Mysql Database
how can i setup rsync to backup just mysql database (if possible) every 6 hours or so.

View Replies!   View Related
Rsync Via Private Network
rsync via private network

i need to take backup of specific account via private network

dc given the private network for me

69.xx.xx.01=10.xx.xx.01
69.xx.xx.xx.02=10.xx.xx.02

now i need to configure rsync via private network

both haveing root acess

but i like to give ftp for the client,who need to acess there file via ftp

please sugges the command for this work also cron for setup

View Replies!   View Related
Rsync Backups And Security
Rsync seems to be popular as a backup solution, so I thought I give it a look myself. However, after looking for a while I think it is lacking in either (1) usability or (2) security for backups.

Lets use a backup of /home for example:

(1) To make the transfer secure I'd use rsync over ssh. Backup works great - untill you have to restore. Restore works only partially, because all the files now have the user/group id of the user on the backup server (even if the restore is run as root). You'd have to chown all the individual users dirs, permission files....error prone and a lot of manual work --> not good.

(2) Running rsync in daemon mode on the remote server preserves uid/gid and permissions. Restoring works like a charm when run as root. But, hey, now every 13 year old with some knowledge and a packet sniffer can write down your data unencrypted. They just need to look for -lets say- db-info in php files etc and suddenly have access to your customer base or whatever you store.... Even worse if you transfer db dumps or other sensitive data. So it is not safe to use --> not good.

Is there a way to secure the transfer or keep uid/gid info intact?
And how do all the backup providers handle the issue? (This one here claims rsync is secure.)
Or is there another way to fix the problem - restoring uid/gid and secure transfer for backups.

View Replies!   View Related
Backing Up Using Rsync: Slow?
I want to back up my entire server, probably 50gb of data.

i have a 20mbit connection at home, and get 1.5+mbytes/second when pushing a file onto my home pc from the server via ftp, so i know the pipe between the two can handle the bandwidth.

i've set up rsync at home but for some reason the transfer rate does not go over 50-60kbytes/sec, i'm guessing cause the files are too small.

is this a problem with my rsync configuration? i havne't set any speed limits...

finally, is there some better solution than rsync to backup my server?

command i'm using for rsync:
rsync --links --backup --recursive /mydirectory myserver::backuplocation.

View Replies!   View Related
Load Balance Rsync
i want to build three servers A,B,C,

and put websites on them.

i hope B and C can rsync the data from A,

when server A is unreachable,

all the connection will be pushed to server B,

if A and B are all unreachable,

all the connection will be pushed to server C.

when A or B be back,

i hope they could rsync with server C to get the same data,

and then all the connection will be pushed to server A,

View Replies!   View Related
Rsync Possible Via Jailed Shell
rsync possible via jailed shell

iam thinking to give backup opition for client via rsync

rsync it possible via jailed shell acess?

View Replies!   View Related
Basic Rsync Backup
Does anyone have a good link that explains the basics of setting up rsync for going from one host to another host?

View Replies!   View Related
Rsync Running For 3 Hours?
I attached new backup harddrive with system and enable increment backup so that it can generate server backup on backup harddrive which was new,

I notice it takes 20 hours upto now and still working becoz i seen some command like rsync running on top and using alot of resources of server but when i checked backup harddrive then it almost copy all data into it but what about this rsync which running on system from 3 hours and still going .?

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28045 root 35 19 42788 38m 168 S 63.8 1.0 42:59.51 rsync
28023 root 34 19 42680 39m 552 R 26.6 1.0 23:47.98 rsync
28024 root 34 19 42528 38m 312 S 19.9 1.0 10:25.91 rsync
944 nobody 15 0 167m 142m 10m S 5.0 3.5 0:09.26 httpd
1579 nobody 15 0 167m 143m 11m S 5.0 3.5 0:09.34 httpd
2471 nobody 15 0 167m 138m 7032 S 4.0 3.4 0:01.12 httpd
1528 nobody 16 0 167m 139m 7436 S 1.7 3.4 0:10.20 httpd
76 root 15 0 0 0 0 S 1.3 0.0 14:14.62 kswapd0
2194 nobody 15 0 167m 138m 7188 S 1.3 3.4 0:03.47 httpd
2386 nobody 15 0 167m 139m 7608 S 1.3 3.4 0:03.02 httpd
2452 nobody 15 0 167m 138m 7184 S 1.3 3.4 0:02.01 httpd
3054 mysql 16 0 747m 294m 2892 S 1.0 7.3 431:01.86 mysqld
18358 root 15 0 0 0 0 S 1.0 0.0 0:27.59 pdflush
665 nobody 15 0 167m 139m 7656 S 1.0 3.4 0:18.77 httpd
1917 nobody 15 0 167m 139m 7816 S 1.0 3.4 0:08.64 httpd

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved