Questions tagged [rsync]
rsync is a tool to efficiently copy directory hierarchies, locally or remotely, with powerful filters to decide what gets copied.
2,152 questions
2
votes
1
answer
201
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= ...
4
votes
2
answers
542
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 ...
5
votes
1
answer
249
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
...
0
votes
1
answer
38
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 ...
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 ...
2
votes
2
answers
138
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....
1
vote
1
answer
101
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 ...
2
votes
1
answer
124
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 ...
2
votes
1
answer
154
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 ...
1
vote
0
answers
59
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 ...
6
votes
1
answer
490
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 ...
4
votes
1
answer
206
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", ...
1
vote
1
answer
96
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 ...
0
votes
0
answers
53
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....
0
votes
2
answers
135
views
rsync to SAMBA share permission denied
I have a NAS that exports some directories as SAMBA shares. It works normally very well.
Now I have mounted this particular share on a Linux box, using fstab. This also works. However, I would like to ...