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

0
votes
1answer
18 views

Restore file permissions after rsync on ntfs

When messing around with partitions under Windows when I tried to format empty space of the hard drive to have it in Windows, I messed something up and cfdisk told me that all the partitions did not ...
0
votes
1answer
29 views

BackupPC and rsync, disabling checks on date modified with --size-only not working for Lotus Domino mail archives

We have a BackupPC server that is supposed to be backing up a Lotus Domino 9 server, both on Ubuntu 12.04 64-bit with rsync 3.0.9. Our Domino server is set to archive e-mail messages that are older ...
3
votes
1answer
40 views

rsync copying entire files instead of difference

I have 2 remote folder containing few files. I am using rsync to sync the 2. The thing is that on the first server files are strictly just APPENDED with new data every day. When I call rsync it seems ...
1
vote
1answer
31 views

ssh connection operation timed out using rsync

I use rsync to backup my remote server on my local device but when I combine it with a cron job my ssh times out. Just to be clear, the data is stored on a remote server and I want it stored on my ...
0
votes
0answers
39 views

Linux bidirectional file sync over a WAN with immediate/incremental syncing

Does anyone know of a solution that lets you sync files bidirectionally over a WAN, but also syncs immediately/incrementally? Basically Unison is perfect for the file syncing, but it doesn't sync ...
0
votes
1answer
25 views

Cloning OpenVZ container

I have an OpenVZ container on 1 host and I would like to clone it over to my server. both run SolusVM. I only have root access to my server and would like to host the container on my server now. Can ...
-1
votes
0answers
20 views

rsync remote to local automatic backup [migrated]

Because all my work is stored on a remote server I would like to auto backup my server monthly and weekly. My server is running Centos 5.5 and while searching the web I'm found a tool named rsync. I ...
2
votes
1answer
69 views

Very different results from df after a few seconds

When the backup moves the files from one server to the other the results from df change every few seconds in an impossible manner. The source host is running rsync. On the destination host I'm running ...
0
votes
0answers
12 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 ...
0
votes
2answers
37 views

What upload technology would be appropriate for this use case?

My department does data migrations when a client switches from another software vendor to us, often we need to get a copy of their old data (whatever that may have been) and send it to us. The big ...
0
votes
0answers
34 views

How can you do dynamic, key-based SSH similar to GitHub?

I wan't to provide SSH/RSYNC like features to users of my app. I'd like them to just be able to paste/save an SSH key into my app similar to how GitHub does: So, my question is, once I let users ...
0
votes
1answer
17 views

FreeNAS - how to “Exclude from file” in Rsyncd (GUI)

I am trying to set rsync tasks to Pull user profiles from 11 Windows machines running DeltaCopy Server and then configure ZFS periodic snapshot tasks for a backup solution. So far this has been ...
0
votes
1answer
27 views

Is is possible for rsync to partly copy a file, if a process gets killed?

My assumption about rsync is that it transfers the file in a "sync"hronous way, meaning that it's all-or-nothing. Is this correct, or is it possible that rsync could return a non-0 and still have ...
2
votes
1answer
51 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
35 views

How do you setup an rsync server and client?

I have worked on rsync for the whole afternoon. I have set a rsync server,but I don't know how to use it. I have two machines:66 and 12. 66 is the server,I want to back 66's data to 12,so I use ...
0
votes
2answers
33 views

rsync apparently breaks hard links

On the source server (A), I got a file /opt/resources/xxx and a hard link /etc/apache2/sites-available/xxx pointing to this file. On another server (B) I got the same structure ...
0
votes
2answers
41 views

What is your approach on sync two linux server in AWS

I have the following: Linux Apache Server A = /var/www/webroot Linux Apache Server B = /var/www/webroot How do you sync the two webroot Server A -> Server B in just one direction? If you are using ...
1
vote
1answer
52 views

Controlling rsync bandwidth usage by percentage of available bandwidth, in userspace?

