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
431 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
47 views

rsnapshot Freezes when Backing up to NFS Mount

I've got a Server running Ubuntu Server 14.04 server that has been doing periodic back-ups to an NFS mounted NAS using rsnapshot for several months now without issue. Last week we added a few more ...
2
votes
0answers
74 views

Solution for file data backup, versioning and replication

We have a growing set of data files (.wav files, image files etc) which are data, i.e not part of the application code - uploaded and modified by users. The number of files is in the 1000s and the ...
2
votes
0answers
306 views

GlusterFS snapshot backup solution

We're looking for a fast way to take point in time snapshots of our gluster bricks. It is not crucial that it is a perfect point in time snapshot (i.e if files change/get added/removed during the ...
2
votes
0answers
691 views

rsync termiates after a while unexpectedly

I run a rsync command with nohup in ssh session, but after a while it returns this error: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [generator=3.0.9] rsync error: ...
2
votes
0answers
47 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
158 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 ...
2
votes
0answers
121 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
5k 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: ...
2
votes
0answers
253 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
53 views

What is a fast, efficient method for threading rsync

I have a single root directory (on a NAS) that I need to backup to another server. The hierarchy of the directory is several layers deep and a majority of the data is composed of extremely large ...
1
vote
0answers
41 views

Ubuntu 14.04 - rsync corrupting SSH configs/keys?

I have two Ubuntu 14.04 servers S1 (user root) and S2 (user dataman). S1 is responsible for handling file uploads and transferring backups to S2. On S1 I am using PubKey authentication to S2 for ...
1
vote
0answers
40 views

Two allowed paths in rsync command in authorized_keys

I have a question about rsync restriction in authorized_keys command. I need to copy files via rsync from one server to another without prompting password. There is no problem, but I need to specify ...
1
vote
0answers
509 views

vagrant ssh - asks for password after adding synced_folder

I can vagrant ssh into my box fine Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Apr 13 13:05:26 2015 from 10.0.2.2 ...
1
vote
0answers
69 views

rsync daemon without rsyncd.conf

Will rsyncd run without its config file (rsyncd.conf) ? What is its behavior if run this way? Backstory: So, I'm using rsync to backup user directories from (call it) server A, and it's working ...
1
vote
0answers
65 views

Rsync does not delete destination files [rsync protocol / module]

An automatic backup script executes the following rsync command to sync a local directory tree with a remote one: env RSYNC_PASSWORD=$rsync_password rsync -aqrxz --delete --timeout=30 \ ...
1
vote
0answers
435 views

Unable to use rsnapshot to sync non-owned files but able to do it with plain rsync command

I am trying to use rsnapshot to sync remote file to my own computer. However, I have some trouble when I need to access files which are not owned by user who is SSH-ing to the remote machine. My ...
1
vote
0answers
309 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
89 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
568 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 ...
1
vote
0answers
84 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
257 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
117 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
70 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
255 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
2k 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
854 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
10 views

Solaris run rsync after logadm

I'm trying to get this logadm configuration running. '/dir1/*/*/alert*.log' -C 8 -c -s 10m -t '$file_%Y-%m-%d' -z 0 -a '/usr/bin/rsync -qp /dir1/*/*/alert*.gz ...
0
votes
0answers
12 views

RSYNC backup executed for abnormally long time

I wanted to backup a user folder from my remote server, to my local server backup directory. I've created a backup script, and set in to run at 3am in my local server's crontab. Here is the script: ...
0
votes
0answers
8 views

Can rsync be made to write to the target of a symlink on the destination?

If I'm rsyncing a directory, like this on the source: foo/ (real dir) bar (real file) and on the destination, bar is actually a symlink to <some other file>, like: foo/ (real dir) bar ...
0
votes
0answers
13 views

prevent rsyslog to duplicate logs

my rsyslog writes on secure and on messages i have this *.info;mail.none;authpriv.none;cron.none /var/log/messages authpriv.* ...
0
votes
0answers
9 views

