Questions tagged [rsync]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
34 views

rsync gets stuck in backing up thunderbird emails

I do my backups with rsync. Now rsync gets stuck transferring my email folders. I use 20.04 and thunderbird 78.13.0 (64-Bit). I start my backup with this: #!/bin/bash rm -Rf /home/anja/.cache/* for ...
5
votes
6answers
770 views

How can I download a Cygwin package (and its dependencies) under Ubuntu?

I developed a backup tool for Windows which uses rsync from Cygwin. I am myself using Ubuntu. I want to download the Windows rsync package and all other packages it depends on under Ubuntu. Is this ...
0
votes
0answers
25 views

sync Permission denied (13)

Im trying to rsync from Ubuntu Server 1 to Ubuntu Server 2 Generated a key pair on Ubuntu1 that the script will use for authentication to each of my remote ubuntu DPs Copied the public key to each of ...
0
votes
0answers
20 views

Attempt to move a large virtualbox vdi file repeatedly fails from one drive to another

I have read numerous ways of moving a large file from one drive to another, but none of them address the issue I am having.This could be a post for a VirtualBox forum and I will post there as well and ...
1
vote
1answer
114 views

rsync refuses to exclude directory

I'm trying to make a OS backup with rsync and have put this into crontab. which by itself works great, but for some reason it refuses to take /export into account while looking at the excludes... 0 2 *...
1
vote
1answer
46 views

Not getting the right output when using rsync --delete

I'm trying to delete files using rsync --delete but i keep getting this output. cli screenshot
0
votes
1answer
70 views

How to copy read-only folder using rsync

I'm trying to copy a folder using rsync rsync -avP "$src_path" "$target_path" Where src_path is a read-only directory. AFAIK, to copy, the source doesn't have to be modifiable ...
1
vote
0answers
50 views

"Disk Full" After a rsync failure?

So I ran an rsync over night in a tmux sessions. It was to copy contents from one mount to another (USB disks). Rsync command was: rsync --info=progress2 /mnt/wdpassport /mnt/wdredpro When I woke up ...
0
votes
1answer
25 views

rsync or cp for coping debs ans settings

Hi there I've written a script to backup my cache and etc directory. Just trying to decided whether or not to use cp or rsync. It's important that all files are copied with permissions preserved.
0
votes
0answers
38 views

Ubuntu Server Backup Script

Need some help to tune a script to perform backups of my system. So I have a server 20.04 up and running, every now and then, when I make some updates/changes it breaks something, and I loose some ...
-1
votes
1answer
86 views

How to fix Lsyncd Active (exited) Error?

