Questions tagged [rsync]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
632 views

How do I get RSYNC to work with a LaCie-2big-NAS?

I am having a problem getting RSYNC to backup remotely to a LaCie-2big-NAS (internet connected HDD). I have set all the permissions for the target directory to be "rwx" (read, write, executable) and ...
Andor Kiss's user avatar
3 votes
1 answer
4k views

How to increase HDD write speeds

I have 2x Seagate Barracuda 1TB 1000GB 7200RPM 64MB SATA3 HDs in an ubuntu 16.04 server (Dell Poweredge 400SC). When copying files using rsync from one disk to another I'm getting speeds of 25-30 ...
denden's user avatar
  • 151
0 votes
0 answers
52 views

some clarification regarding hdd mount

when I run the command lsblk, the output is like this: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 1.8T 0 disk |-sda1 8:1 1 381M 0 part /boot |-sda2 8:2 1 1K 0 part ...
Joshi's user avatar
  • 343
6 votes
4 answers
37k views

Rsync issue: some files/attrs were not transferred

(I turn the whole internet upside down for the past 20 hours, none of the similar threads helped) This is between two debian(from) and purchase iptv ubuntu(to) servers moving files from one machine ...
ALi gg's user avatar
  • 61
0 votes
2 answers
1k views

Loading the / folder in RAM to make the fastest storage option possible

I've been playing with Linux for a while, and I'm wondering if the following is possible: 1: in the boot startup script, run commands to make a ramdisk as in this other post: How do I make a RAM disk?...
Matanya's user avatar
  • 362
9 votes
1 answer
11k views

Why is rsync 2x faster than sftp?

I'm transferring huge files, over a network to a destination server, totaling ~ 67 GB with individual zip files of size ~ 7GB. I tried copying to the destination using both sftp and rsync. rsync ...
kmario23's user avatar
  • 1,019
2 votes
1 answer
2k views

Rsync not working well with VeraCrypt containers

I have a script that mounts a Veracrypt container in my external HD, Rsync files into it and then dismount the container. Problem is that if I run it twice in a row, or some time later, for some ...
s3voch7's user avatar
  • 435
10 votes
1 answer
7k views

Fastest way to copy HDD

Given HDD 1TB with a two partitions: one is small ~24GB (for Ubuntu) and all the rest is the second partition with about 10% occupied space for multimedia files. I want to duplicate it as fast as ...
Tomilov Anatoliy's user avatar
1 vote
1 answer
17k views

rsync error: syntax or usage error [closed]

I am trying to copy local system folder files to remote server. tried below command in ssh using putty : rsync -avz -e 'ssh' C:\wamp64\www\magento3 [email protected]:/var/www/html but it gave ...
spylh9999ggr's user avatar
1 vote
0 answers
208 views

Back Up Ubuntu 17.04

I have a dual boot system installed on my pc (Ubuntu 17.04 & Windows 8.1) and I'd like to back up the Ubuntu partition on external HD. Some info: fdisk -l Disk /dev/sda: 931,5 GiB, ...
IDK's user avatar
  • 593
0 votes
1 answer
3k views

using rsync do compress whole directory during copy