How can I let rsync display both total and partial progress?

I've found that rsync's total progress is (somewhat) shown with --info=progress2, while partial progress (i.e. the current file) is shown with --info=progress (or -P). Is there a way to show both? ...
0
votes
0answers
24 views

Limit Rsync bandwidth usage within Galera Replication

I would like to know, how can I limit the bandwidth usage of rsync within my MariaDB Galera Replication to avoid network choking. P.S. I can't find the rsyncd.conf in my Ubuntu 14.04. Is there any ...
0
votes
0answers
28 views

rsync: --compare-dest on remote folder

I have: DirA (local folder) (/data/*) DirB (local diff folder) (/tmp/diff) DirC (remote folder) user@XX.XX.XX.XX:/data/ DirA is always the most up to date. I rsync from DirA to DirC, but now ...
0
votes
0answers
14 views

rsync copy > server unreacheable

I'm using rsync to copy around 500GB of data (Nexus repositories). The idea is to run it every hour to backup the "delta" and in case of issues we can easily switch the disks. Now, for two days in a ...
0
votes
0answers
16 views

Permissions for copying files between datacenter machines?

I frequently run experiments in EC2 where e.g. I will check out a VM similar to our database and will want to load the production dataset into it for experimentation. I have to copy the dataset onto ...
0
votes
0answers
32 views

Pulling Read restricted files from a remote system with rsync and sudo

A remote system generates statistics files every 5 minutes and places them in a certain directory. At any given time there are 1000+ files in that directory. Every 5 minutes I want to copy the ...
0
votes
0answers
83 views

Error with cwRsync on Windows 8

I've installed cwRsync on my Windows 8 machine and tried to rsync files to remote server with the following command: rsync rev/ user@ip:~/.tmp --rsh ssh --recursive --delete --delete-excluded ...
0
votes
0answers
33 views

Backup SugarCRM using RSync to copy the backup to new server and keep file permissions and owners in tact when restoring from the backups

Backup SugarCRM using RSync to copy the backup to new server and keep file permissions and owners in tact so a restore will have the correct file permissions and owners when a restore back to the ...
0
votes
0answers
121 views

rsnapshot: cp: preserving permissions – operation not supported

I am trying to use rsnapshot for backuping my server on mounted nfs filesystem, but it keeps failing on: /bin/cp: preserving permissions for `...': Operation not supported Backup configuration is ...
0
votes
0answers
11 views

rsync: local to local comparing to remote

I have the following setup: /data/MyData/*= my local source /media/USB_HDD_1/data/MyData = my local destination (external hard drive) xx.xx.xx.xx:/data/MyDat = remote server (remote and local source ...
0
votes
0answers
225 views

rsync hanging on local copy

I've inherited a system for moving ("promoting") content from one django instance (staging) to another (production). I'm testing a bit of new functionality in another part of the app, and want to make ...
0
votes
0answers
2k views

What is the best way to backup and restore a CentOS 7 server, using rsnapshot?

I recently made a backup of a CentOS 7 server using rsnapshot - version 1.3.1 and rsync -version 3.0.9 I made a few changes to the rsnapshot.conf file, which are listed below. I uncommented the ...
0
votes
0answers
44 views

Remotly syncing NAS behind routers I don't have access to

We have several NAS (WD My Could Mirror) that travels to multiple cities and are fed locally with images, audio, video, etc. This content needs to be synced to our main office. I am trying to use ...
0
votes
0answers
3k 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
59 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
231 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
54 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 ...
-1
votes
0answers
53 views

Sync files between two web servers

How can we sync files between two web servers? First web server is primary and second is used for failover. We need to sync (rsync?) from primary to secondary. If we primary fails and come back ...
-1
votes
0answers
28 views

rsync error: syntax or usage error

I'm trying to back up two root directories: /data and /files. This command line works as planned: rsync -Rv \`find /files/ -type f -newer /data/utilities/RecentBackupDate.txt\` /backup/ For the ...