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

learn more… | top users | synonyms

10
votes
1answer
10k views

How to rsync to android

How can I connect to my android device to rsync music (or other stuff)?
0
votes
0answers
18 views

Rsync backup in crontab

Morning folks! I'm thinking about using rsync to backup my laptop to my home server via ssh. I want to do it daily so I plan to use crontab. My question is: if a job is missed (say the backup is ...
0
votes
1answer
32 views

Why is rsync copying directory structure when my find result only shows me files?

I have an annoyingly complicated find command I've cobbled together that I pipe to rsync with the intention of copying files and syncing new versions. I'm trying to write something that is efficient ...
10
votes
3answers
47k 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 ...
0
votes
1answer
41 views

Exclude some of the files with rsync

I want to do rsync from the folder e.g. /user/home/ford , and I have a directory named xthp inside ford; so now i want to exclude few of the files from the directory xthp. I am using the command ...
1
vote
0answers
19 views

Copying backups from remote server to local machine with a cronjob?

I have two remote servers, one running Apache and MySQL, and another Apache and Postgresql. Using these (https://wiki.postgresql.org/wiki/Automated_Backup_on_Linux) scripts as reference, I've created ...
0
votes
0answers
8 views

Restoring backups made with rsnapshot

So I have configured my backup server to pull full system backups from my prod server using rsnapshot. Here is the exclude list that I used for my backups: - /lost+found - /media/* - /cdrom/* - ...
0
votes
0answers
19 views

rsync after upgrade to 14.04.3 lost

I am helpless. After upgrade to ubuntu 14.04.3 on my server, rsync ist not working any more. After starting rsync -av /data1/ /mnt/sdb2 (for example) there follows output sending incremental file ...
0
votes
0answers
16 views

Server gets overloaded with rsync and stops taking connections

I have a backup server in AWS where I rsync data from 20 servers hourly, so it has a hefty task. For the most part it works fine but then every few hours it locks down and stops accepting ...
0
votes
0answers
14 views

How to rsync files that match “*/folderName/*”

This is to help other suffering from rsync multiple subfolders that match the name small, since i have several folders named small #version1 not work everything is synced rsync --verbose --recursive ...
4
votes
3answers
518 views

Rsync over SSH path with spaces does not work with quotes

I am able to successfully RSYNC over SSH as long as the paths do not have spaces in them. When the path does have spaces, it does not work. I have tried slashes, quotes, and double quotes. When I ...
0
votes
0answers
36 views

Increase bandwidth by merging two wifi cards

I have a xiaomi mini router which uses emits on both 2.4ghz and 5ghz frequencies. I have two wireless cards Intel Centrino Advanced N-6200 and Intel Centrino Advanced N-100 in my laptop. The first ...
3
votes
0answers
45 views

Automatically do a two-way sync of two directories

I would like to do a two-way automatic sync between folders Directory A andDirectory B. This means that whenever a file in Directory A or one of its sub-directories is changed, that change is ...
3
votes
1answer
47 views

Get a list of deleted files from rsync

I synchronise my music collection between: My desktop's RAID10, where I rip CDs and download music to, and The house media centre, which controls audio players around the house I do this with a ...
1
vote
0answers
20 views

How can I modify “cp -ru” to remove files in destination that no longer exist in source?

I have a directory with many subdirectories and several million files. Total size around 15GB. I have a brief window (preferably around 30 seconds) to mirror changes to this directory to a second ...
0
votes
1answer
27 views

rsync is failing when trying to sync a big home folder

I try to copy a very big home folder (/home/myUser) to a new computer over network. Although I regularly use rsync its failing after copying 55 / 80GB with the error message rsync error: some ...
2
votes
1answer
11 views

Understanding rsync behaviour

I need to transfer a 100 GB tar file over a Network Connection. I started the process with 'rsync -avP' to see it's Progress. Then the Connection broke after a few hours, of Course that was before ...
0
votes
1answer
14 views

Backing up Ubuntu to a Windows NAS

I have spent hours trying to replicate the function of Cobian Backup (Windows only) on Linux (Xubuntu): basically to schedule backups of certain folders to an external hard drive attached to a router ...
1
vote
0answers
22 views

rsync doesn't resolve target symlink to directory

I'm using ssh to connect to a remote machine. In my home directory there, I created a symlink to a mounted directory, as you can see below: username@hostname:~$ ls -l lrwxrwxrwx 1 username users 69 ...
0
votes
1answer
44 views

rsync to download (in one way) files from one server to another

I've already tried to follow How to do a one way synchronization between folders? with no success. Anyway here is my problem: I would like to know if there is some service or program that can run on a ...
0
votes
1answer
23 views

rsync without deleting between 2 folders

i'm looking for a command that can sync dir1 and dir2, without swapping and deleting the files in those directories. The current command i'm using is rsync -av --delete dir1 dir2 which deletes ...
0
votes
1answer
36 views

How to copy clone folder to remote computer in one line?

I have two machines with the same folder structure. One is my personal computer, the other is a remote computer. Sometimes I want a program to run on the remote computer. At the moment I always need ...
1
vote
2answers
142 views

Problem installing Ubuntu 14.04 alongside windows 8

I'm trying to install Ubuntu in my Dell Vostro 3546, which already has Windows 8 on it. I have a 320GB HDD with 2GB RAM. I am using a bootable USB drive to this. All goes well for the first part. I ...
0
votes
0answers
22 views

Server goes in hung mode and can't be accessible through ssh

One of my virtual server running (Ubuntu 14.04.3 LTS) goes in hung mode and can't be accessible through ssh.once we hard reboot the server it comes up again and accessible through ssh. Attached snap ...
0
votes
0answers
24 views

How to backup to a FTP server using luckybackup?

I'm trying to do a backup on a regular (not secured, not using SSH, no rsync daemon) ftp server (UpToBox). I refered to this page but it's unclear if my case (no SSH, no rsync daemon) is supposed to ...
0
votes
0answers
15 views

Rsync & time-limit : timeout instead of run-time lim

I use rsync to push files from remote servers. I added "run-time" patch to stop running at 8 am. If run goes to 8am, I should received a "run-time limit exceeded" error. But, half the time, I get : ...
0
votes
1answer
29 views

Using rsync with sudo on the destination machine

Having a problem that rsync does not set UID and GID as expected, my gut feeling is that rsync should be run as root on the destination machine. I can't login as root via SSH, since that's disabled ...
0
votes
1answer
33 views

rsync not setting the correct UID and GID on destination files

I am testing whether I use the correct options on rsync because I want to copy a large amount of files from my old server to the new server keeping exact permissions. On the old server, the file ...
1
vote
3answers
6k views

rsync over ssh “error in protocol data stream” (code 12). ssh works

I tried: rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home Error Message opening connection using: ssh -p YY -l me 146.6.84.206 rsync ->-server -vvve.s . /home [sender] ...
0
votes
0answers
22 views

Rsync exclude list bug

I have a script (cron job) that contains this line: rsync -avr --max-size=1G --exclude-from="${HOME}/.folder/exclude-list.txt" $HOME "${TARGET}/folder/" The exclude-list.txt contains these lines: ...
34
votes
3answers
64k views

How to exclude multiple directories with rsync?

I am trying to backup my home directory using rsync, and I want to exclude some of the directories that contain junk. I want to specifically exclude /home/ben/.ccache and /home/ben/build. ...
0
votes
0answers
7 views

Rsync and ssh on bakop.com

unfortunately the bakop guide doesn't provide enough information on how to control my account via 'SSH + Rsync ' I want that command : Checking the existance of a File/Directory in the server ...
3
votes
3answers
8k views

Any way of maintaining permissions when using NTFS mounted drive in Ubuntu?

In my web development work, I use Ubuntu almost exclusively. But there are occasions where I need to boot up Windows -- to check a layout in IE, to reslice a comp in Photoshop -- and I want to be able ...
1
vote
2answers
46 views

rsync synching unchanged files

New to rsync here. I used it to backup files on an external drive on my home drives. My rsync line is : sudo rsync -vv -rP /inputFolder ~/backupFolder I did 2 backups back to back to verify if ...
1
vote
0answers
63 views

rsync not working, /media/* not working in terminal

I've been using rsync --recursive --times --delete --log-file=/media/Data/Log.txt /media/Data/Documents/ /media/Backup/Documents2 rsync --recursive --times --delete --log-file=/media/Data/Log.txt ...
2
votes
2answers
52 views

Copy files over network while creating these files

My Situation: I want to copy a file from one PC to another. Unfortunately this file isn't complete. There is a process appending data to this file (only at the end). Is there a way to easily copy ...
0
votes
2answers
26 views

Removing duplicate directories

I'm backing up some files from my wife's computer (iMac) to my file server (Ubuntu). I'm using an external drive to which I've previously copied some of the files but I've since decided to use rsync. ...
1
vote
1answer
643 views

rsync creating 0 byte files on cifs mounted drive

Hi I have been using rsync successfully to backup files from my external drive to a cifs mounted shared drive since Ubuntu 10.04 Now with 13.04 I am getting a strage behavior with the following ...
1
vote
0answers
30 views

How to create a log of an rsync transfer on the remote server?

I have a lovely functional bash script, which uses rsync to create a backup on a remote server, utilising key-based authentication. It uses a standalone rsync command, rather than having to set up ...
0
votes
3answers
38 views

Local rsync command to capture a sub-sub-subdirectory of /

The task is simple: create a backup of /usr/local/bin and the files within it, and keep the path information. The following works, but I do not really understand what I have done. I've noticed that ...
2
votes
2answers
929 views

Best way for repair files names?

I'm trying to backup directory, but some file names are "corrupteds": rsync: recv_generator: failed to stat "/media/[...]/Ford transit/Porte v\#351lo Ford Transit.odg": Invalid or incomplete ...
0
votes
1answer
44 views

Kubuntu not logging in after restoring an rscyn-based backup

My setup is as follows: In an extended partition, there is a 1GB ext2 boot partition, and a LUKS crypto container. Within the container there is an LVM physical volume, with one volume group, within ...
1
vote
3answers
4k views

How to use rsync via ssh with rsa key passphrases?

How can I use rsync with passphrases? All googled "solutions" i found use passphrase-less keys which seems no real option. i am runnning 2 ubuntu servers 12.04.2 LTS.
0
votes
0answers
26 views

rsync: Transfer vServer Backup to Windows Home PC?

Is it possible to transfer a rsync Backup directly to my Windows Computer at home (over the Internet), or is it just possible in a LAN? If not: Could you tell me a way how i could back it up and ...
1
vote
3answers
48 views

1:1 mirror script with rsync? And do disks spin down by default?

My old NAS crashed and I don't want to use a Hardware RAID controller any more so I created my first server with Ubuntu Server 14.04 LTS. It's running on a SSD and stores my data on 2×3TB WD Red ...
0
votes
0answers
10 views

synchronizatim of choosen folders between devices on demand

I would like some utility which I can use for synchronization between my devices ( e.g. notebook, desktop, external HDD, USB stick ). Could be either some application with GUI or just commoad like: ...
0
votes
1answer
65 views

rsync error script

I wrote a small script for rsync which does not work and I have no idea why: #!/bin/bash rsync \ -a \ --delete \ -b --backup-dir=/lunarc/nobackup/users/mcocdawc/.MIL53_backup/ \ --checksum \ -Pv ...
1
vote
1answer
555 views

Backup, sync, and mirror application

On Windows I used Zback for: Backing up some directories to a networked drive. (i.e, copying all new files from source to target) Keeping a mirror of some directories on a networked drive. (i.e, ...
2
votes
2answers
57 views

Is my rsync backup method safe?

I made a very simple backup script using rsync that backs up some folders to an USB stick. This is just for quick daily backups. The command is rsync -av --delete followed by --exclude options and ...
2
votes
1answer
35 views

how to do an on-change one-way sync/backup between folders on primary drive to secondary drive?

I have two HDs in my machine. All of Ubuntu is installed on the main drive. The 2nd HD is empty and is for backup purposes. I want to configure a one-way sync/backup of /home/* to the 2nd HD. I know ...