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

learn more… | top users | synonyms

3
votes
1answer
346 views

Rackspace cloud sites to local server backup

I use rackspace cloud sites and don't have accsess to SSH or RSYNC on their servers, but I do access to SSHFS. I would like to be able to backup my cloud site to my local Ubuntu server, which has ...
2
votes
1answer
45 views

rsync from remote ssh server with forwarded keys

Context I am writing a synchronisation script to sync some web environments. Ex: Update integration from production (mostly to fetch new database rows and uploaded files) Some of my prerequisites ...
2
votes
1answer
49 views

rsync stop before filesystem full

I would like to implement a rsync that should stop if the destination filesystem free space goes down to less than 10G and I wonder what is the best way to do so? I'm running on Linux RedHat 5.2 A ...
2
votes
1answer
498 views

easy way to restore incremental rsync backup?

I have incremental rsync backups of a folder, created with: rsync --delete -a -v --backup --backup-dir="../backup_`date +%Y-%m-%d`" /orig /backups/dest so I have a copy of current /orig on ...
1
vote
1answer
103 views

backup files to a remote server with multiple versions using rsync hardlink option

To use rsync hard link option to backup files remotely so that remote backup server could keep multiple versions of the backups, both the link-dest directory and the target directory have to be on the ...
1
vote
1answer
119 views

How can I use a remote admin tool (puppet or chef) combined with a sync tool (e.g. rsync) to send log files from several servers to a central server?

Summary How can I use a remote admin tool (puppet or chef) combined with a sync tool (e.g. rsync) and scheduler (cron) to send log files from several servers to a central server? Context Our ...
1
vote
1answer
196 views

How to rsync to a server using ssh keys

I'm running on a Mac, and I want to set up a crontab to rsync from my VPS on a weekly basis to grab some backup archives. I'm using ssh keys (no passwords allowed on the VPS), and normally I can ssh ...
1
vote
1answer
407 views

How do I write an rsync exclude for a directory tree with names containing spaces?

I'm trying to exclude a directory tree as part of an rsync command embedded in a bash script approximately like this: $OPTIONS="-rl --exclude 'Some Parent Directory/Another Directory'" rsync ...
1
vote
1answer
123 views

How to I get rsync to exlcude a file pattern within an flock?

