Questions tagged [rsync]

a utility used to synchronise files between locations (possibly over a network)

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

cannot unmount a disk after rsync backup

I have taken a backup of a large directory onto a mounted external disk, using "rsync -av". The command terminated after sometime, but after that I am unable to unmount the disk, when I try ...
1
vote
1answer
34 views

How to rsync exclude directory and subdirectories Multiple

I want exclude multiple directory and subdirectories and its contents files. I want to transfer(send) all folder and file from /home/admin/web/domain.com/public_html But want to exclude these ...
0
votes
0answers
20 views

Ubuntu core appliance, NextCloud Home: How do I backup files

I have installed the NextCloud Home Ubuntu appliance on an Intel NUC with one old fashioned spinning disk and day-to-day operation works well. Now I'm a relatively happy NextCloud user and so are ...
0
votes
0answers
37 views

Raspberry Pi Rsync

I've run through this guide https://medium.com/xster-tech/move-your-existing-raspberry-pi-4-ubuntu-install-from-sd-card-to-usb-ssd-52e99723f07b in order to move Ubuntu from my SD card to my internal ...
0
votes
0answers
48 views

How to set up crontab in ubuntu 20.04?

I have written several backup tasks in crontab and I use rsync to do the backup. One of the backup tasks is as follows: 30 1 * * 6 root rsync -avz super@192.168.0.5::codelab /backup/gitlab --password-...
2
votes
1answer
44 views

rsync exclude option with file names with spaces

I have been trying to run rsync as follows; rsync -av --exclude '/home/joe/VirtualBox*' /dst where VirtualBox* denotes all files and directories under the directory 'VirtualBox VMs' However, it does ...
1
vote
1answer
31 views

rsync with --delete-before except if source empty

I back up a hard drive with an rsync --delete-before cron job. The problem is that if the source drive fails then rsync sees it as empty and everything is deleted from the backup - exactly what you ...
1
vote
0answers
25 views

I think rsync://old-releases.ubuntu.com/ubuntu/dists does not match https://old-releases.ubuntu.com/ubuntu/dists, can you verify?

I'm trying to maintain an rsync mirror of old-releases.ubuntu.com, and when I rsync the /ubuntu/dists directory, I get the same as what's found at https://archive.ubuntu.com/ubuntu/dists. When I visit ...
0
votes
0answers
82 views

List path of same folder content of two hard drives

I have two hard drives that I want to use for backing up copies of Instructional DVDs. The probleme is that in Drive A the DVD might be in \home\instructionals\Gman\ but in Drive B it might be in \...
0
votes
1answer
50 views

Lubuntu 18.04, rsync gives me ‘sh: rsync: command not found’ rsync version 3.1.2 is installed

I am trying to rsync the root folder of an iPhone over ssh into a folder at /home/Ryan/Downloads/iphone $ rsync-e ssh root@192.168.0.74:/ /home/Ryan/Downloads/iphone I then enter the password when ...
2
votes
1answer
56 views

Compare files in directories with different structures and show differences (20.04)

While this may sound like a task that could be accomplished by rsync, diff and the likes, I haven't managed to succeed. AFAIK, these tools take the directory structure into account when comparing the ...
0
votes
0answers
32 views

rsync over direct ethernet connection slows down quickly

I've connected two Ubuntu Server 20.04 machines with a direct ethernet connection. One is a computer with a RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller, the other is a Raspberry Pi 4 ...
0
votes
0answers
16 views

rsync slow and zip file help

Trying to move alot of movie files over rsync to another server rsync -avzh --remove-source-files --progress /home/folder/avi/ root@1.2.3.4.5:/home && find /source -type d -empty -delete --...
0
votes
1answer
101 views

Rsync running Rsyinc in the background

Trying to run rsync in the background rsync -rt /home/2/folder/1234 root@12345678:/stor/folder CTRL-Z Entering bg and it runs in the background but now when I exit my SSH connection it stops? I tried ...
0
votes
0answers
13 views

Installing TeXLive 202 from a synced folder on local hard drive

I have a synced repository folder for TeXLive 2020 on local hard drive and want to install it in Ubuntu. In other word I don't want to use internet to install it. Is there a way for doing this?
0
votes
1answer
31 views

One Volume Did Not Go DST with the rest of the system

I have one 8TB USB-mounted drive (exfat) on an Ubuntu 20.04 server. The files on there seem to have stayed an hour behind. This is giving various rsync and rclone jobs quite a workout! Any ideas ...
0
votes
0answers
74 views

