Questions tagged [rsync]

Rsync is an open source command line tool for Unix and Windows systems that provides fast incremental file transfer to copy files and synchronize directories locally or between remote hosts. It is widely used for mirroring and backup.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

rsync + failed on error with Bad file descriptor

usually we not have this issue so its very rare! but today we got the following error when we are using rsync to copy files . when files - pkg_gh are with 1-3G size the error is like this Warning: ...
0
votes
1answer
7 views

Can rsync be used with x509 certs for authentication? If so, how?

I need to use x509 certs to be able to authenticate with a work server. This is not a problem with ssh and scp sessions but I need to set up cron'd rsync and I don't see how to get rsync to use those ...
0
votes
0answers
16 views

Why rsync with jump host and sshpass not working

I'm trying to rsync with 'sshpass' and using jump host to transform a file. The command I am using is - rsync -azv -e 'sshpass -p passwordToTargetHost ssh -oProxyCommand="sshpass -p ...
0
votes
1answer
19 views

rsync Not Immediately Showing Progress

When I run a rsync command on an Ubuntu 20.04 machine to transfer some files to a WSL1 system running on a Windows 10 machine, the transfer progress is not always shown immediately despite using the -...
0
votes
1answer
25 views

rsync created a bunch of empty directories even though I specifically only transferred

I used this command on my mac terminal to only to sync only java files whose size had changed on the remote host: rsync -rP --size-only --include="/" --include=".java" --exclude=&...
1
vote
0answers
17 views

rsync does not exit and stuck when an error happens

I'm sending a big file to a remote server with rsync through SSH. I have a problem, it gets interrupted very often. So I wanted to let the rsync problem auto retry when that fails. I read this linux - ...
0
votes
1answer
21 views

rsync 3.2.3 Transfer a globbed subset of files from a single source directory and ignore the rest

Variations on this question are everywhere and I have tried many suggested solutions. Yet I cannot grasp what it is that I am missing in the following rsync command: This sends everything in the ...
0
votes
1answer
25 views

Rsync - What does the -b (backup) flag concretely does?

I can't get my head around what the -b flag does. According to the official documentation : With this option, preexisting destination files are renamed as each file is transferred or deleted. But I ...
0
votes
1answer
27 views

Borgbackup - Functionality & Questions

I want to move away from rsync and so to Borgbackup and store them in an off-site backup repo. Now: If I restore e.g. a follow backup are then also all files of the previous backups present + the ...
0
votes
1answer
16 views

rsync --archive local/A/ remote/A/ changes ownership of /remote/A

When I run rsync --archive local/A/ remote/A/ the ownership of the folder remote/A is changed to that of local/A. I want this to happen only for files and subdirectories in A, not for A itself. How ...
0
votes
1answer
21 views

Using rsync to back up my Arch Linux distribution seems to have deleted my EUFI bootable drive. How can I fix this

I am operating the March 2021 version of Arch Linux on a Dell XPS 13 9310 laptop. I would list the Arch Linux kernel, unfortunately I cannot boot into my system to get it. The linux distribution was ...
3
votes
0answers
35 views

How to get output to STDOUT in Rsync while only logging changes to “--log-file” the way Rsync 2.6.9 did with Rsync 3.x

As a longtime macOS user I have used the built-in/bundled rsync binary that has been stuck at version 2.6.9 for various licensing reasons. I recently decided to start using modern rsync via Homebrew. ...
0
votes
2answers
19 views

How to upload very large files to FTP server with pause and resume? Similar to Rsync

I'm trying to figure out what is the best way to upload files to an FTP server with a pause / resume feature. Also, more importantly, I'm looking for a tool that might help with handling an issue ...
0
votes
0answers
32 views

rsync: [generator] failed to set permissions : Operation not supported (95)

I want to virtualize correctly Android 10 on top of my Jetson nano (arm64) using qemu and kvm on ubuntu 18.04. This is the tutorial that I'm following : https://github.com/antmicro/kvm-aosp-jetson-...
0
votes
1answer
17 views

Cron Job To Copy Changed or New Files or Folders

New here so please forgive me if this question (or a variation) has been asked and answered! I am a linux newbie. I have a folder with multiple sub-folders and files on disk 1 and have done an initial ...
0
votes
1answer
44 views

How to use rsync include and exclude to capture distributed set of files?

I'm trying to backup a machine using rsync and after reading numerous SO QAs and the man pages, I'm still failing to understand how include/exclude precedence works so I can transfer the right set of ...
0
votes
1answer
17 views

