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

1
vote
0answers
9 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 ...
0
votes
1answer
4 views

Using Unison / rsync over SSH to synchronize sites where full file system access is required yet root login is disabled

Assume two sites A and B with file server at either end. The contents of /storage should be synchronized between the sites, preserving ownership and permissions. There's no all encompassing group that ...
-1
votes
1answer
22 views

Pushing file to server more efficiently [on hold]

I have a cluster of daemon running on Mac that generate a lot of jpg in a folder like this content/categoryname. The category name is considered as unique across multiple machine. So what is the ...
0
votes
0answers
67 views

Ubuntu Server unresponsive after some days [on hold]

Ahoy! I have an Ubuntu Server [Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-49-generic x86_64)] running on a Supermicro X10SBA board. System is installed on an encrypted LUKS partition and apt update ...
1
vote
1answer
19 views

Can rsync ignore a directory's atime entry when creating it's file list?

I am using rsync to copy data from a local LVM drive to a locally-mounted glusterfs mount. I'm trying to bring them in to sync and eventually cut over to just using the glusterfs mount. Here is the ...
1
vote
3answers
17 views

rsync for backup but don't want to wipe ( not erase ) drive

I am not sure how to even ask this question without explaining. Say I use rsync to backup drive-a to drive-b. Drive-a fails and all data is lost when the rsync went off it saw that drive-a had been ...
2
votes
0answers
22 views

Fastest ways to do backups: FTP, rsync, Robocopy, SMB/CIFS, etc? [on hold]

Im looking for methods to do (incremental) backups and sync from and to NAS over LAN and VPN. Im having trouble finding couple implementations between Linux and Windows. My Linux NAS boxes have ...
1
vote
0answers
17 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 ...
2
votes
1answer
26 views

Issue connecting SSH after using rsync

Before using rsync to copy files from local to remote I was able to do passwordless login to the remote host using ssh. This always worked: $ ssh domaster Then I used rsync and everything was fine, ...
-1
votes
0answers
48 views

How to remove directory from rsync share completely [migrated]

Is there any rsync command that can remove some remote directory from rsync share completely? I mean delete not only directory content but the directory itself. And without rsyncing the entire parent ...
3
votes
1answer
11 views

How to copy a directory of files before a particular service starts up on Windows 7

I have a Windows 7 desktop and a Linux server running SSH and Samba services. The Windows machine has a directory of files that need to be synced with a copy on the Linux server. The Windows machine ...
0
votes
2answers
19 views

Is it better to use rsync over SSHFS or over CIFS as remote repository, having no option for rsyncd?

I have a NAS that is only capable of CIFS, AFS, SSH (no rsyncd capabilities, no NFS). I have to backup very large files (vm images) and I usually set a rsync server on the backup device then I do a ...
0
votes
0answers
28 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 ...
0
votes
0answers
12 views

Make rsync move (not copy) files on local file system [migrated]

Can I make rsync to move large amount of files instead of copying them when on local filesystem? I would like it to behave like improved mv command. I know about --remove-source-files option but ...
0
votes
1answer
26 views

rsync windows active directory deployment

Is there any tool that let me do a massive rsync installation through Active Directory for windows machines??, I was searching but i do not find anything... until now. I am looking for something like ...
1
vote
1answer
30 views

RSync incremental backups, backing files that haven't changed. Does file access time cause a re-backup? [duplicate]

I backup my LAMP server using RSync over SSH. Currently, it's on an hourly incremental schedule. From a 14GB full backup, it's backing up a further 15~MB hourly. Looking at the files it's backing ...
1
vote
1answer
27 views

Backing up Zimbra 8.0.x, data.mdb issues

When trying to create a backup of zimbra open source edition 8.0.1+ I ran into issues with data.mdb 'exploding'. While my /opt/zimbra directory is only about 8GB my backup is around 80GB. both rsync ...
0
votes
0answers
4 views

Keychain does not work in Cron [migrated]

I have a problem with my backup script which is using keychain. The script works fine when fired via command line but doesn't work as expected when called via cron (does not transfer any data to the ...
0
votes
0answers
14 views

Rsyncing files from server to local machine automatically [migrated]

I currently have a crontab job running on my machine every friday at 3 AM as a back up method. The job runs a bash script which runs an rsync command to sync files from the server to my external hard ...
-1
votes
2answers
51 views

Compress whole directory with rsync and upload to remote

I know I can go like: rsync -zaP uploads/ myserver:/path/to/ If I understand right, that will compress each file in that directory and sync one by one to the server. But if it's thousands of files, ...
0
votes
1answer
31 views

Rsync : copying over timestamps only by filename

I'm trying to do almost the same in this question: Rsync : copying over timestamps only But in this case, some os the files were already modified... There is any way to change just the timestamp ...
0
votes
0answers
30 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 ...
2
votes
1answer
24 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 ...
3
votes
1answer
228 views

How do I check if a backup by rsync is successful?

I use rsync -a to do a full backup on a file system. Its output to stderr is empty. Shall I do some additional checking to verify if the backup is successful? For example, how can I do a checksum to ...
2
votes
0answers
49 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 ...
-1
votes
1answer
59 views

Moving large size directory using rsync

