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
3 answers

Which method is better for use rsync with? SSH or rsync server?

I'm new with rsync. I'm planing to use it to sync files bettween 3 servers. 2 of them are on Centos and one on Windows. The question is what is the best way to use rsync? With SSH or with rsync server?
Danilo
  • 121
  • 1
  • 3
0
votes
2 answers

rsync not syncing certain directories

I am running the following rsync command nightly: rsync -varhR --delete --stats --files-from=files_to_include / /media/drive/snapshots/nightly.0 Here is the files_to_include file home/ etc/ var/www/ If I take a look in /var/www/html/ I have…
Jake Wilson
  • 8,814
  • 29
  • 97
  • 125
0
votes
2 answers

rdiff-backup error: Host key verification failed

What is this error? This rdiff-backup command is run in a shell script. How to resolve this issue? ssh -l root 161.3.46.12 rdiff-backup root@161.3.46.12::/root/files/1/ /root/cloodon_sync spawn ssh -l root 161.3.46.12 rdiff-backup…
Hulk
  • 391
  • 1
  • 6
  • 17
0
votes
3 answers

can rsync run gunzip on files after transferring them

I need to transfer a lot of compressed (db archive) files reliably then uncompress them on the other side. Once they are uncompressed they will be promptly ingested by the DB and then deleted. I'm currently rsyncing the whole batch over then…
Arthur Ulfeldt
  • 3,249
  • 9
  • 33
  • 40
0
votes
2 answers

Rsync, copy through symlink

I am using rsync to backup my server to an offsite server. Due to diskspace on my backup server, I have created a couple of symlinks to put some of the data on a different drive. However, instead of copying through to that symlink location, rsync is…
David
  • 841
  • 3
  • 14
  • 31
0
votes
1 answer

rsync not syncing properly?

So I have 2 machines, one running MS Windows SBS 2003 and the other ubuntu 10.04 server. I have a backup system in place already on the windows machine for a data folder. (D:\test ) I recently had to move that folder to the linux server (…
user59279
0
votes
3 answers

MS SQL Server 2005 Backup over a slow (and with a quota) internet link

I'm using rsync to mirror my samba servers to a offsite linux box via an vDSL Internet link. No worries here. Our daily changes in these files are to small to trigger the daily quota of the link. Now I'm trying to do the same with MSSQL Backups... i…
Daniel
  • 3
  • 1
0
votes
1 answer

Backups with rsync and gpg

I've found plenty of posts online about this but none that actually answer my question. I'm trying to back up my system in such a way that the files end up encrypted on my backup drive. Here's a naive chain of pseudo-commands that obviously wouldn't…
Jason Swett
  • 1,468
  • 5
  • 23
  • 37
0
votes
2 answers

How should I backup this large volume?

I have a 10TB XFS filesystem on a SLES 10.2 server. I am currently running rsync on it once per day, to sync it with a disk-based online backup on another server. The primary volume is quite busy as it is, and so rsync is only running at 2MB/sec…
lukecyca
  • 2,205
  • 13
  • 20
0
votes
2 answers

rsync to create directory based on date

I am using rsync and crontab to schedule a nightly backup. However, want to do a full-backup and not incremental. I am using the following rsync in my script file. rsync -razv dev@xx.xx.xx.xx:repos /home/backup_sys_user/repos_backup And I want to…
ant2009
  • 149
  • 2
  • 3
  • 10
0
votes
1 answer

rsync to create a backup directory everyday

CentOS 5.3 subverion 1.4.2 I am using rsync to backup a repository every day at midnight. We have about 30 repositories some small and some large. I am using crontab to schedule the job that will run the script file. The script will have to…
ant2009
  • 149
  • 2
  • 3
  • 10
0
votes
1 answer

Suspicious rsync output

I backup our servers using rsync like this rsync -av --delete /mnt/backup backupserverIPadress::backupfolder > /mnt/logs/textfile.txt It was working fine until 10 days ago. When I check on the output in textfile.txt I found building file list ...…
Libyano
  • 141
  • 2
  • 2
  • 8
0
votes
1 answer

Drobo Pro or SAN for backups

I have multiple offices and was thinking of using two Drobo Pros as a storage location for my backups, with one at each site being synced. It seems like on the surface its a cheap alternative to a SAN. Because it will just be used for storing…
PHLiGHT
  • 1,041
  • 11
  • 25
0
votes
1 answer

How to use rsync's --ignore-non-existing flag?

I want to keep two directories "in sync" such that the local version may contain only a subset of the remote version. So, syncing them up should result in any changes to the local subset being pushed to the remote directory, and any changes to the…
Chris W.
  • 133
  • 1
  • 4
0
votes
2 answers

SMB extremely slow when rsync from NAS?

Possible Duplicate: Speeding up rsync over smb I started to rsync a mount smb share to a local raid partition yesterday evening. After 12 hours it has copied like 30% of 400 GB... the average speed is 4mb/s, but I connected the both machines…
trnc
  • 688
  • 1
  • 12
  • 31