Rsync from Windows10 to Mac does not allow multiple source paths

I used to run a nightly rsync client on a Raspberry Pi to backup some folders from a Windows 10 computer. This script has been running without an issue for more than 10 years. I've recently moved the ...
0
votes
1answer
23 views

How to specify “no files except these extensions” in rsync?

I've created an rsync --include-from file by using a find command to find directory names of interest, and format them as such + dirname/***, which copies it and its contents. This works as intended, ...
0
votes
1answer
8 views

Why does rsync re-downloads unchanded files from server which allready exist locally?

I would like to use rsync to download files from a server to my local computer. This is no problem of course: $ rsync --progress -vr server-user@my-server:/path/to/remote/dir/ /local/dir/ receiving ...
1
vote
1answer
34 views

Rsync files between two remotes servers using SSH

Summary I want to copy files between 2 remote servers using Rsync and SSH. The way I found to do this is creating a SSH tunnel, but I tried with several examples and any of those worked. Details I ...
0
votes
0answers
16 views

Compile a list of files accessed on an NFS mount

The NFS mount in question is basically a set of build tools and libraries. I would like to copy them over to the local file system for faster builds. Copying the whole NFS share is a challenge: Is ...
0
votes
0answers
14 views

Bi-directional folder sync between two machines, with 'ignore' patterns?

Is it possible (and reasonable) to use rsync to set up a watch-driven, bi-directional syncing of a folder between two machines – allowing me to jump between machines and pick up where I left off? ...
0
votes
0answers
23 views

Rsync million files between folders and keep in sync

I have one directory with 30 folders and some 1 million files. I need to keep them in sync. Initial run took 8 hrs but thats no issue in the second run , it takes 20 mins to build the file list even ...
0
votes
1answer
18 views

rsync in cron without ssh-agent?

I'm setting up backup server, that will connect to production server and fetch backup with rsync via cron task. I have user on my backup server, I created public key and I can log with ssh to ...
0
votes
1answer
58 views

Rsync detect if transfer on same filesystem

I want to alias the mv command to rsync -av --progress --remove-source-files to make the mv command more verbose. It works, but can I add a way to detect if I'm moving the file within the same ...
1
vote
2answers
101 views

WSL (Ubuntu 20.04) - unstable permissions

I'm new to WSL and trying to use rsync for snapshot backups. Everything seems to be working as intended... except that rsync refuses to copy some files, citing a permission error with send_files. So I ...
0
votes
0answers
25 views

How to sync a specific dropbox folder with a specific onedrive folder without other cloud services?

I temporarily need to directly sync a folder on a Dropbox account with a folder on OneDrive, but do not want to use a service like CloudHQ. I do not want to replace Dropbox or OneDrive. I already use ...
0
votes
1answer
15 views

Why rsync found files who has vanished on exfat synology?

I try to transfer some files from an external hard drive in exfat to my synology Nas using rsync using the usb connection. During the transfert rsync found files who have vanished when it's time to ...
1
vote
2answers
36 views

How to make a file from destination don't be deleted when using the “--delete” flag in rsync?

The context Let's suppose we have the following directory organization mkdir -p a/foo a/bar b touch a/1.txt a/2.txt a/foo/b.txt a/bar/b.txt touch b/b.txt tree --noreport . ├── a │   ├── 1.txt │   ├──...
0
votes
1answer
33 views

More meaningful recap of changes in rsync dry-run while backing up the Linuix home folder

