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

learn more… | top users | synonyms

0
votes
0answers
13 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
20 views

How to preserve file access times with rsync?

Is it possible to preserve file access times when copying/backuping files with rsync?
-1
votes
1answer
20 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
21 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 ...
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
7 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 ...
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/...
0
votes
1answer
61 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
230 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
35 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 ...
0
votes
1answer
34 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
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,...
1
vote
1answer
48 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 ...
0
votes
0answers
26 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 ...
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
30 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
41 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
25 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
46 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
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
60 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 ...
3
votes
1answer
105 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 ...
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 ...
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.
2
votes
1answer
117 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
1answer
81 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
96 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 ...
0
votes
0answers
29 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/* - /proc/...
1
vote
0answers
88 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
47 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
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
22 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 -...
0
votes
0answers
80 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
112 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 ...
1
vote
0answers
30 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
159 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
23 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
110 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
220 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
59 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
64 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 ...
0
votes
0answers
33 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 ...