Skip to main content

Questions tagged [rsync]

rsync is a tool to efficiently copy directory hierarchies, locally or remotely, with powerful filters to decide what gets copied.

0 votes
1 answer
38 views

rsync with --include-from breaks hardlinks (evec with -H)

I'm trying to copy a bunch of files (around 50000) from an include-file list. THe include-file has relative path to the files on the source folder. I'm using the following command : rsync -avPilHAXWE \...
François-Xavier Payet's user avatar
2 votes
1 answer
208 views

Rsync from a file containing a list of absolute file paths

I have a file containing a list of files and folder with absolute path. I want to rsync those files and folder without preserving the paths to the current directory. Currently I am doing while IFS= ...
Rittwik Chatterjee's user avatar
4 votes
2 answers
547 views

How to rsync a large file by comparing earlier versions on the sending end?

Every day, the remote site builds a large file, and they store the previous few days worth of this file. Every day, they want to transfer that file to my server, but sometimes it takes in excess of 24 ...
Steve Jones's user avatar
5 votes
1 answer
261 views

Error 44 trying to rsync over ssh on Synology DSM

This is a bit long winded but I want to give as much information as I can. I have a Synology NAS running DSM 7.2.2: steve@NAS:/volume1/docker/backuppc-mdns$ cat /proc/sys/kernel/syno_hw_version DS223j ...
zephod's user avatar
  • 73
0 votes
1 answer
42 views

rsync copy several modules into directories

I'm trying to use rsync to copy data from a webserver to a local backup. Considering I need to copy several things, including some home directories from different users, I'm running rsyncd with a few ...
RivenSkaye's user avatar
10 votes
5 answers
2k views

Keep two entire Linux desktop systems in sync

I have a laptop PC that I use for everyday tasks. I mainly use my PC for software development (so lots of git repos + IDE + development tools), browsing... lots of different stuff actually. I'm using ...
daniele_athome's user avatar
2 votes
2 answers
153 views

How to preserve creation time when copying [duplicate]

I want to preserve Access, Modify and Birth timestamps when copying files. I tried the following flags. rsync --atimes --times --crtimes --archive However I get an error that crtimes is not supported....
New to code's user avatar
1 vote
1 answer
106 views

why is rsync slow compared to cp

I asked the question yesterday of why is NFSv4 so much slower than scp. I narrowed down things a bit, my real question now is why is rsync slow compared to cp ? as I don't think NFS is a factor. I've ...
ron's user avatar
  • 9,092
2 votes
1 answer
129 views

rsync script for incremental backup which continues unfinished jobs

I have a script which does incremental backups with rsync (script 1). I tried to add the feature to continue unfinished jobs in another script (script 2) but this version does a full copy of the ...
ecjb's user avatar
  • 495
2 votes
1 answer
163 views

How to allow rsync via ssh to a specific directory only

I want to allow moving files to a specific directory on my server using rsync + ssh. However, I don't want to fully trust the users using that SSH user. One solution I found is to set the shell of the ...
GNA's user avatar
  • 131
1 vote
0 answers
62 views

Rsync and scp do not work when system is the remote connection

This is a pretty weird problem. I have a desktop running openSuse Tumbleweed (192.168.0.YY), and on that machine, I can send and pull files from other computers on my network without any problems. If ...
Michael Williamson's user avatar
6 votes
1 answer
498 views

`rsync`: trailing slash vs wildcard

Suppose I want to sync the contents of a directory (source_dir) using rsync without creating a directory named source_dir in the target directory. I can do this using rsync source_dir/ target_dir or ...
jdoe's user avatar
  • 63
4 votes
1 answer
208 views

Change zsh autocompletion for rsync version 3.2.4 and newer

rsync changed how it escapes arguments in version 3.2.4 (released 15 Apr 2022), and zsh doesn't comply with the new behaviour. For example, if I have a file named "my test file.txt", ...
cbg's user avatar
  • 43
1 vote
1 answer
100 views

rsync between two PCs which are both reverse SSH into a "jumpbox"?

Let us assume we have three computers (they are all running a modern linux distro) call one a jumpbox, and two others PCs: Jumpbox / \ / \ / \ PC1 ...
number9's user avatar
  • 1,112
0 votes
0 answers
57 views

Arch Linux - rsync succeeds but prsync does not work

I am moving a large number of files from one PC to another. The two PCs are in 192.168.0.0/24. I started by ryncing all music I had on my source PC to my new PC. > rsync -P --recursive 192.168.0....
Hyunbin Yoo's user avatar

15 30 50 per page
1
2 3 4 5
144