I want to use rsync (I'm actually using Grsync) to backup my home folder. The final command I decided to use is: rsync -r -t -p -v --progress --delete -l -s --exclude-from [MY_FILE_WITH_EXCLUSIONS] --...
0
votes
1answer
52 views

Show total progress on rsync

I'm trying to get Rsync to show total progress of the job using rsync -a -v -h -i --partial -r --no-inc-recursive --info=progress2 alex@RemoteLocation LocalLocation But I think it doesn't explore ...
1
vote
0answers
39 views

using rsync to quickly show only files that have different content

I've got a couple of disks which have a large set of files which are mostly the same. However, in a few cases there are files on one disk which differ from files on the other disk. There are also a ...
0
votes
1answer
28 views

Perl/Bash Solution to Test if a Folder Has Changed, Then Create Copy of It

I'd like to put together a script for a very rudimentary backup system that checks a directory recursively for any changes since the date another directory (the backup) was created and, if it finds ...
1
vote
1answer
30 views

syncing two folders into one, removing deleted files

Given folders named Drive1/Folder1 and /Drive2/Folder2 I want to have a folder /Drive3/folder3 that contains the synced merged contents of both the source folders, but does not contain any files or ...
0
votes
1answer
61 views

How do I solve the error “execv: No such file or directory” from rsync?

How do I solve the error "execv: No such file or directory" from rsync? I'm trying to back up several machines to a linux server using rsync and it's working in most scenarios: path-to-path ...
0
votes
0answers
9 views

Rsync file on ubuntu modify date is one hour ahead

I have a question, I am having some file rsync on daily basis to folder on my serwer so i wanted to check timestamps of that file and this is what I found: File: sync_file.7z Size: 15508 ...
1
vote
1answer
138 views

Rsync to Linux from remote Windows 10 server

I have a Windows server which I would like to PULL data from using Rsync to my Linux server. Installed openSSH and WSL with Ubuntu on the Windows 10 machine (build 1709) and currently - I am able to ...
0
votes
0answers
17 views

Rsync fails when copying to a mounted NFS share in Ubuntu

I run the command to copy data between one server and another. The /remote dir is mounted via /etc/fstab as an NFS share. root@server2:/usr/local/bin# rsync --bwlimit=10000 -axWSr --progress --timeout=...
1
vote
0answers
8 views

How folder modification time affects unison file synchronization? (Windows)

I used unison to mirror a folder in Windows (using options -force and -times). It worked well, but the folders modification time has changed in the destination and now original and new folders differs ...
1
vote
0answers
48 views

rsync --ignore-missing-args not working

I'm trying to use rsync actually inside loop to backup a list of directories from remote. I just want to ignore if src directory do not exists. I got from most of the forums that --ignore-missing-args ...
-1
votes
2answers
36 views

How would I rsync from SRC to DEST, verify the DEST file, then delete the SRC file? (rcursively)

I have two directories in a bash script held by these two variables $SRC $DEST How would I do a rsync copying files from $SRC/ to $DEST/, Verifying that the $DEST/* files match the $SRC/ files (best ...
1
vote
2answers
49 views

rsync-like copy command on windows

tl;dr I'm looking for a near-exact replacement for rsync --recursive --update on vanilla Windows. details What is a command, in Windows, that works like: input: a filesystem pattern (restricted to ...
0
votes
0answers
33 views

What's the reason for “rsync: mknod ”[…]“ failed: No such file or directory (2)”?

I'm using a Synology DS1512+ to backup multiple directory trees to some external USB-HDD using rsync. The logs of that process contain the following error message: deleting volume1/dasi_de.am-soft....
0
votes
0answers
84 views

rsync to windows server closes connection

I'm trying to rsync files to a remote windows 2016 server from my windows machine. This is the command I used rsync -Pav myuser@mydomain@myserver:D:\test . Error I got is: NoProfile : The term '-...
0
votes
1answer
120 views

rsync extremely slow with exported/mounted folder, much faster with ssh

I have an NAS device set up as a backup for all my home systems, and currently it is set up to use ssh with code adapted from here. A shorted version of my code is: NAS=192.168.1.143 ...
1
vote
1answer
16 views

Permissions after swapping NAS drives

I’ll start with a list of facts: I had a 1gb drive connected to my NAS. I use rsync to backup a /folder with many subdirectories for a server (bbs software) in which the permissions and file ...
0
votes
0answers
18 views

Can I run Samba shadow copy with “snapshots” made by rsync

I have a RAID6 hardware disk, ext4 filesystem, shared via Samba in a Windows Domain. Samba DC. A friend told me he was quite happy with "Shadow Copy" Windows feature and I saw this is ...
0
votes
0answers
21 views

rsync: operation not permitted - symlink copy is pointing to the source dir

trying to do as perfect a file copy as i can from folder A to folder B without dd/whole partition cloning. copying windows 10 system files that need everything preserved so it can boot (i'm aware of ...
1
vote
1answer
129 views

USB flash drive no longer recognised after copying files

I have an R+M USB 3.0 that is no longer recognised by my PC (running Windows 10). The disk appears greyed out, 0 bytes available, as in this answer. I don't mind about lost data, what I want to know ...
0
votes
0answers
37 views

Why is rsync crashing when I specify -X?

Can anyone explain why rsync is crashing when I use rsync -X to try copying an XFS file with extended attributes from a CentOS 7 system to a macOS Catalina one, along with the following debugging ...

1
2 3 4 5
25