Installed lsyncd on Ubuntu 20.04 create lsyncd.conf.lua settings = { logfile = "/var/log/lsyncd/lsyncd.log", statusFile = "/var/log/lsyncd/lsyncd.status" } sync { ...
1
vote
0answers
24 views

not able to sync from server to server to /etc/letsencrypt location

I am making a cron job on my server node that uses haproxy base concated cert file from letsencrypt. however when I am at home I have same dns pointing to the home server which is actually hosting the ...
0
votes
0answers
68 views

Bash rsync script won't complete on large backups

Over the last year or so, I've be trying to learn bash scripting on Ubuntu (one 20.04 LTS box and one 21.04). I feel that my skills have been progressing nicely, but I'm at my wits end with one ...
0
votes
0answers
68 views

Ubuntu 21.04 and 1st Timeshift system backup. Look correct?

I'm new to Ubuntu. I'm trying to do my first system backup using Timeshift. The screenshot with the details is here https://imgur.com/a/ZelWeZJ My Ubuntu system is about 4 days old. This first initial ...
4
votes
2answers
391 views

Can I copy a file to two drives at the same time from a single read? (Copy one-to-two in single operation, preferably in rsync)

I frequently need to back up a source disk to multiple target disks. At the moment the workflow is rsync from source to target1 then dd clone target1 to target2. It would be lovely if I could rsync ...
0
votes
0answers
32 views

Delete files using rsync only after so many days

Does anyone have a good way to have rsync delete files only after so many days it has been removed from the source? Kind of like, I delete file x on day one from source, by day 30, the file is then ...
0
votes
0answers
47 views

SCP/RSYNC don't work in Crontab but work when run standalone

I need to copy a backup file to a backup server everyday. I am using PublicKey SSH authentication. All of the things work but not together: If I run this line in crontab rsync /home/ubuntu/*...
0
votes
0answers
23 views

Rsync -remove-source-files option doesn't transferred the data to mounted disk

I have mounted a windows folder on my local linux machine using mount.cifs command, everything working fine. I have been doing rsync -remove-source-files to transfer files to the mounted share. ...
0
votes
1answer
329 views

Changed permissions of docker volumes folder > You don't have permission to access this resource

I am running an instance of nextcloudpi in docker. I wanted to sync the data folder between two server via rsync, but got a permission folder. So I tried to give my user "John" the ...
0
votes
2answers
36 views

Comparing structure of files

I got 2 structures of dirs: dir1 ├── 1 │ └── file1 ├── 2 │ └── file1 ├── 3 │ └── file1 ├── 4 │ └── file1 ├── 5 └── file1 dir2 ├── 1 ├── 2 ├── 5 I use xargs mkdir -p < dirs.txt to make ...
0
votes
0answers
19 views

How to restore rsync backup to raid 0 mdadm

How is possible restore rsync backup to MDADM Raid 0 (2 HDD)? I know how to restore backup via RSYNC to one HDD but how to do it on MDADM Raid 0? Thank you for tips and help. Best Regards Martin
3
votes
2answers
427 views

How to rsync my Google Drive with a local folder?

Since the built-in nautilus Google Drive is so super slow, I was wondering if there is a way to have my Google Drive contents automatically downloaded to a local folder and then when I make a change ...
0
votes
0answers
31 views

Syncing / Migrating Thunderbird Between Ubuntu and MacOS?

I'm trying to sync my Thunderbird files between my Ubuntu workstation and my MacBook. From Ubuntu to Ubuntu it's really easy. We can just rsync the ~/.thunderbird between the two machines. I noticed ...
0
votes
1answer
78 views

How to patch rsync the correct way

I want to patch rsync to support detect-renamed option, but I don't want to download a patch and extract it, I want to use apt (apt-get), how to do this?
0
votes
1answer
35 views

Rsync directory error

I wanted to copy files that are made 15 and more days ago. Here is the code im currently using rsync -RDa0P \ --files-from=<(find /vmail/folder1/ -mtime +15 -print0) \ . [email protected]:/...
1
vote
0answers
124 views

rsync (ubuntu 20.04) to Synology DS218 option -a doesnot preserve user name and group of files

I have been on the internet searching for my problem. I use rsync to copy files from my ubuntu 20.04 desktop to NAS Synology DS218+. It worked fine with ubuntu 18.04. I was able to reproduce the error ...
0
votes
1answer
92 views

After rsync folders have different sizes

I have used rsync to copy a folder from one machine to another. The folder is very large and has thousands of subdirectories and in total millions of files. After the transfer (which was interrupted a ...
0
votes
0answers
13 views

Rsync between remote servers as backup using ssh

I use rsync to backup one remote vps to another remote vps. The only thing I dont really understand is what options to use. I use -ave but I think I need to keep also owner/group and permissions. Or ...
1
vote
1answer
148 views

rsync can not delete .git/objects directory files

I am running the command: rsync -ab --delete-delay /media/blueray/WDRed /media/blueray/UltrastarDaily Just do be clear, it delete destination file (--delete-delay) if the file is removed from the ...
0
votes
0answers
16 views

Can rsync redirect extraneous files to a separate folder

I use an external hard disk to sync selected folders regularly for backup. Is it possible in rsync to redirect any files that are not present in the 'source' directory to a different folder (which is ...
0
votes
0answers
69 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 to unmount I ...
1
vote
1answer
56 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
74 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
65 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
134 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 [email protected]::codelab /backup/gitlab --password-...
2
votes
1answer
208 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
129 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
89 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
121 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
300 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 [email protected]:/ /home/Ryan/Downloads/iphone I then enter the password when ...
2
votes
1answer
70 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
53 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
23 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/ [email protected]:/home && find /source -type d -empty -delete --...
1
vote
1answer
913 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
15 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
33 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
204 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
115 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
55 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
162 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 ...

1
2 3 4 5
14