repo : fatal: cannot create directory at 'pathtools/testdata/escapes/**': Invalid argument / > rsync error: some files/attrs were not transferred

I'm trying to create an AOSP image intended to be run on the Nvidia Jetson Nano platform. To to this,I need to clone the repo from this page : https://github.com/antmicro/kvm-aosp-jetson-nano ...
0
votes
2answers
60 views

How to get rsync to synchronize only new blocks for blockchain

Every time I run rsync to backup a blockchain, it starts from the beginning and tries to sync the whole thing, every time, even though there may only be a few blocks worth of data that is new. The ...
0
votes
1answer
34 views

Why is Ubuntu unable to do MTP <-> SMB transfers?

Nautilus can't copy between SMB and MTP device. same for rsync which gives: rsync: [receiver] mkstemp "/run/user/1000/gvfs/smb-share:server=192.168.1.20,share=backup/phone/files/filename.txt"...
1
vote
1answer
153 views

The trickier part of a backup: The restoration

I would like to make the backup process of my system as sensible and efficient as possible. (Well, not as possible maybe, but a little bit at least.) In this course, the backup itself is the most ...
0
votes
0answers
38 views

How to quickly transfer files (using rsync) from a computer to another

I want to transfer the whole content of a partition from a computer tu another. The answers to this question apparently solve the problem exactly as I wanted. But the result is too slow. What I did: I ...
0
votes
1answer
50 views

rsync log file gets corrupted when using nano editor or mail ( postfix ) command

I have a strange situation where I am re-directing the whole output of an rsync command to a file and the file gets corrupted if I open it with nano editor or if I send the output to outlook mail. If ...
0
votes
0answers
34 views

Why is my command line in script modified before execution

I am trying to create an rsync script and am having problems with my parameters. This is section of script causing problem. rsync -inaruAX --stats --exclude={.[a-z]} $source $destination > "$...
0
votes
1answer
25 views

How to Transfer files from computer to cloud server using an intermediate server?

I have a hardrive containing 2.5 TB of data. I want to copy these files to my cloud server which has enough hspace. But, this cloud server can only be accessed through a intermediate server, which ...
0
votes
0answers
24 views

Proper and accurate way to back up in a folder, the hole System

What is the most accurate and safe way to backup the hole System (all the / directory) on ubuntu? I am new to Linux, and I am running Ubuntu Server 20.10 on a Raspberry Pi, and I want to backup ...
0
votes
0answers
17 views

rsync error unable to use options

I'm learning rsync. The man makes my eyes and brain bleed, especially the Option which isn't in alphabetical order and -e has numerous meanings. I'm testing transferring a file from machine0 to ...
0
votes
0answers
85 views

RSYNC over SSH - NOPASS (www-data)

Both systems are running Ubuntu 20.04 I am relatively new to linux, and I know there have been a lot of questions on using RSYNC to copy files over SSH without a password, but I need some step-by-step ...
0
votes
1answer
330 views

Warning: Permanently added '111.222.33.40' (ECDSA) to the list of known hosts

While I run rsync command to copy one directory from one server to another I get this warning: Warning: Permanently added '111.222.33.40' (ECDSA) to the list of known hosts. The command looks like: ...
0
votes
0answers
30 views

Moving VirtualBox to External Drive

I have massive encrypted external drive that I would like to move my entire "VirtualBox VMs" folder onto as to save hard drive space. However, I also keep my manual backup of my system &...
0
votes
0answers
167 views

rsync copies files but on folders returns permission denied

OS : Ubuntu 16.04 xenial Source Folder : /home/nas/Desktop/STORAGE/Depo_Alarm_Kodlari Destination Folder : /home/nas/Desktop/GrafikYedek I'm trying to create incremental backup with this command : ...
1
vote
0answers
52 views

Netboot a machine, automatically rsync internal HDD to network master and continue booting from internal HDD

I have a server which stores the master image for a set of client computers. As of now the clients netboot from the server and use an overlayfs, so any changes do not affect the master image. Changes ...
1
vote
0answers
85 views

rsync from NTFS to ext4

I made a backup of a folder on an external NTFS drive on an ext4 folder and it went fine. The problem I have now is that rsync ignores already existing (and unchanged) files and syncs everything even ...
0
votes
1answer
136 views

Is there any TUI application for commandline for command rsync?

I use rsync now from the command line between two servers to transfer files. Is there a command line TUI application for rsync or something else which does the same? Common use cases is to exclude ...
0
votes
0answers
44 views

