Questions tagged [rsync]

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination. Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.

Rsync website

1595 questions
0
votes
1 answer

Regarding complete backup and restore of Linux system

This is regarding following: Complete restore of linux system The selected answer has one line: use rsync the entire thing with something like: "rsync -axvPH --numeric-ids ..." Can I have the complete command? I want to implement 1 day full and 6…
0
votes
1 answer

rsync ubuntu to windows under cygwin - way to avoid 'invalid argument 22' error?

I'm doing a backup from a ubuntu server to a windows machine running cygwin. I'm using the following command: rsync -avx --timeout=30 --delete-excluded --exclude '.git' rsync@server.com:/var/www/site/ /cygdrive/c/temp/sitebackuprsync/ Is there a…
Hawkeye
  • 2,699
  • 9
  • 30
  • 35
0
votes
1 answer

Disable SSH on cwrsyncserver?

I installed cwrsyncserver, the rsyncd.conf makes no mention of ssh and I am not specifying to use ssh when I connect. Yet, the error I get is connection to port 22 refused. My rsyncd.conf is thus: use chroot = false strict modes = false hosts allow…
Jay White
  • 149
  • 1
  • 2
  • 10
0
votes
1 answer

Rsync over NFS with QoS: How to view real transfer speed?

We have a bandwidth limit between a Linux server and a NAS, created using 'tc' with an IP filter. When writing to an NFS mount of the NAS, rsync claims a very high transfer speed for each file and then waits a long time before acknowledging that…
Ian Mackinnon
  • 183
  • 2
  • 15
0
votes
1 answer

Trouble with cwRsync on Windows

I have just setup cwRsyncServer on my 2008 server, it is permitted by the firewall, and I have configured a module with write access. The rsync server is running and listening. I have cnfigured an ssh keypair, and placed the public key in…
0
votes
1 answer

Two-way rsync between two servers

I read about rsync but I want to ask how can I do the following by rsync: I have two files in to different machine (UNIX-AIX) and have the same name. server1 : ..../file.txt server2 : ..../file.txt I want to apply the following in two server to…
Mohammad AL-Rawabdeh
  • 1,612
  • 12
  • 33
  • 54
0
votes
1 answer

CentOS, Grsync/Rsync logging or alerting on failures

I have a CentOS 5.5 x64 server that mirrors a NetGear ReadyNAS Everynight at midnight using rsync. I need a way to be alerted if the backups fail. I have this in my users cron. It does run and works fine. 0 0 * * * /usr/bin/grsync-batch -f…
Justin S
  • 350
  • 3
  • 15
0
votes
4 answers

Rsync Connect to one server, Backup to another

I would like to run an rsync job which connects to one server and backs everything up to another. These backups should be incremental and we don't want to delete any files. Any ideas?
Tom
  • 766
  • 3
  • 9
  • 24
0
votes
2 answers

Rsync problem...filenames

I'm trying to back up users Chrome Sessions with Rsync with the following command: rsync -e "ssh -i new.key" -r --verbose -tz --stats --progress --delete \ '/cygdrive/c/Users/jay/AppData/Local/Google/Chrome/User Data/Default/Current Session'…
Jay White
  • 149
  • 1
  • 2
  • 10
0
votes
1 answer

HP-UX - custom rsync path

There are a range of HP-UX 11.11 hosts I'm unable to install rsync (I'm limited to a non-privileged user) I've extracted both rsync binary and libpopt.sl, libiconv.sl, libintl.sl from the depots into one of that user's…
Joao Figueiredo
  • 208
  • 2
  • 9
0
votes
1 answer

Need passwordless rsync -- remote server doesn't allow ssh keyfiles

Possible Duplicate: rsync with script supplied password I have a process that makes several rsync calls to the same server because I have to copy several files locally into different directories remotely. The remote server does not accept ssh…
Rich
  • 154
  • 1
  • 15
0
votes
1 answer

Using Amazon S3 for multiple remote data site uploads, securely

I've been playing about with Amazon S3 a little for the first time and like what I see for various reasons relating to my potential use case. We have multiple (online) remote server boxes harvesting sensor data that is regularly uploaded every hour…
Aitch
  • 1,179
  • 8
  • 14
0
votes
1 answer

New external backup drives - first time backup - cp or rsync

I've just bought a clutch of external drives to start a rotating backup of my photography work, and wonder if I should just do a straight copy the first time around, or if rsync would be the better option? I will then use rsync to update the backup…
HorusKol
  • 751
  • 5
  • 13
  • 31
0
votes
1 answer

How to use rsync to delete files but keep directories

I'm trying to use rsync to keep to folders in sync. Let's call them SRC and DST. When I delete a file in SRC and I run my rsync command, I want the corresponding file in to be deleted. When I delete a directory in SRC, I want all corresponding files…
Guillaume
  • 1,063
  • 5
  • 12
  • 24
0
votes
1 answer

rsync symlink help

I'm trying to setup rsync to work with symlinks. Client to Server: For example on my client machine I have a symlink, when I sync to server, it syncs the actual file, which is what I want. Server to Client: On the server, if I update the file and…
makstaks
  • 101