I have an rsync command that I run hourly via cron, and to prevent it from having multiple simultaneous rsyncs (should the previous hour's rsync still be running when the next hour comes around) I've ...
1
vote
1answer
335 views

Rsync to windows FTP over curlftpfs fails to set permissions

I'm transferring some large files (1.5Gb) to a windows FTP server in a cronjob. It's going over a 2Mbit ADSL line, with 512Kbit upstream. So it takes forever, and can be prone to dropping to line. I ...
1
vote
1answer
234 views

Strategies for making bacula file volumes compatible with rsync?

How would we setup bacula so that it creates file volumes in a manner where the volume names (labels) are predictable and things work well with rsync so that we're not sending massive amounts of data ...
1
vote
1answer
59 views

rsync & rdiff backup combination giving erros

On the server I'm making every day a backup with rdiff-backup like: rdiff-backup /home/ /backup/home Then every week I want to make a rsync backup offside with sshfs like: rsync -avz ...
2
votes
0answers
37 views

List subfolders somewhere in the path with rsync

I'm developing a program, that will recursively "walk" through Linux repositories, look for PXE-related files and create gPXE configs. I met across a problem with the structure of Ubuntu catalogs on ...
2
votes
0answers
96 views

rsync won't delete file that was deleted on source

I'm using rsnapshot to back up some servers of mine. It works fine, except it won't delete files that have been deleted on the source server. Here is where I give rsnapshot the options to pass along ...
2
votes
0answers
225 views

Syncrify and empty folders

Perhaps I'm missing something in the configuration, but can anyone tell me how to force Syncrify backup empty folders? It seems if they're empty they don't get created in the backup.
1
vote
0answers
40 views

rsync chgrp Failing on NFS

I am trying to set up NFS on two servers to share files. The owner of the files in question have the same UID and GID on NFS Server and each NFS client. The NFS Server is running on Ubuntu 14.04 and ...
1
vote
0answers
51 views

How to mirror an NTFS directory structure in Rsync

Being a Linux tool I'm not sure if this is supported but is it possible to mirror an NTFS file system in it's entirety, including all symlinks? The symlinks must be copied and point to their new ...
1
vote
0answers
410 views

Synology NAS - rsync messing up versioning / deduplication

Is it true that Synology DSM 4.3's default rsync implementation is not able to handle "vast" amounts of data and could mess up versioning / deduplication? Could it be that any of the variables (see ...
1
vote
0answers
50 views

Weird permissions getting set on directories after rsync

I've got a drive on a Mac (OSX 10.7.5) that I'm sharing on the LAN. In the system preferences, the share is set so System Administrator has Read & Write access, System Group has Read Only, and ...
1
vote
0answers
112 views

How do I make rsync also check ctime?

rsync detects files modification by comparing size and mtime. However, if for any reason, the mtime is unchanged, rsync won't detect the change, although it's possible to spot it by looking at the ...
1
vote
0answers
86 views

Trying to script rsync using pam_exec

I'm trying to write a bash script that will execute rsync when called by pam_exec. I've tried a couple different ways, and I'm not sure what I'm doing wrong. When I try to run the script at login by ...
1
vote
0answers
99 views

MySQL binlog rsync from tmpfs to HDD causes write slowdown on ramdisk

I have a mysql database server and am testing writing my binlogs to ramdisk to speed some things up. A curious thing happens.. fairly often, I get major job slowdown at the same time the rsync is ...
1
vote
0answers
66 views

Cross machine full backup solutions

I have a fully configured VPS where every service relevant to my customers and to me is provided in abstraction from the underlay hardware; that is: the softwares for webserver, PHP, forums, and every ...
1
vote
0answers
223 views

rsync server, uploaded files permissions incorrect

I'm trying to setup an rsync server on my Ubuntu machine. Transfer from a local PC to the server via rsync does work, but the resultant uploaded files have no r,w or x bits set, e.g. ---------- 1 ...
1
vote
0answers
1k views

DeltaCopy (Rsync for windows) giving an error on task run

I was suggested DeltaCopy to set up a nightly backup between two Windows 2008 R2 servers. After setting up the server side (Amazon EC2 instance where files will be backed to) and setting up the ...
1
vote
0answers
151 views

rsync: safely recovering a previous failed rsync when using --remove-source-files --ignore-existing

I have this daily archiving job rsync -a --ignore-existing --remove-source-files src dst The intent is to copy files to an archive and remove them from the source when done. I have one very ...
1
vote
0answers
558 views

rsyncd.conf exclude from configuration not working

I'm trying to use a text file to contain the excluded files for the rsyncd daemon. I followed the rsyncd.con manual and put: exclude from = /etc/rsync-exclude.txt But it seems not working. What ...
0
votes
0answers
942 views

rsync: getcwd(): No such file or directory (2)

I want to sync Server1 and Server2's logs to LogServer. For Server1: rsync -avz -e 'ssh -p 2188' user@server1:/usr/local/servers/logs/* /usr/local/logs/ This one works, but for Server2: rsync ...
0
votes
0answers
45 views

My crontab entry has been successfully running with rsync command, but sometimes it fails

my crontab entry has been successfully running with rsync commend, but some time it wrirte the error like "ssh_exchange_identification: Connection closed by remote host rsync: connection unexpectedly ...
0
votes
0answers
65 views

Rsync to copy only files by date or changed files?

I'm using a freenas server for the office project files accessed by multiple users. I have an offsite backup for security purposes. Now I don't want to bring a 32 TB raid array to the office to sync ...
0
votes
0answers
37 views

Ubuntu backup script kills performance

I run a nightly backup, which takes about 1 hour. During that the performance is bad as hell. It looks pretty much like this: # DB dump ionice -c 3 nice -n 20 mysqldump --skip-lock-tables --user=foo ...
0
votes
0answers
148 views

Backup archive format for delta syncing to Dropbox?

On an Amazon EC2 server with Linux AMI, I currently have a daily backup cron job be run: TMP_BACKUP_FILE="/tmp/backup.tar" BACKUP_FILE="/home/ec2-user/Dropbox/Backup/backup.tar" rm -f ...
0
votes
0answers
34 views

rsync redownloads everything

I am having trouble understanding rsync. I need to make a backup over LAN of >1TB of files. Hoping that it's faster I decided to use the rsync deamon as a first step and then get all the missing ...
0
votes
0answers
217 views

rsync on QNAP NAS fails recently

I have been using rsync to copy a large backup file from a remote host to my QNAP NAS. It's been working fine until recently. It seems like almost every time when it executes it's giving a time out ...
0
votes
0answers
74 views

How to config rsync on ubuntu so I can deploy my octopress site to the server

I am getting "Permission denied, please try again." when I am deploying to the server. I have created the rsyncd.pass and enter user:password in it. and chmod 755 /home/rsync. I can't find any ...
0
votes
0answers
21 views

Website is asking for authentication to access uploaded files?

I'm uploading files via Syncrify (Rsyn for Windows), then using a symbolic link to put the files into a folder that is within the folder for the website in IIS. I've given permissions to the folder ...
0
votes
0answers
19 views

Rsync backuping and auditd binary logs

We have a process of backuping all paritions of servers to a secondary drive in case of a need to restore system to a know-good state. This is done through canns to rsync mirorring partitions with ...
0
votes
0answers
69 views

rsyncd post-xfer exec command as daemon

I would like to use rsyncd server to launch a daemon as post-xfer exec command after the synchronization: The problem is that even if the daemon is correctly launched, rsync is still hanging, and ...
0
votes
0answers
118 views

s3fs rsync ftruncate failed on Input/output error

I'm running CentOS 6.4 and we're running s3fs version 1.73 and fuse 2.9.3. When trying to run an rsync between a local directory and the s3fs mounted directory I get an input/output error and ...
0
votes
0answers
755 views

rsync unexplained error & received SIGINT, SIGTERM, or SIGHUP

I created a batch script to back-up our server: #!/bin/bash user=$1 # create user dir ssh root@local.backup.tst -p 5774 mkdir -p /var/backup/server.tst/incremental/$user # backup mail dir rsync ...
0
votes
0answers
164 views

rsync with wildcard - no such file or directory

I am using below command to sync all suexec.log files including compressed one from one server to another. However, it gives me error message below. rsync -avz --delete "/path/to/suexec.log*" ...
0
votes
0answers
144 views

backup-rsnapshot / rsync filling backup dir up to double the size of the original drive

I am using backup-rsnapshot to backup a debian system creating incremental backups with rsync. Basically, what is happening is that the backup drive gets filled up until it is completely full and the ...
0
votes
0answers
118 views

Performing an rsync before initial rdiff-backup

I want to set up standard rdiff-backup to remote server. However the data is very big for the capacity of internet connection, so I have transferred them on physical media. Than I synchronized the ...
0
votes
0answers
46 views

Backup laptops mac address in local network

I am looking for a good method to automatically clone directories from laptops that is currently connected to the local network to a server on the same local network at a regular interval in a small ...
0
votes
0answers
208 views

Automating rsync job with cron

I'm having troubles getting an rsync script to work on cron. I know this is a question that's been asked aplenty, but I've read all the answers I can find, and followed all of the instructions, but ...
0
votes
0answers
2k views

rsync requires rsync-path when remote rsync is in path

I am quite confused as to why rsync requires --rsync-path flag even when remote rsync is in path. Consider: $ rsync -avze 'ssh -p 22' --delete public/ pmatos@domain.com:~/public_html bash: ...
0
votes
0answers
248 views

Taking a server snapshot for a Linux backup server

Is there a way to take a 'snapshot' of sorts and have my backup server mirror my live server, as a sort of testing environment? I know I've seen a lot of answers saying to use rsync. I'm not sure if ...
0
votes
0answers
329 views

Rsync receives incremental file list, but doesn't transfer

I am trying to use Rsync to transfer files between two servers. Rsync builds the incremental file list, but doesn't transfer anything. I am using Ubuntu Server on both machines. I am using the ...
0
votes
0answers
695 views

Rsync and lsyncd error

I am on Amazon EC2 and trying to sync two directories(/var/www/html) on my instance together with lsyncd but I am receiving this error in the log: rsync: connection unexpectedly closed (0 bytes ...
0
votes
0answers
886 views

rsync permission denied

I've inherited two red hat 5 systems which are to be synchronized via an rsync script which runs as a cronjob. This is not happening and I've been tasked with finding out why. The cronjob(currently ...