No rename/move on mounted fritz.nas usb harddrive (touch,cp,rm works)

Trying to rsync files from my little ubuntu nas to a fritz.nas (7490) with usb harddisk attached as a simple BackUp solution. fritznas / hardisk ist mounted. I may touch, copy, remove, change (eg. ...
0
votes
0answers
65 views

bash rsync copy files without directory structure

I wanted to copy some files from a server using rsync command, but without the whole directory structure. So , I used the following : shopt -s globstar # for using the functionality of ** rsync -avh --...
0
votes
0answers
50 views

Rsync re-transfers entire file after title change

According to rsync's man page: [Rsync] 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 ...
3
votes
1answer
130 views

How to get an update of deleted file on host machine only with rsync

I run my rsync backups without the --delete flag just in case something is deleted accidentally. In my logs with the -v flag I simply get informed of a change in the parent directory of the deleted ...
0
votes
1answer
29 views

why is mysqld process top process?

I can hear something pounding away on my hard drive. I look at top and see mysqld as top process, high 30 to 40% all the time. No I did not start any process with mysqld. I just ran a "pkexec ...
0
votes
0answers
33 views

Rsync process stopped working

I want to copy data nightly from NAS1 to NAS2. I have the script below on NAS1 to use rsync to complete the copy but it is failing (I believe to an ssh issue that is explained move below). Script #! /...
0
votes
1answer
53 views

Backing up Thunderbird from one laptop to another with RSync?

I installed Ubuntu on another laptop that I want to back up to. I run this: ole@mkt:~$ rsync -vaz /home/ole/.thunderbird ole@192.168.1.21:/~ ole@192.168.1.21's password: sending incremental file list ...
2
votes
2answers
293 views

Using “rrsync” with sudo on destination machine

I'm trying to create an automated back up of various folders on my server, some of these require root access to read them. I realise that I can rsync as per this answer, namely I can (with success) ...
0
votes
0answers
18 views

rsync remote find prefixes home directory?

I am attempting to pull everything from a remote directory which is more then ten minutes old, and then remove the source files. My remote find seems to be working (tested independently on the remote ...
0
votes
0answers
25 views

Questions About Mount an remote Backblaze Driver

I have mounted a Backblaze bucket on the Ubuntu 20 LTS server. rclone --vfs-cache-mode writes mount bb2:image-137 /remote/bb-img/ & List disks on my server Ubuntu Commmand: df -h Snapshot of ...
1
vote
0answers
64 views

mount encrypted remote folder (Ubuntu 18.04 LTS)

I wish to mount an encrypted remote folder on my computer running Ubuntu Server. My remote folder is in a device behind a router. My aim is to do rsync from my computer to that folder. How can I mount ...
1
vote
0answers
24 views

Rsync became slow from one specific router

I have an ubuntu server. Up until about a week ago, I could rsync to it with an upspeed of 18-22 mb/s. Now, however, I get about 30kb/s. I have tested multiple machines, and they all exhibit this ...
1
vote
1answer
158 views

Synchronising Ubuntu 20.04 across multiple machines

I'm aware that this is not the first time this is asked but I have not been able to find an answer that was younger than 5 years and still up to date. Currently, I have Ubuntu 20.04 on my Desktop at ...
0
votes
1answer
14 views

rsync not copying according to --include flag

I have dir: - /tmp/test1/ -- 1.txt -- 2.cert I have another empty dir named /tmp/test2 sudo rsync -av --relative --include="*.txt" --exclude="*" --delete-before --chmod=D2775,F664 ...
0
votes
1answer
364 views

How to make rsync delete files in the destination folder that has been deleted in the source with shell glob?

I'm trying to collect files periodically from multiple sources into a single file dest. To save copies I tried using rsync but I have a bit of a trouble. Let's say I want to copy some files from ...
0
votes
1answer
381 views

How can I analize why rsync copies very slow after copying very fast a few files on ntfs drives?

I'm backing around 2Tb of data from a ntfs disk to another ntfs disk with rsync ( I tried also with midnight commander ) and the copy starts with a "good" 25Mb/s speed, but after copying a ...
0
votes
0answers
199 views

Sysvolcheck returns error on backup DC upon each replication

I have two DCs in my Samba AD with sysvol replication via rsync set up to run every 5 minutes. On the PDC, samba-tool ntacl sysvolcheck returns no errors. On the BDC, samba-tool ntacl sysvolcheck ...

1
2 3 4 5
14