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

learn more… | top users | synonyms

1
vote
1answer
28 views

Where can I get the development packages for rsync?

I would like to check the code for RSync but I don't see the development files, maybe I only need GCC and Make ?
1
vote
2answers
32 views

Building very long rsync inclusions and exclusions with Python

I'm trying to run a backup of all my .x folders in Home to save configurations. With the program I'm writing, you can select any folders you want included or excluded from the backup, this list is ...
11
votes
3answers
14k views

How to rsync to android

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

How to preserve file access times with rsync?

Is it possible to preserve file access times when copying/backuping files with rsync?
2
votes
1answer
364 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 ...
-1
votes
1answer
21 views

Does rsync over ssh require use of UDP?

I have a remote rsync backup to a server running over ssh, using NAT to specify a non-standard high numbered port on the router. Is it ok to only open the port on the router, and the ssh port on the ...
0
votes
1answer
31 views

Clone Server to home windows computer

My goal is to clone my ubuntu 12.04.5 - Server and send the files compressed to my windows computer over the internet. I am using ssh/putty to connect to my server. How do I compress and send the ...
1
vote
0answers
24 views

How to get the --rsync-path option to work with the rsync daemon

I'm currently writing an auto backup system in python that'll dynamically sync to specific directories on a server depending on what user, machine, and os is currently running. I'm trying to get the ...
6
votes
2answers
10k 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
22 views

rsync ssh sshpass server1 server2

I have created 2 servers, new to ssh sshpass s1 ip 192.168.1.245 s2 ip 192.168.1.76 wanted to copy files in s1>>/opt/files to s2>>/home/s2/backup objective: put 1 sentence in cron to do auto rsync i ...
0
votes
0answers
8 views

there is any way to mirror a folder of a smbclient with my notebook?

I have a smartphone, blackberry 10, and I can access to it via smbclient. Constantly I need to use files and docs on both devices. There is any way to sync the files that I've changed in my computer ...
17
votes
3answers
68k 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
35 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 ...
8
votes
4answers
17k 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
24 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: open(.git/objects/c8/...
10
votes
3answers
15k 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
68 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' /home/d/Desktop/Sandberg/...
1
vote
0answers
17 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 --exclude='/media/*/**'...
0
votes
4answers
238 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
58 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. However,...
29
votes
1answer
53k 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
36 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
54 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 is:...
0
votes
0answers
22 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
85 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
29 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
30 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
46 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 ...
0
votes
0answers
32 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
45 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
26 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
50 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
16 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
134 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 filelist....
0
votes
0answers
23 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
24 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
107 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
65 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
50 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
118 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
120 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
83 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 ...
0
votes
1answer
98 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
91 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 ...