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

learn more… | top users | synonyms

7
votes
4answers
16k views

Monitor/Watch running rsync process

I have an rsync job that has been added to a crontab and when it's running, I can only check that there's a rsync PID and confirm with htop that it's eating up n amount of CPU and RAM. What I'd like ...
0
votes
0answers
15 views

Cannot rsync Git objects

I'm using rsync to backup my home directory to a Synology NAS. Everything works fine except Git objects: $ rsync -avP $HOME me@server:/volume1/homes/me/ ... rsync: ...
9
votes
3answers
14k 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 ...
0
votes
1answer
29 views

sed: no input file / permission denied

I get a weird error when I run 2 almost identical scripts and I don't get the difference. When I run this script things go well: #!/bin/bash sed -i 's/^\(\s*\)sudo\s*/\1/g' ...
0
votes
0answers
14 views

Correct rsync statement

On the site "https://wiki.ubuntuusers.de/rsync/" there is the following recommendation for a complete system backup: sudo rsync --delete --stats -PSvahHAXx --log-file=rsync.log ...
0
votes
4answers
182 views

Syncronizing to NAS fails but works with USB disk

Grsync gives error ** Launching RSYNC command: pkexec rsync -r -t -v --progress --delete -u -s ********* /run/user/1000/gvfs/smb-share:server=**********.local,share=*********** rsync: ERROR: cannot ...
0
votes
1answer
16 views

scheduler: how to tune cfq to favor interactive processes

Problem: scheduler doesn't seem to favor interactive processes: On a desktop system with automatic cron-scheduled backups from one (btrfs) disk to another (ext4). The backup process mounts the idle ...
0
votes
1answer
51 views

Black screen appears when trying to enter ubuntu - dual boot (windows10 - ubuntu 14.04)

I am having problem with Ubuntu again. Everything was perfect (for 1 month), after I installed mysql 5.7.12 and gtk 3.0 the problem started. When I try to enter Ubuntu a blank screen shows up. ...
28
votes
1answer
51k views

How to exclude a folder from rsync

I am trying to backup my home folder on my NAS drive. I am giving this: rsync -Paz --exclude-from 'rsync-exclude.txt' /home/chris/ admin@192.168.1.65:LinuxHome where rsync-exclude.txt has this ...
0
votes
2answers
2k views

Transfer file to windows server from ubuntu with rsync

I am transferring file to windows server from ubuntu with following command smbclient //server_ip_add/share -U username We can use rsync to transfer file from ubuntu to ubuntu and then by creating ...
0
votes
1answer
28 views

Is there any advantage to Rsync moving files on the same machine?

I was reading how to install Magento on Digital Ocean Ubuntu 14.04 VPS. All files are on the server. the author says: We will use rsync to transfer our Magento files there, since rsync will ...
1
vote
1answer
36 views

rsync can't exclude directories

I run this cmd to backup my folders: $ rsync -av --exclude {/mnt/dati/Film/, /mnt/dati/Scout/} --delete /mnt/dati/ /media/cirelli/HD1TB/backup/dati sending incremental file list And rsync answer ...
0
votes
0answers
20 views

Check status progress on running rsync

I have started a rsync task via terminal on my local ubuntu machine to copy files from one local HDD to another local HDD with the command rsync -a --progress source destination. Hence I am able to ...
17
votes
2answers
5k views

What happens if rsnapshot / rdiff-backup gets interrupted in the middle of a transfer?

Question says it all: What happens if rsnapshot or rdiff-backup gets interrupted in the middle of a transfer? I know that rsnapshot tries to make a complete snapshot of your system in rotating ...
0
votes
0answers
77 views

Get rsync to retry failed copied files from nautilus

I'm copying quite a few files. I was able to successfully copy ~100% of them. But unfortunately, some failed - from memory the error was something like; unable to copy file x, timed out, do you want ...
0
votes
0answers
24 views

rsync backup - change ${TARGET} location

I am doing rsync backups to an external USB drive (mounted to /mnt/USB) using a shell script the backups are being done directly into the 'root' of this drive which is not ideal I have seen. There ...
3
votes
1answer
1k 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
29 views

Can't Log In As User After Using A Restore Script