Files, Folders, Sub folders from system1 are successfully copying to system2 using below command rsync -avzP -u -v -e ssh /opt/lampp/htdocs/files/* [email protected]:~/files_backup I need to ...
shaji's user avatar
  • 51
3 votes
1 answer
14k views

Error when getting information for file - Input/output error

I ran rsync sudo rsync -aE --progress /mnt/seagate/dataset/RD\ 8* /mnt/backUp/backUp/dataset/ and pressed ctrl-c by mistake. There was a SIG-INT error whic makes sense. But now, I am not able to ...
deeplearning's user avatar
0 votes
0 answers
418 views

rsync doesn't sync changes

I didn't find exact what I am looking for. I made the first rsync to an USB stick: rsync -uvarP --delete /var/lib/mysql /media/dag/BUCD03B I made a minor change in my source and redo the sync. ...
DJNJ's user avatar
  • 31
0 votes
1 answer
2k views

Ubuntu 16.04 rsync via ssh prompts me for password, how to make it a cron job?

Ubuntu 16.04 How to install rsync server for other systems to access via ssh using cron Setup: system "prime" with Ubuntu 16.04 and a second hard drive just for backups. /dev/sdb1 is mounted at /...
SDsolar's user avatar
  • 3,169
5 votes
2 answers
30k views

Ubuntu 16.04 How to install rsync server for other systems to access via ssh using cron

Setup: system "prime" with Ubuntu 16.04 and a second hard drive just for backups. /dev/sdb1 is mounted at /mnt I created a subdirectory named /mnt/prime for the first backup, of the prime boot SSD ...
SDsolar's user avatar
  • 3,169
0 votes
1 answer
387 views

Rsync doesn't recognize charset

When i am trying to synchronize my clent PC with server i get an error. rsync -rv -p 2222 --progress --delete-before --ignore-existing [email protected]:/media/Maindata/Книги/ /media/Maindata/...
Андрей Сотников's user avatar
0 votes
0 answers
41 views

Rsync still copying some folders

I'm using rsync to backup some files every day and I noticed that some folders already copied continue to be copied (that folders contain files). sudo rsync -ravp --delete /home/administrador/...
Érico Oliveira's user avatar
1 vote
1 answer
229 views

Rsync don't copy .BAK files

I'm using rsync to backup some files, but I realized that files with a .bak extension are not being copied. sudo rsync -Cravp --delete /home/administrador/ArquivosAL/ /media/administrador/Seagate\ ...
Érico Oliveira's user avatar
5 votes
2 answers
3k views

Permission denied (publickey) after rsync

DISCLAIMER: this may not be fully Ubuntu related but for some reason serverfault gives me an error when posting, plus I think some of you may have stumbled on something like this before I'm ...
TheVet's user avatar
  • 83
2 votes
1 answer
2k views

issue still ask credentiels with rsync over ssh with sudo

I want to sync 2 servers with rsync. Os are Ubuntu 16.04 I'm using a user named here syncuser user is in sudo group, on both servers in /etc/sudoers I put (on both servers) syncuser ALL=NOPASSWD: /...
Fabrice Gossart's user avatar
0 votes
1 answer
252 views

Strange file directories that I cannot delete

I used rsync to copy a TON of data to a new nfs server. Now I have a pile of really strange stuff. nfsparent@clientsandbox:/home$ ls -la total 124 drwxrwxrw- 2 nfsparent test 4096 Jun 30 08:38 . ...
Chris Hargraves's user avatar
0 votes
0 answers
67 views

Backup Solution for two /home directories

For years I have put my /home on an external hdd. It's now about 200 gig in size. I recently got my first SSD (250gigs). I want to put the OS (Ubuntu 16.04LTS) on the SSD and my question is with a /...
nn2013's user avatar
  • 151
0 votes
2 answers
428 views

Create a single logical volume from 2 external hdd's

I have an Ubuntu 17.04 with LVM enabled installation on a Linux server (but running Ubuntu desktop at present). It has 5 physical drives, but 1 logical volume of 7.2Tb. I would like to set up an ...
Single Entity's user avatar
0 votes
1 answer
45 views

Replace only xhtml files

With this command I copy the different files and replace them in the destination. rsync -av --existing web/src/main/webapp/com/* web/target/project/com/ How do I replace only files with .xhtml ...
Roknauta's user avatar
  • 290
0 votes
2 answers
2k views

Mount a NAS drive in ubuntu server - permission problems

First I'm a newbie in Linux, but I read a lot these days about it. I have a network and all my work files are in NAS drive. I start with an education purposes Ubuntu Server, with local messenger etc. ...
Krasi's user avatar
  • 1
16 votes
1 answer
42k views

Ownership/permission problem with automounting exfat drive

I'm new to Linux and am having problems automounting an exFat-formatted partition on a Lacie-disk in Ubuntu 16.04. I installed exfat-fuse and exfat-utils and could then mount manually using: sudo ...
swedishchef's user avatar
7 votes
1 answer
804 views

Where do files rsynced to a host go?

I accidentally rsynced .thunderbird to user@host instead of to user@host:/home/user. Where is .thunderbird now? Is there a good way to search for the folder?
Ole's user avatar
  • 1,477
3 votes
1 answer
2k views

rsync @ERROR setgroup failed

I set up rsync daemon on a Ubuntu server and I am trying to transfer a file from raspberry pi machine to the server: rsync --timeout 10 --progress --password-file ~/rsync.password --append-verify ...
CuriousGuy's user avatar
1 vote
2 answers
2k views

rsync hangs at certain point

I'm running backup with simple rsync command: sudo rsync -avr --delete --max-size=4G '/absolute-path/source' '/absolute-path/target' The trouble is, sync always stop at certain point - one small txt ...
Sebastian's user avatar
  • 1,188
2 votes
1 answer
2k views

How to raise up a Rsync environment on WSL to mirror changes from PC to VPS?

I have an Ubuntu 16.04.2 DigitalOcean VPS to which I usually SSH with Putty and make changes in there, but I recently found out I can make a duplicate of this server in my PC (Win10 home with WSL), do ...
user avatar
0 votes
0 answers
84 views

Monitor for new files to move, don't move files that have been moved before

I'm moving jobs away from a windows box, one task it runs is the following simple robocopy command: robocopy "c:\source\path" "c:\destination\path" /s /mot:10 /NP /M The /M flag enables me to only ...
jahcrispy's user avatar
1 vote
0 answers
49 views

Problem with rsync [duplicate]

rsync error: error in rsync protocol data stream (code 12) at io.c(605)[sender = 3.0.9] How can i solve it?
Henrique Do Rosario's user avatar
0 votes
1 answer
1k views

Using rsync to sync new files from windows folder to ubuntu

I am trying to backup my photos from my windows computer to my ubuntu server. But each time I run rsync it transfers all the files each time. I have researched how to modify the rsync command, but I ...
Jason's user avatar
  • 111
6 votes
1 answer
7k views

How can I use rsync via ssh in cron?

I have a private virtual server to which I'm trying backup some directories from local my /home directory. I've prepared this script: #!/bin/bash /usr/bin/rsync -rvvv /home/arkadiusz/scripts root@...
Arkadiusz Wieczorek's user avatar
1 vote
0 answers
4k views

use rsync to backup home directory to external hard-drive

I have a movable hard-drive that I would like to use to backup my data using rsync command. To accomplish that I would navigate to the directory of my external hard-drive (target directory) and run: ...
diegus's user avatar
  • 487
0 votes
2 answers
704 views

rsync from one server to other takes more space

I am trying to take the contents of an old Ubuntu server's /backup folder and rsync it over to a new Ubuntu server's /backup folder. The old server has 39G of a 50G drive used for the data. I made /...
user372429's user avatar
1 vote
0 answers
741 views

Using Timeshift gives - rsync error: some files/attrs

Ubuntu 16.04 Started using Timeshift - seems like a nice program but every attempt to restore gives the above error. Restore log is copied below 2017/03/29 11:22:31 [2807] building file list 2017/...
kerry's user avatar
  • 301
1 vote
1 answer
3k views

rsync + chmod multiple files

I have a source folder source/ -rw-r--r-- 1 27773 27773 12 Mar 23 21:41 aws-1 -rw-r--r-- 1 27773 27773 12 Mar ...
eakl's user avatar
  • 113
0 votes
2 answers
4k views

Can you tell SCP to cancel [as opposed to renaming] if file is present?

In order to help avoid generating errors, I need a way to stop an automated scp script to stop from overwriting files if they are already present on the remote folder, and just do nothing instead. Is ...
Anon's user avatar
  • 12.1k
0 votes
0 answers
550 views

How to restore /etc/ and its root permissions with rsync?

I backup my /etc/ on a NAS, with rsync -a, as user1 on the machine and user1 on the NAS. No root or sudo involved. When rsync creates the files on the NAS, it gives ownership to user1, although /etc/ ...
Bkyn's user avatar
  • 266
8 votes
1 answer
22k views

Cron job log reads 'No MTA installed', does that prevent the CRON job from finishing?

I have a cron job that is just running rsync on a particular directory. When I run the rsync command itself sudo rsync -av --delete /directory1 /directory2, it runs without issue and does exactly as ...
Hanny's user avatar
  • 183
1 vote
1 answer
7k views

rsync from unmounted webdav source

I've got a white-labeled, unbranded CCTV camera that exposes all it's recordings via a webdav server. For the past month or so I've been mounting the drive with davfs2, but it's not a particularly ...
Martin KS's user avatar
  • 349
1 vote
2 answers
420 views

rsyncing files based on size

I am trying to rsync files with the extension *.scala and only those no other files between two directories. If the size is different they should be synced. I am executing this command and seeing no ...
Salil Surendran's user avatar
0 votes
0 answers
401 views

rsync via ssh password prompt question

Hi I have an rsync shell script that synchronizes one host with a remote host: #!/bin/sh rsync -avz fqdn:/foo/dir1 rsync -avz fqdn:/foo/dir2 rsync -avz fqdn:/foo/dir3 The remote host permits the ...
jamieg's user avatar
  • 80
0 votes
0 answers
571 views

rsync command with sane defaults to backup to an external NTFS hard drive?

For compatibility reasons, I formatted my external hard drive with NTFS. I would like to use this drive to backup my entire Linux home folder. Given all the configurations and parameters that rsync ...
orschiro's user avatar
  • 13.3k
0 votes
1 answer
852 views

rsync slow via 100Mb/s ethernet

I have a file server running Ubuntu 16.04 with my entire music library, which is ~300GB, on it. I am using samba to share this media library via the local network. I also have a Macbook that I keep a ...
willem.hill's user avatar
4 votes
1 answer
5k views

syntax using rsync to remote server with id_rsa

What is wrong with my syntax when I want to backup files from a remote server? I can connect to the server but I can not use rsync for backup, this fails: rsync -auvtz --delete -e ssh -p 42 username@...
prebre's user avatar
  • 77
9 votes
2 answers
3k views

Sync two largely identical huge Files

I have two 300 GB files on different volumes: encrypted local backup encrypted ‘remote’ backup on NAS that is). By design, these two files are identical in size and also mostly (>90%) identical in ...
Frank N's user avatar
  • 1,340
0 votes
0 answers
468 views

Syncing directorys between two Ubuntu 16.04 LTS servers across WAN VPN

I have an Ubuntu 16.04.1 LTS server on the West coast. We just purchased another one for the East coast. We have a persistent VPN tunnel between the two sites. What would be the best way to get two ...
00fruX's user avatar
  • 1,271
0 votes
1 answer
316 views

Cannot rsync to secondary HDD on remote server; boot drive works fine

I am currently in the process of setting my girlfriend's desktop up as a home file server/media center. I personally use rsync to do large incremental file backups, and am trying to get it to work so ...
willem.hill's user avatar

1
6 7
8
9 10
16