I plan to move from linux o/s a directory which is mounted on SAN(offboard) to external storage for backup. The dir size is 14TB. I do have experience moving files in/out using rsync but never done ...
-1
votes
1answer
42 views

Fastest way to copy small files over secure network without regard for file mod times or size

I want to sync files in dir1 and dir2 (two different servers). I do not care if the file sizes or modification times differ. EXAMPLE: dir1 contains file1, file2, file3, file4, and dir2 contains ...
1
vote
2answers
73 views

Convert raidz1 to raidz2 via a temporary drive

I set up a new NAS server a few months ago and set it as RaidZ. I'm re-thinking that decision and would like to grab an extra drive and move to RaidZ2. Before everyone replies that this isn't possible ...
0
votes
1answer
20 views

Inverse of rsync --copy-links?

Server, a directory with a bunch of symlinks in it pointing to things I want to sync: /home/shish/tosync/video.mp4 -> /home/shish/videos/video.mp4 /home/shish/tosync/code.py -> ...
0
votes
0answers
20 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 ...
1
vote
0answers
38 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 ...
2
votes
0answers
178 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 ...
-5
votes
1answer
48 views

How to prevent attacker from taking advantage of rsync for destroy target server [closed]

Rsync is an awesome tool. But I think if one attacker is possible to intrude my server and take advantage of rsync for removing data of other server: sudo rsync -avzP --delete /tmp/emptyfolder -e ...
1
vote
0answers
39 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 \ ...
0
votes
1answer
44 views

rsync not behaving the same in script vs shell

Afternoon ServerFault, I have hit a problem that I can seem to reach a solution to, I currently have a backup script that is meant to rsync VMs off our VMWare box onto our backup server, the problem ...
0
votes
2answers
46 views

Rsyncing to a compressed zpool

I've been Rsyncing from an NFS mount to a local zpool that has compression enabled on it. When I rsync, it copies every file over, not just the new/changed ones. Is this because the file size is ...
0
votes
0answers
96 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
1answer
26 views

How to act upon condition of whether a file updated via Rsync was updated

I think this is simple but I can't find anything in my googling, maybe I'm searching the wrong terms. I have a machine that syncs itself to another machine. If there are changes to a file on the ...
1
vote
1answer
88 views

Rsync keeps asking for password even though a secrets file is configured, what could be the reason?

I've configured rsync on one of my servers, the configuration looks like that: [root@pnmpg4 ~]# cat /etc/rsyncd.conf max connections = 2 log file = /var/log/rsync.log timeout = 300 ...
0
votes
1answer
54 views

rsync: how will rsync react to a file copy from a mounted share to a remote location?

I have a task to create a passive sync between a production server and a staging server which are located in two different geographical locations. The environment is fully Linux based (CentOS/RHEL) ...
1
vote
1answer
41 views

Which compressed file formats are efficient with rsync?

Every system admin knows that rsync is the way to go if you need to do backups of large files, e. g. a database file: since it uses delta compression, it only overwrites blocks that have been modified ...
0
votes
1answer
187 views

rsync to unmounted webdav share

if I want to transfer files to a webdav share, can I do that directly to the server that the share originates from, or does it need to be mounted on the machine that I send the rsync to? The thing is, ...
1
vote
1answer
88 views

rsync using only spare bandwidth?

My scenario: Several rural schools Every school: One linux server Limited bandwidth (shared with all school PCs) Electricity not guaranteed (last to leave the school could cut all electricity) ...
-2
votes
1answer
131 views

Looking For Simple, Fast Incremental Backup Algorithm Using RSYNC [closed]

I'm running a simple bash script that uses rsync to do an incremental backup of my web server every hour. What I'm looking for is an efficient algorithm to delete the proper backups so that in the end ...
1
vote
1answer
194 views

Prevent rsync from deleting excluded directories

I'm using rsync through Ansible's synchronize-module with the following task definition: synchronize: src='{{ local_app_path }}/.' dest='{{ remote_app_path }}/' perms=no owner=yes ...
1
vote
1answer
34 views

Running two mutually exclusive rsync on the same folder

I have files stored on two servers, A and B. I'd like to copy both into the same directory tree on server C. Is it safe to run both of these commands at once if A and B have the same folder structure, ...
1
vote
3answers
100 views

Quickest way to replicate small files on 4 machines?

I have 4 servers, all on a secure local network. Each server runs script.php (every minute). script.php reads from a local dir called /arc, does a file test, and writes a new file back to /arc. ...
0
votes
1answer
110 views

rsync on OS X changes folder's group name to _lpoperator

Here is how to demo the problem: Grab Terminal on OSX, and run cd ~ && mkdir abc && ls -l ~/ Here is the output about folder "abc": drwxr-xr-x 2 justin staff 68 Jan 4 ...
0
votes
5answers
92 views

Rsync to a backup server resulted in additional space taken

I ran an rsync to backup one of our production servers. I put the production server in readonly mode so that no additional data could be added or modified. I then did a recursive rsync with archive ...
0
votes
1answer
56 views

re-sync a single large file using rsync

I have large disksafe file(71GB) created on R1soft server.I want to keep a copy of it to a remote backup server and syncing it when there's any change(after replication is complete). From what I ...