I used this script to restore my files and installed packages (home folder not encrypted) after upgrading to Ubuntu 16.04 64 bit. But when I tried to log in as a user, graphically, it just took me ...
3
votes
0answers
43 views

How do you make my root system behave like a live system?

One of my friends doesn't have an hdd , so I will install linux distro on a usb stick. It will be a full install just like installing to hdd but it will install on a flash stick instead of hdd. The ...
10
votes
2answers
13k views

How to rsync to android

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

Migrating iphoto library to Ubuntu

What's the best way to migrate an iPhoto library to linux So I have approx. 80,000 photos on an external Mac OSX journaled HDD that have been used with iphoto 6 (yes its old!), I now need to migrate ...
1
vote
0answers
13 views

syncing 900 devices to a server

Once a day I sync 200 devices from a central server through the internet using rsync. All devices sync to the content on the central server. The updates vary from a 100k to 200MB per day. I need to ...
1
vote
1answer
29 views

Using Grsync to set up a backup job via GUI, can I see the rsync command it created?

Is there a way to view the actual command that grsync ends up running? The idea is to setup a backup job in Grsync, exactly as I want it with all the options, and subsequently use the command to ...
0
votes
1answer
21 views

gRsync set permissions same as when copying

I am having trouble with permissions when using gRsync. The reason I am using grsync is it seems a lot easier to use my mounted windows share when using the browse feature. Currently I'm not sure how ...
3
votes
1answer
35 views

Why does auth.log warn of a possible break in attempt?

I have a server which receives backups from a remote server via rsync authenticated by ssh-keys. The rsync comes via a ddns URL, to a high numbered forwarded port. The sending server is on a normal ...
1
vote
1answer
15 views

Error when trying to copy directory content with rsync inside a shell script

I want to copy the content of "src/main/resources/" to my remote servers. This folder contains several *properties files. The following command executes without any problem in bash and zsh: rsync ...
3
votes
1answer
125 views

Copy a list of files to remote computer while creating parent folders

I have a list of files lying in subdirectories which I have created by calling find: for f in $(find . -name "myFile.txt"); do echo "$f" >> filelist.txt; done The content of ...
0
votes
0answers
18 views

Script for rsyncing to cloud drive (webdav)

How could I make a script to sync all my files from a local server to a cloud space? This is intended to work as backup. Problem: Check if the cloud drive is connected, if not, connect it. As it's ...
0
votes
1answer
2k 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 ...
0
votes
0answers
23 views

My disk got unmounted in the middle of an rsync operation

So I moved my desktop to Xubuntu. But before this happened, I copied the required files (personal or otherwise) to a exFAT-formatted disk. I was in the middle of copying the files via rsync when for ...
3
votes
1answer
78 views

Error while using apt-get

I am not very expert in linux. I am just using Ubuntu for few months. Recently, I am facing the same error whenever I am trying to perform any task(mainly apt-get tasks). For example here I am trying ...
3
votes
1answer
50 views

Cronjob under Ubuntu runs slow

I configured a cronjob (running a bash script) with crontab -e which locally copies some data from one hard drive to another (rsync) and after that compares them (diff). I executed the script ...
8
votes
3answers
12k views

rsync between two computers on LAN

I want to rsync between two computers on my LAN with IP-adresses 192.168.20.9 and 192.168.20.10 both running Ubuntu 10.10. I want to try rsync and ssh service between the two computers.
0
votes
0answers
34 views

What is causing (g)rsync to use such a huge buffer?

I'm on Xubuntu and new to using rsync and decided to use the GUI grsync. I'm trying to copy a reasonably large directory (3GB, with perhaps 200,000 files) from my home directory to a directory on an ...
2
votes
1answer
106 views

How can I queue failing or missed backup jobs, even if the computer is asleep or off?

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 scheduled for a time ...
0
votes
0answers
101 views

How to automatically and remotely backup machine with windows 10 to ubuntu 14.04 server

I've tried looking into rsync but haven't found anything detailed enough on how to go from windows to ubuntu. What do I need to install on client and server sides? Thanks.
0
votes
1answer
68 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 ...
16
votes
3answers
63k 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
87 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
73 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
18 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
25 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
42 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
20 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 ...
7
votes
3answers
1k 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
73 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
97 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
75 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
28 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
116 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 ...