I often use rsync on a OSX-based laptop to synchronise some files from it to a Linux server. The laptop can be connected to different networks with greatly varying bandwidths (office ethernet, wifi, ...
0
votes
0answers
57 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
1answer
46 views

Moving linux server to another hoster

I have a task to move linux server from 1 dedicated server to another. In general my plan following: night time - turn off httpd and mysql. RSYNC via SSH. day time - turn on http and mysql. night ...
0
votes
2answers
37 views

Verify that rsync copied everything it was supposed to?

I'm trying to use rsync to back up a remote Linux server I'm running DeltaCopy as a server on my desktop PC (Win7/64), and running rsync by SSH'ing to the Linux box, sudo'ing to root, and doing ...
-5
votes
2answers
39 views

Backup Centos Server on Personal Windows 7 Computer [closed]

Using rsync or with a similar method, I would like to backup my dedicated Centos server (client websites specifically) on my personal Windows 7 computer every week. Is there an application (paid or ...
0
votes
2answers
56 views

RSync files or Map Network Drive in Windows Server?

I have to create a backup plan, from my machine .155 to .156. In .155 my files are in C:/MySQLServer/backup and should be copied daily to .156 at I:/MySQLServer/backup, so I was looking over the ...
0
votes
1answer
27 views

Disk Writes to Mounted EBS Volume Not Logged in Monitor

I have an EBS volume specifically dedicated to storing remote backups via rsync. This volume is attached and mounted to an EC2 instance. The user mediating backups has access to this volume via a ...
2
votes
1answer
44 views

rsync certain files, excluding the rest, ignoring .svn/ directory, recursively

I'm using rsync to copy some files from a share to another. Recursively, I need to: Delete files at destination that were removed from the origin Only sync php and js files Exclude every other file ...
0
votes
2answers
198 views

rsync as root to /var/www failing with “protocol version mismatch”

I'm trying to set up a one command way to move website code from a dev machine up into my Ubuntu EC2 instance and have it be copied straight into the /var/www/mywebsite folder where nginx expects to ...
3
votes
3answers
317 views

What is the best way to copy 9TB of data to multiple external drives, sequentially?

The data is currently stored in a 9TB RAID array, with many users having many files and directories. We'd like to back it up to five 2TB external hard drives, but since we only have one free USB port, ...
1
vote
1answer
62 views

Limited SSH access for log retrieval

I want to have limited access to a Linux server to be able to grab a certain set of logs. Ideally, I would like to be able to run rsync locally to grab the logs from the server and for security ...
0
votes
2answers
41 views

Using rsync to copy files from one server to another, pertaining users and permissions

I'm backing up user uploaded files from my primary server to my failover server using rsync. If I use rsync -a to mirror an /uploads directory from server A to server B, can I expect programs using ...
-1
votes
2answers
45 views

Rsync - Outputting an incremental backup result to a different folder? [closed]

I am a beginner with the Unix system so please bear with me if this sounds noobish. The most common way to use rsync to do an incremental backup is to do it like this rsync -av --delete ...
5
votes
3answers
230 views

compare 2 directories and copy differences in a 3rd directory

Running ubuntu 12.04, I want to compare 2 directories, say folder1/ and folder2/ and copy any files that are different to folder3/. There are also nested files, so matching subdirectories should be ...
4
votes
2answers
193 views

rsync not removing single quotes around array of strings --filter list

Trying to safely retrieve files from heavily infected Windows XP and 2003 machines that came to us from an acquisition. I have a similar need for automating a script that would run on PXE booted ...
0
votes
1answer
32 views

How to rsync symlinks and their referents but preserving the links

I have the following filestructure in my src directory: en/ en/a/ en/a/file1 -> ../../en/mp3/file1-longer-name-a en/a/file2 -> ../../en/mp3/file2-longer-name-a en/mp3/file1-longer-name-a ...
1
vote
1answer
49 views

Multiple spaces in folders and files for rsync backup via /bin/bash /bin/sh

Need a one-time backup of two old messy Windows XP machines because of a company split. Using CentOS 6 x64 minimal install, i mounted some MS Windows NTFS harddrives installed locally via ntfs3g and ...
2
votes
2answers
185 views

How to setup a public rsync and sftp server

I want to setup a public storage server which allows sftp and rsync (through ssh). I've got it working with a chroot jail and rssh. When the user connects to the server with sftp he can read all the ...
0
votes
0answers
25 views

How to make rsync copy symlinks to files, but leave symlinks to dirs as links?

I'm doing some system maintainence work that requires things like this. Putting simply, I want symlinks to files to be replaced with the files they point to, but symlinks to dirs left as links. How ...
0
votes
0answers
32 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 ...
1
vote
2answers
58 views

Using Rsync to backup a Windows Share

I have a Windows 7 box that I want to back up to an Ubuntu machine. I have mounted a Windows share on the Ubuntu box (using CIFS/Samba), and I want to use a cron job to rsync what's on the mounted ...
0
votes
1answer
53 views

Mac server architecture and synchronization

I'm currently for an reliable and robust solution to make a bidirectional synchronization for the file between two mac os x server (recent versions). The folder is a corporate architecture of ...
0
votes
1answer
40 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
58 views

Can ZFS resilvering be used effectively for backing up to an external drive?

Suppose I currently use rsync to back up an internal drive periodically to an external drive. The external drive is usually stored offsite but is periodically brought over and plugged in via USB and ...
1
vote
1answer
155 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
2answers
57 views

rsync --exclude not excluding

I'm using rsync on an Ubuntu 12.04 LTS server with the following script to back up all of /, however, whenever I run the script (as root), the directory /backup is included, when it should be ...
0
votes
0answers
52 views

Postfix IMAP/POP3 migration with UIDL preservation

I have two Centos servers: The old one (server1) with Postfix and Courier as mail service, using roundcube and atmail (free) for IMAP webclient and POP3 for desktop clients too. The new one ...
0
votes
0answers
33 views

Get Rsync status for output

At the end of a successful rsync job, I get the typical: sent 6022622 bytes received 4751961 bytes 69738.40 bytes/sec total size is 3328464484 speedup is 308.92 I call my rsync job via a shell ...
1
vote
2answers
17 views

Rsync Include and Exclude with Dates

I have a bunch of log files that I sync with another server using rsync. The log files are all named in the format YYYY-MM-DD XXX.txt. I only want to sync the current month and last month of logs ...
0
votes
1answer
27 views

Date variables within rsync filters?

I have an rsync script that syncs logs files from a remote server. The log files are always named YYYY-MM-DD-HH-MM-SS. At the moment, I have a filter in place to only get the current year's logs: ...
0
votes
1answer
34 views

rsync from local harddisk on a Windows terminal server to a linux server [closed]

I have to live with a rather complicated setup, which I can't change. It's like so: Objective: rsync files from a USB drive on network1 to a linux server on network2 where the only connection between ...
-1
votes
2answers
66 views

How to tell rsync do not check permissions

I have two directories with same PHP application in every of them. I want to execute rsync -rvz from one, source directory to another, destination, so rsync will copy changed files only. Problem is ...
-1
votes
1answer
68 views

How to skip files with read error in it when copying with rsync on Linux?

I'm copying files from my sda to my sdb. sda have read errors on it, which means that when a files is written on a read error block, reading this file provokes several read error which freeze the ...

1 2 3 4 5 17