Skip to main content

Questions tagged [rsync]

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon

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

What package includes the rrsync command?

The rrsync command is the rsync server binary, called from ssh server when execute a rsync client command for a remote connection, but what package includes the rrsync command? In my pc is located in: ...
e-info128's user avatar
  • 173
0 votes
0 answers
16 views

Encrypted backup duplication without decrypting (rsync or other)

I have a LUKS filesystem in a sparse file, containing a lot of backed up files. I would like to regularly copy this backup elsewhere (off-site), with read speed and bandwidth constraints (not ...
maxbc's user avatar
  • 129
0 votes
1 answer
39 views

Rsync to exfat external drive, quiet switch not working

I am attempting to use rsync to copy from my linux hard drive to an exfat external drive. The working code to copy from ext4 to ext4 begins as: rsync -Razh The code that I am attempting to use to copy ...
Tim Johnson's user avatar
0 votes
1 answer
95 views

How can I query the version number of a remote rsync server (daemon)?

How can I query the version number of a remote rsync server (or daemon)? I can find out the version number of my local rsync client using --version: % rsync --version rsync version 3.2.7 protocol ...
Jim DeLaHunt's user avatar
0 votes
0 answers
108 views

sshpass/rsync fails when not redirecting stdout etc

I am having a weird issue and I just can't seem to find the cause and a solution. I am on win11/cygwin (sshpass 1.06,rsync 3.2.7) I call: /usr/bin/sshpass -p $sshpasswd /usr/bin/rsync --dry-run -...
Dominik's user avatar
  • 11
0 votes
0 answers
53 views

Unreasonably slow SSH tunnel - but just in the opposite direction

While setting up rsync to a remote computer, I realized that syncing from my laptop the remote was fast, but the opposite was slow. After some debugging and iperf3, I figured that this only happens ...
doppioandante's user avatar
0 votes
0 answers
99 views

How to ignore folder modification time with rsync

When rsync compares src and dest trees, it checks for modification time. For folders, if the modification time changed, it'll update that modification in the destination. I'd prefer not. Ignoring the ...
Jief's user avatar
  • 1
0 votes
1 answer
31 views

Total space in bkps using rsync and hardlinks: who is right between du and Synlogy web interface?

I bkp my server root partition on a Synology NAS (fs: btrfs) mounted as NFS on /mnt/bkps using this script that is based on rsync and hard links, to to have daily bkps. If I check the space using du ...
Antonello's user avatar
  • 147
0 votes
0 answers
68 views

Rsync inline on large files: is is possible to skip the initial checksums?

Trying to sync large files (a VM image) between machines with rsync single.large.img user@host:/destination/ --inplace --progress or rsync *.img user@host:/destination/ --inplace --progress, the ...
David Spillett's user avatar
0 votes
0 answers
129 views

Script to wake up and shutdown a remote backup server after rsync command

How can I script the wake up of a remote backup server (with Ubuntu Server 22.04), and after rsync command is complete, shutdown the server. For example, the server would turn on every Friday at 12am ...
aguyfrombrazil's user avatar
0 votes
0 answers
40 views

I upgraded Debian 10 to Debian 11, then Debian 12. Why does previously used commands now say out of memory?

I upgraded two low end vps systems only used for mail and dns from Debian 10 to Debian 11 then to Debian 12. No issues during either upgrade for either system. I have a cron that rsync's the vmail ...
Sym's user avatar
  • 1
-1 votes
1 answer
175 views

how to sync /home directory in Linux (centos)

How can I keep in sync my /home directory on two different systems? I found something like unison, but it is no longer in the repositories of centos9. Are there other possible solutions? The ...
2IRN's user avatar
  • 99
0 votes
1 answer
107 views

Extract hard linked backup data from file server with rsync to exFAT file system

I need to gradually extract all data of the specific directory from Time Machine backup so: it fits the destination drive size it has no hard links because destination volume file system is exFAT it'...
bananakid's user avatar
0 votes
0 answers
161 views

Combining rsync -t and --ignore-existing

I'd like to preserve the time of modification for files that did not exist on target, but do not change files that already exist, even if the modification times differ. I thought that rsync with -t ...
Etua's user avatar
  • 15
0 votes
1 answer
189 views

How do I configure multicast to be used with rsync in batch mode

The rsync man page says "Multicast transport protocols can be used to transfer the batch update files in parallel to many hosts at once, instead of sending the same data to every host ...
Senior Geek's user avatar
0 votes
0 answers
252 views

File transfers very slow in one direction

I am having trouble debugging a connection issue : Server A (OMV) has a fast internet connection : 900mbps down / 600 mbps up Client B (Windows 10 using wsl) has a decent internet connection : ...
Elerir's user avatar
  • 1
0 votes
1 answer
68 views

Rsync creating infinite nested directories

To be truthful, I don't really know if this is caused by symlinks or rsync but I've stopped using symlinks and migrated over to using rsync months ago. So I guess this is just to be sure %100. This is ...
Abdul Sadik Yalcin's user avatar
0 votes
1 answer
267 views

rsync cache/deduplication for similar files

I am using rsync to transfer/update 100s of TB from one fileserver to another, millions of files. Many of those files are quite similar (but not identical). I was wondering if there's a way to benefit ...
uli42's user avatar
  • 325
2 votes
0 answers
2k views

Why on earth would rsync over SMB run nearly five times faster than rsync-to-rsync (over SSH)?

I just modified many files on a 36TB Unraid array (not quite half full yet). Now I want to sync all of those changes up to a backup array using rsync. My usual rsync backup was going a lot more slowly ...
kshetline's user avatar
  • 129
0 votes
0 answers
178 views

Rsync stopped syncing files

I recently moved to a new server and my rsync script that ran perfect for months stopped working. I'm at a loss for why. I have a 'dev' server and production server. When I run the following ...
hendr1x's user avatar
  • 101
0 votes
1 answer
328 views

rsync cannot write files to folders it created

As the title says, Rsync is not able to copy files to the folders that Rsync itself created seconds before. I thought it could be a problem with curlftpfs, which is what mounts the ftp folder. I ...
ICIM's user avatar
  • 162
0 votes
1 answer
46 views

copy many files with big sizes over rsync

I have database server on AWS and the backup of databases are over 1000 files with sizes can reach 5GB, I am using a script to copy the backup to my data center using rsync, but the copy is slow, I ...
Khaled Hussein's user avatar
0 votes
1 answer
249 views

Suddenly, outbound scp, sftp, rsync, & ssh /bin/true fail; ssh still works

Problem On my MacBook Pro running Mac OS 10.15.7, I cannot do outbound scp, sftp, or rsync to seemingly any server (I've tried ~10 I own). I also cannot run remote commands by ssh, e.g. ssh ...
Michael Sorice's user avatar
1 vote
1 answer
241 views

Why is there a discrepancy between Finder and rsync when handling dot files?

Starting from two files ~/foo/bar1.txt ~/foo/bar2.txt on my Mac's root volume, I copy the folder ~/foo (it's large; this is just an example) to /Volumes/Kiwi. I know from past experience that Finder ...
Sam7919's user avatar
  • 111
2 votes
2 answers
264 views

rsync uncompressed to single compressed archive

Question How can I rsync uncompressed (but highly compressible) data to a single compressed archive (.tar.gz, .zip, etc) without transferring all the data each time? Current This is what I am using ...
fejyesynb's user avatar
  • 121
2 votes
2 answers
280 views

How to make ddrescue rescue unreadable files along with rsync run when you backup files, when they exist only at the source?

How to make ddrescue rescue unreadable files along with rsync run when you backup files, when they do exist only at the source? I think that major programs that work on backup disks must "merge&...
Elias Estatistics's user avatar
3 votes
2 answers
1k views

Rsync daemon, if it isn't using ssh, how does it authenticate the user trying to transfer data?

I understand that you can avoid ssh authentication with rsync daemon, but what method of authentication is it using then? How is it transferring the data?
displayname12345's user avatar
0 votes
0 answers
40 views

rsync replicate existing rsync server data

I have a master backup system that rsync's with windows servers and does incremental backups with the --link-dest flag. Works great. Each day it looks at the previous day and only backs up what ...
Jeremy's user avatar
  • 1
0 votes
0 answers
149 views

Rsync Webmin from master VPS1 to child VPS2

I am attempting to replicate(rsync) the etc/webmin directory from the Master VPS (VPS-1) to the Child VPS (VPS-2). However, after performing the copy, the server summary on the Child VPS still ...
Arraf Khan's user avatar
0 votes
1 answer
133 views

rsync directory is smaller at destination

I am having a difficult time using rsync from my computer to a remote server. I have a folder with a few sub directories and a lot of small files. On my computer the total size of my directory (using ...
S.Beale's user avatar
0 votes
1 answer
135 views

Rsync when system resource utilization is low

I have a machine that suffers periods of resource contention (CPU or Memory or Disk or some combination) and I don't want Rsync to add to the problem when that occurs. Is it possible to setup Rsync to ...
webwalkerant's user avatar
3 votes
2 answers
2k views

Test network transfer speeds with rsync from a server with limited storage

I want to test transfer speeds from server A to server B, but server A has limited disk space (<50GB) and because the network speeds are fast within the same data center, transferring 50 GB may be ...
philshem's user avatar
  • 133
1 vote
1 answer
1k views

rsync: No space left on device (28)... with a lot of free space

I need to make a copy of 200GB in a 500GB external SSD disk to a 2TB NVMe M2 SSD, which has more than 1TB free. All my other disks and partitions have lots of GBs of free space, too (well, except for ...
Luis A. Florit's user avatar
0 votes
0 answers
63 views

Migrating form Hostinger VPS to DigitalOcean Droplet Ubuntu 22.04

I am planning to migrate a Linux server to a new machine using rsync for a complete clone. What are the best practices to ensure a successful migration, including preserving configurations, libraries, ...
lasagna's user avatar
2 votes
1 answer
144 views

Filenames change when RSYNC to NAS with CIFS or NFS

I have noticed that after a RSYNC to a Truenas core 13 NAS with either a nfs or cifs mounted folder, file names will change. Source device Kubuntu 22.04 example: Pirates of the Caribbean: At World'...
Lost_Ones's user avatar
0 votes
1 answer
236 views

rsync skip transferring files that take longer than n minutes

I run rsync as a cron job within a script. Sometimes transfer speed falls down and my large files (say over 1G) take so long to transfer and this stops my script functionality. Is there a way I can ...
PouJa's user avatar
  • 135
2 votes
1 answer
231 views

Discrepancy in file usage after rsync

I copied files from an exFAT filesystem to an ext4 filesystem: sudo rsync -avz /media/user/1TB-SD-EX/ -e ssh example.com:/data/pc/sd1tb After successful run I check source and destination size with ...
NeDark's user avatar
  • 473
1 vote
2 answers
2k views

How to install rsync 3.2.7 on Ubuntu 20.04.2

I want to isntall rsync 3.2.7 on Ubuntu 20.04 - however I'm not sure if that's possible; currently I have 3.1.3 installed on the system (which is installed by default). I found this question but it ...
Wojtek_B's user avatar
  • 1,053
1 vote
1 answer
75 views

extract full path FIND with special character handling

Executing a comand like: find /some_path -mtime -3 -type f -name "*.txt" the out is something like: /some_path/file 1.txt /some_path/file2.txt If I include this output in rsync with ...
Jacopo Nasi's user avatar
1 vote
0 answers
109 views

Backup drive on Linux system keeps getting corrupt. How to troubleshoot?

My webserver (Debian BullsEye) has an internal 2TB harddrive which sole purpose is to hold a backup of the server's main HD. Every day a cronjob is started that creates a backup using rsync. But every ...
Zippy1970's user avatar
  • 289
0 votes
1 answer
285 views

rsync Connection getting failed to remote server

I've configured a rsync server on a Windows Server 2019 (Server Name - ServerX). rsync is working fine within the ServerX. But none of my local machines are connected to ServerX via rsync. rsync is ...
Supun Madhusanka's user avatar
2 votes
3 answers
614 views

rsync is not preserving file timestamps with the 'a' option when writing to cifs mount

My Ubuntu 22.04 VM (on my synology nas) preserves file timestamps when writing to it's local filesystem, but not when writing to a cifs mount (on the nas). This causes it to re-grab the non-preserved ...
Rob's user avatar
  • 21
0 votes
1 answer
674 views

"rsync: [generator] mknod … failed: File name too long (36)" though file & path name lengths are way shorter than 255 & 4096

On a QNAP NAS I'm trying to copy a huge backup directory from internal to an USB disk. The backup set was created using back-in-time, therefore it uses hard-links for deduplication and encfs generated ...
bentolor's user avatar
  • 141
0 votes
0 answers
113 views

backup /home over sftp - root

My current task is to set up a (remote) backup (using rsync/rsnapshot) over sftp of /home (linux). Obviously some files are read only for the owner (ie -r-------; and should stay that way) so i guess ...
ropchain's user avatar
0 votes
1 answer
122 views

rsync failure not detected by duply/duplicity; corrupted backup "successful"

First of all, I recognise these are not the most recent versions of duply and duplicity. The client runs servers on various OS versions, and we currently install duply and duplicity from the system ...
Hugh Ranalli's user avatar
0 votes
1 answer
275 views

Does daily rsync OS backup push SSD drives to its limits?

Since past year I'm using Rsnapshot (which uses rsync) to do my daily laptop Linux Ubuntu OS backup to a local NAS. Some months ago I started having serious problems with the OS stability. It seems ...
Danijel's user avatar
  • 256
0 votes
1 answer
242 views

rsync: updated files to new folder

rsync allows to copy/synchronize folders without transferring files that already have been synchronized before and that did not change since last run. For that, you typically have to specify the ...
user236012's user avatar
0 votes
0 answers
293 views

rsync --inplace does not update file

I try to use rsync to backup a virtual box vm. This does not succeed: the disk image is not updated. I tried it on the vdi file alone as a test. The virtual machine was not running. The file is very ...
user1777224's user avatar
0 votes
0 answers
1k views

Is there a tool for copying files directly from any running Kubernetes pod to another?

I would like to move a large file set from a running Kubernetes pod to another (possibly in another cluster) in order to migrate quickly from one Storage Class to another with little or no downtime. I ...
Richard Fairthorne's user avatar
1 vote
1 answer
175 views

rsync Delete only Matching files

How can I use rsync (or another program) to delete identical files between directories? To be identical, location and metadata should match (permissions, ownership, timestamp) For example, I backup ...
user206746's user avatar

1
2 3 4 5
33