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

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. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination. Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.

Rsync website

1595 questions
0
votes
0 answers

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 large so I use the --inplace option to save…
0
votes
0 answers

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 want the files to be copied directly from one…
0
votes
0 answers

Ubuntu 20.04 / 22.04 - Remote ssh or rsync killing all process from user

I got a weird strange odd behavior (there's not enough adjectives for that) on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. This is a IBM Db2 test server. The server runs a Db2 service under db2inst1 user id (UID 1002). The server name is…
adamitj
  • 113
  • 4
0
votes
0 answers

Rsync often stacks while I am connected to VPN through wsl

From time to time while running rsync command through wsl, it stacks, and I need to run it again. This only happens while I am connected to VPN. Not sure why this happens RSYNC_COMMAND=avAXEWSlHhz rsync -${RSYNC_COMMAND} --timeout=3 --chmod=ugo=rwX…
csandreas1
  • 101
  • 3
0
votes
1 answer

rsync: remote command not found (code 127) at io.c(254) [sender=3.1.2]

To establish a backup between a local file server and a remote webspace (with ssh and rsync access) I wanted to use rsync. With the command rsync -aPv -e "ssh -vv IonosSB" --delete /volume1/fff/sss/…
Snoopy17
  • 1
  • 2
0
votes
0 answers

Can I prevent rsync from setting attributes on the topmost directory?

I'm currently building a solution to rsync Gerrit data into a Kubernetes container which has storage (a persistent volume) mounted at /var/gerrit/logs/. I am trying to use the rsync command below, but it fails as it can not edit the attributes of…
0
votes
0 answers

rsync error: /etc/ssh/ssh_config: Bad configuration option: clientaliveinterval / clientalivecountmax

I am trying to copy directories from one server to another using rsync using: rsync -avr /home/ @111.111.111.11:/home// I get this error (on the sending server): /etc/ssh/ssh_config: line 54: Bad configuration option:…
peppy
  • 73
  • 2
  • 10
0
votes
1 answer

Optimize rsync for bandwidth usage

I need to use the minimum amount of bandwidth when patching files from a server. How can I configure rsync to achieve this? I've tried the following for 10Mb file filled with random text, then made just a few bytes of changes rsync -azv…
0
votes
0 answers

How to enable rsync server on QNAP 5.0.0.2131

I'm trying to enable the HBS 3 rsync server on QNAP 5.0.0.2131 but I get "An unexpected error had occurred" when I'm trying to apply the changes. On the logs there's only info when I try to start the server but nothing else. On other QNAP with a…
Dane411
  • 101
  • 2
0
votes
0 answers

Tentative of shh->rsync to wrong IP; potential security risk?

I have set up a little RPI backup 'server' (with rpi OS) on my LAN. I use it to create a backup of my main personal machine data using rsync, and I reach it from outside my network through SSH (key-based authentification; I have disabled all the…
0
votes
0 answers

How suitable is a S3 backend for rsync operations?

I run a large server providing open source software (https://ftp.halifax.rwth-aachen.de), currently serving more than 30 TByte of data with Multi-Gigabit throughput. Data is synchronized and kept up-to-date using rsync, i.e. synchronizing the data…
C-Otto
  • 334
  • 5
  • 18
0
votes
0 answers

RSYNC :: How to copy only new files... if you delete the files you previously copied?

I have a remote server that is continuously generating log files and saving them to a directory. Unfortunately, the log files are generated at random times, so you can't predict when the next logfile will be available. I have a second server…
Pete
  • 131
  • 6
0
votes
1 answer

RedHat - Rsync files using SSH authentication via HTTP proxy

What it says on the tin. I've got a firewall I don't control, an HTTP proxy I also don't control, and need to rsync files through the web proxy. I have Googled this to death, but the only things that look like they might work require Corkscrew,…
OstermanA
  • 111
  • 1
0
votes
1 answer

Is the approach of backuppc (or similar backup architecture) safe in principle?

I'm looking over a physical server that runs VMware and 4-6 VMs (mostly Linux but also Windows10/11). Currently I'm backuping only 2 Linux VMs (the others aren't critical), by mounting an NFS share from our local NAS and using rsync to dump…
Wojciech
  • 3
  • 1
0
votes
0 answers

rsync - exclude error messages

I use rsync with --log-file option in crontab. How can I exclude error messages from the rsync_out.log file? $ rsync -ahW ./test.txt /media/nas/mycloudex2ultra/ --log-file=rsync_out.log rsync: [sender] link_stat…
emmto
  • 1