a utility used to sychronise files between locations (possibly over a network)

learn more… | top users | synonyms

0
votes
2answers
20 views

Why is Rsync copying the same subset of (unchanged) files every time?

I am backuping files on my machine with rsync, but notice in my log files that a small subset of the files are re-synced each and every time. Why is this happening? (I can understand that those ...
4
votes
2answers
62 views
+50

Should one call this an inverse differential backup and how does one achieve it?

I make a lot of backups. I do so on different disks, which are stored on different places. I am looking for a type of backup, but I can't find its name (which I need in order to figure out whether ...
0
votes
1answer
11 views

Preserve directory tree while copying with rsync

When I do something like: rsync Videos/YouTube/LetsPlays foo@bar:/home/foo/ The resulting directory structure looks like: /home/foo/LetsPlays I've read the man pages but couldn't an option to ...
0
votes
0answers
31 views

How to create local repository using apt-mirror and mirrorkit for selected architecture, release, spin

Having a local repository can be very useful. It is possible to use rsync to create a repository mirror, but this results in all the releases being downloaded, even older ones and would include files ...
0
votes
2answers
20 views

Lossless Compression using rsync

When using the -z mode to compress data when running rsync, is the compression lossless? sudo rsync -az /path_to/A /path_to/B How can one ensure that any compression would be lossless?
0
votes
1answer
36 views

rsync exclude a single file from the root folder

I want to rsync from a folder, which contanins index.php (which need to be excluded), and many other directories contains index.php too. i created an exclude file and added index.php there. but all ...
0
votes
0answers
28 views

Syncing with a Samba share without mounting it

I have two Ubuntu computers on a home network, let's call them A and B. A runs Samba server and on B I use FreeFileSync to sync files between the two computers wirelessly. The problem is that every ...
0
votes
0answers
23 views

How to put running time constraints on rsync processes?

I want to set a time limit on my rsync backup processes. How do I best go about? According to this post, there is an option to do exactly that: --time-limit When this option is used rsync will stop ...
1
vote
2answers
53 views

backup your home directory with rsync and skip useless folders

You can easyly backup your home folder on an external harddrive with $USER=`whoami` rsync -a --exclude=.cache --progress /home/$USER /media/linuxbackup/home/$USER I excluded the .cache folder cause ...
1
vote
1answer
16 views

Minimizing effects of large number of files

I need to manage a filesystem with a large number of files (hundreds of thousands). This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, ...
0
votes
0answers
28 views

Mirroring files over a flaky USB connection

Due to a hardware failure I currently have to use an 8 year old notebook. The hard drive of the device in repair is in a external-hdd USB enclosure, but the USB ports of the old notebook don't allow a ...
0
votes
0answers
7 views

Trying to run Unison

Today I have changed my static IP to a new set of numbers that were provided by my ISP and that has crashed my syncing process. I opened the 'default.prf' file and updated my destination IP address ...
0
votes
2answers
41 views

rsync + ssh public key asking authentication

After creating the keys and use ssh-copy-id command successfully, I can connect by ssh user@host but when I'm trying to do a transfer via rsync and it asks for password... rsync command is as follows: ...
0
votes
2answers
57 views

rsync error while transfering data from one server to another

I have 2 ubuntu 14.04 servers in vm in my machine.I logged in the 2 servers as the user chandhu, then by using sudo -i , I changed as root. I have one file in the user chandhu.I wanna to move that ...
0
votes
1answer
59 views

Update rsync to 3.1.1

I've noticed that the latest version of rsync is actually 3.1.1, but only 3.1.0 seems to be included in 14.04.1. How can I update to the latest version?
1
vote
2answers
47 views

Select Top N files based on modification date and rsync them

I'm fairly new to linux and I'm trying to transfer some N files based on Modification Date. I've found this commandls -tr | head -100, which to my understanding, will list the Top 100 Files (head ...
1
vote
1answer
182 views

Rsync with special character files not working between Mac and Linux

I want to use rsync to backup my Ubuntu server with a disk residing on a Mac. But I do not get it to work properly, since every time I re-run the rsync operation after the initial time, the files with ...
1
vote
1answer
163 views

Rsync between Ubuntu and Mac: how to get the iconv option to work

I usually backup between two Ubuntu machines, but I now want to use rsync to backup my Ubuntu server with a disk residing on a Mac. But I do not get it to work properly. The first time all is well, ...
0
votes
0answers
20 views

rsync stalling on files over wifi

I'm using rsync to transfer files over wifi but I'm finding some files just hang for a long time, and then start to transfer at a reasonable rate. rsync -r -v --progress --remove-source-files src ...
0
votes
0answers
35 views

files copied in usb hard drive using rsync disappear

I use Ubuntu server 12.04 and using rsync I successfuly copied files using rsync from server to the external usb hard drive which is plugged to the server all the time. For some reasons I reinstalled ...
1
vote
0answers
74 views

How can I use rsync over AFP and SMB protocols?

I have a Lacie CloudBox NAS drive. I can acces the folders with no problems via the file explorer, however I would like to use rsync to sync some files. I have used rsync before to sync folders on a ...
0
votes
0answers
39 views

Wildcards in exclude-filelist for duplicity

I am trying to exclude a "bulk" folder in each home directory from the backup. For this purpose, I have a line - /data/home/*/bulk in my exclude-filelist file. However, this doesn't seem to be ...
2
votes
1answer
39 views

Trying to sync live data to a backup server

I'd like to take the data from the live system to a backup system (to test new features etc) Piecing together an rsync command, I have the following. How do I ensure everything is copied? Things ...
0
votes
1answer
24 views

Fixing permissions of backup files that I don't have -r or -w access to - but still denied access

I've always used rsync to backup all my files to an external drive. Now after having formatted my hard disk and reinstalled Linux, I wanted to copy the backup files to my hard disk. The problem is ...
0
votes
0answers
22 views

Why rsync still tries to copy and complains not enough space?

I am using rsync to copy one big file (> 4 GB) from hard disk to usb drive with "-av --progress" option. Before that, the file already exists on the usb and is the same as the one on disk. So ...
0
votes
1answer
31 views

Transfer files from maintenance shell

I am running ubuntu 14.04. I attempted to boot my computer and I received the following error: General error mounting filesystems. A maintenance shell will now be started. CONTROL-D will terminate ...
5
votes
3answers
786 views

Why is this rsync + ssh cron job giving me 'Permission denied (publickey)' errors?

I make frequent backups to a local drive which I want to sync daily to a remote server. The target server is configured for SSH key (no password) access only. Since my primary SSH key for that server ...
0
votes
0answers
38 views

Mirroring 12.04 vps server to another vps server

I'm a new Linux user so I'll need a hand in this. I have a 12.04 server that I want a mirror image of on another vps. I was reading a bit on rsync but I am unsure of the command to put in to copy ...
0
votes
2answers
49 views

Crontab command does not function properly

I have the following crontab entry to automate copying of my files to separate W/S in the network. However, it does not copy the files but produce the log file. here is the file contents #! ...
2
votes
2answers
91 views

Is there any GUI application for command rsync?

I am currently synchronize between local folders in my computer by following command: rsync -av --delete "[source]" "[destination]" Now I want to do this via GUI. so, Is there any GUI available for ...
0
votes
1answer
115 views

Remote rsnapshot failing with “Permission denied” error

I'm trying to set up remote backups with rsnapshot from my home server. I want my server to connect into my laptop and take backups over SSH.Everything is set up correctly and I can connect from my ...
3
votes
3answers
134 views

How do I move thousands of files from a list?

So, I have a list of files in a text file. I believe it's about 100,000 files. The files in said list are spread across many directories, have different sizes, filenames, extensions, ages, etc. I am ...
1
vote
1answer
102 views

Copy data held by www-data over ssh

I have an apache server (machine #1) holding a database which I want to rsync distantly (the server is actually owncloud, for those who know). My data is maintained by the server and its rights are ...
2
votes
0answers
37 views

How can I run a simple rsync shell script at boot with root? [duplicate]

I have a shell script that contains a single rsync command to rsync two local directories. I want the script to run at startup/during boot and I can't seem to find the solution for this problem. ...
1
vote
1answer
49 views

Writing a script to rsync all directories

I have a huge set of backup files, each containing a directory of Videos. Each video directory is slightly different. I would like to merge these into a single directory to conserve, as I don't ...
1
vote
2answers
90 views

Automating rsync commands

I currently have too many rsync commands that I run on a day to day basis. Could someone be kind enough to let me know how I can automate these commands? I am new to Linux so a little bit of ...
0
votes
1answer
106 views

How can I configure a second SSH key + user for a single server?

I have a SSH key which is passphrase-protected. Authentication to the server is by SSH key only, password authentication is disabled. Both the server and my desktop run Ubuntu 14.04 and authentication ...
2
votes
1answer
29 views

How to automatically copy pictures with resizing to some directory?

I'd like to share some pictures with someone using Dropbox. However, I'd prefer to downgrade the resolution of them (they will only be viewed on screen on the other side, so there's no need for big ...
0
votes
1answer
54 views

Partial (specific releases) mirror of Ubuntu Archive via rsync only

I'm looking to build a Ubuntu repository archive for both i386/x64 architectures on 12.04 (precise). This is to bring in to a facility where I am working with no Internet connection. Circumstances ...
0
votes
1answer
39 views

Full Rackspace cloud server backup to local

I want to rsync my entire Rackspace cloud server disk to a local drive. The command I am currently using is: rsync --dry-run --archive --xattrs --compress --partial --progress ...
-1
votes
1answer
179 views

rsnapshot bug with 14.04 - rsync not found error [closed]

Using rsnapshot with the +rsync_long_args=--rsync-path="sudo rsync" command fails with a rsync not found error. If I do a rsync only without using rsnapshot the command works find so it's not related ...
1
vote
2answers
1k views

rsync exclude hidden files doesnt work!

I’ve searched all over the internet and everybody suggests the same thing - that adding --exclude=´.*´ should exclude hidden files and folders from an rsync. It doesn’t. I´ve also tried adding a ...
2
votes
1answer
42 views

How to unsync two folders?

I have Ubuntu One and Dropbox folders synced. Now when Ubuntu One is shutting down, I want to delete U1 folder so it does not use space unnecessary. The problem is that if I delete U1 folder, Dropbox ...
0
votes
1answer
3k views

How do I make rsync delete files that have been deleted from the source folder?

I recently set up a machine with Ubuntu Server to host game servers. I installed a backup plugin for each game server that creates frequent backups of game world files in a particular folder on the ...
3
votes
3answers
123 views

Syncing dm-crypted drives?

I have 2 usb sticks, 8GB each: usb1 = /dev/sdb usb2 = /dev/sdc usb1 is a full dm-crypted drive and I am currently using usb2 as a backup, just incase usb1 fails. I am cloning usb1 to usb2 using ...
0
votes
0answers
30 views

Copied File is Mutated

This problem has occurred three times--twice with me and once with a co-worker. I cannot reproduce to problem as it seems random. My co-worker copied a large (400 MB) file from OSX to an Ubuntu ...
0
votes
0answers
358 views

sudo not working after rsync - unable to open /etc/sudoers: Permission denied

Bought a new drive. Formatted to ext4, mounted the partition and ran sudo rsync -aAX --delete /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found} This moved all my ...
1
vote
1answer
442 views

Rsync - memory usage

I am running on Xubuntu 14.04 and experiencing high memory usage of rsync. With a fresh start, the system is OK. I have rsync running in a cronjob, after/during rsync memory usage increases and stays ...
11
votes
4answers
1k views

Can someone explain this rsync command for me?

Can anybody tell me what this does? rsync -uva --delete /srv/bkp01 /srv/offbk2/ > ~/offbkp01.log Does it delete bkp01 and offbk2 and sends a log to offbkp01.log?
3
votes
2answers
1k views

Start the Rsync daemon to synchronize a directory between two servers

I want to synchronize a directory on the server A to a server B. On the server A I created a file rsyncd.conf with the content: uid = rsync gid = rsync use chroot = no ...