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

learn more… | top users | synonyms

1
vote
1answer
21 views

rsync throwing mkdir: cannot create directory ‘/data/dir_1/dir_2/dir_3/’: No such file or directory

I mounted a disk at /data. This is empty at the moment. I need rsync to perform mkdir -p than mkdir as the file I needs to be at at level 4 i.e. /data/dir_1/dir_2/dir_3/filename when dir_1, dir_2 ...
0
votes
1answer
30 views

rsync --include-from not working

The man pages do not have examples for this. I am having a hard time telling rsync to only include some file where those files. I don't understand why you have to exclude in order to include, why the ...
0
votes
1answer
33 views

How to access my NAS via the command line using rsync

I have always been accessing my NAS (dlink-343) via the gui in Caja or Nautilus. The connection says smb://dlink-15gtac. How can I access my NAS via the command line if I want to copy files to there, ...
0
votes
0answers
13 views

Cannot get debmirror to download Release and Release.gpg files

We are having trouble getting our local Ubuntu mirror to download properly. Here is the command we run: ...
0
votes
1answer
21 views

Using rsync to backup to two locations

Please forgive my ignorance, I have searched for an answer but have so far come up blank. Here's what I want to do: Use rsync to backup from the fileserver (Ubuntu Server 14.04) to a NAS device. ...
0
votes
0answers
12 views

rsync never terminates and makes Tb size snapshot directories

I have a cron job that runs rsync every day to download data from a server. It was working fine until the space allocated for me in the server was changed (probably increased). It happened as I was a ...
0
votes
1answer
28 views

How do I make grsync exactly mirror my hard drive over multiple backups?

I use grsync to backup my laptop's HDD to an external HDD on about a monthly schedule. The problem is that every time I move a folder to inside another folder on my laptop's HDD, grsync will not ...
0
votes
0answers
34 views

Why is my read speed limited to 40 MB/s (< 25 %) reading from ext4 when compress-force is zlib and there's no CPU usage?

I'm moving data from an ext4 filesystem on a HDD connected with USB 3.0 which usually reads and writes with 170 MB/s to a btrfs subvolume on a SSD which usually reads and writes with 360 MB/s with ...
0
votes
0answers
22 views

Rsync creates error message unexplained error (code 255) at io.c(837)

When I try to rsync -qaPH source/ 192.168.1.21:/var/backups I get rsync: [sender] write error: Broken pipe (32) rsync error: unexplained error (code 255) at io.c(837) [sender=3.1.0] Whats wrong ...
1
vote
2answers
31 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
96 views

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
12 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
1answer
55 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
23 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
43 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
42 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
27 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 ...
2
votes
2answers
85 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
17 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
37 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
55 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
80 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
90 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
55 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
288 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
217 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
25 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
47 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
83 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
45 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
42 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
27 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
24 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
33 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
1k 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
45 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
52 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
131 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
146 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
146 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
103 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
55 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
97 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
121 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
69 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
40 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
196 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 ...