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

learn more… | top users | synonyms

1
vote
2answers
3k 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
1answer
19 views

What should I know about networking before I use rsync?

My friend just told me about rsync, and I tried to use it in command line. I was able to copy a file from one place to another on my own computer, but when I tried to 'rsync' a file to another ...
2
votes
1answer
18 views

rsync --exclude option for copying folders from server

I am trying to backup files from cluster to my local computer. On the process, I am trying to avoid some unnecessary sub-directories from cluster being copied. So I use rsync -av user@cluster.com:/...
0
votes
0answers
37 views

14.04 Installer crashes after selecting “install alongside Windows 8.1”

I'm attempting to install Ubuntu 14.04 LTS. After booting the DVD and selecting "install Ubuntu", it gives me the option of installing alongside Windows 8.1. However, after selecting that option and ...
1
vote
1answer
24 views

Best way to backup million of assets? weekly changing (adding only) using Bash Script?

I am currently setting up a website including a CMS which has millions of assets. Smaller and bigger pictures mainly. I would like to backup these files on a regular basis. For example weekly. I have ...
1
vote
1answer
79 views

How to download Ubuntu 10.04 (Lucid)'s repository? [duplicate]

Since Lucid's packages where moved from archive.ubuntu.com to old-releases.ubuntu.com I'm a bit worried about availability of the repository and want to provide a full local mirror. Are you aware of ...
1
vote
1answer
68 views

How to install Unison 2.40 on Ubuntu 16.04 xenial (to resolve “Fatal error: Received unexpected header”)

On my other computers I have unison version 2.40.102 (this is the latest version available), and on my desktop ubuntu 16.04 xenial I have unison version 2.48.3. When trying to synchronize: kayd@...
0
votes
2answers
19 views

Unknown ending in a transferred file name

I've used rsync to transfer a file from a local machine to the remote. The intended way of destination was /usr/share/nginx/html, however in the file name there is an additional line mentioning a ...
0
votes
0answers
16 views

Rsync to ZFS --delete only deletes top level?

I'm trying to get rsync to delete files on the ZFS target which have been deleted on the source, but it only works on the /home/boody level and not lower. Source is Mint 17.3 with /home formatted to ...
0
votes
1answer
16 views

How to move entire Back In Time backup set to new hard drive?

I have backintime storing backups to a hard drive. I'm replacing that hard drive and wish to copy everything from the old drive to the new one. How can I do that, preferably with rsync? I have 600GB ...
13
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
5answers
279 views

Syncronizing to NAS fails but works with USB disk

Rsync command: $ rsync -ah --progress --delete /path/* 192.168.1.1:/path/ Gives error ohto@192.168.1.1's password: Could not chdir to home directory /var/services/homes/ohto: ... rsync: failed to ...
1
vote
1answer
30 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
33 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 ...
0
votes
0answers
25 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
377 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
28 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
32 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
35 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
11k 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
38 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
14 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 ...
22
votes
3answers
72k 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
45 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 ...
10
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
26 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
111 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
1answer
61 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,...
30
votes
1answer
55k 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
3k 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
47 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
80 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
29 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 ...
18
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
87 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
31 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
2k 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
32 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
53 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
56 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
14 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
57 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
32 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
70 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
19 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
137 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....
1
vote
0answers
32 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 ...
1
vote
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 ...