Questions tagged [rsync]

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

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

rsync appears to copy files to Android device, but no files are actually copied

I've attached my Android device with a USB cable to my computer and set its USB mode to data transfer. I am trying to keep my music directory on my MicroSD on my Android device in sync with my ...
0
votes
0answers
34 views

rsync two remote servers causing local servers disk to fill

I am currently syncing from two remote servers using: rsync -a remote1 remote2 The problem I have is remote1 connection is better than remote2 so files seem to be downloading and storing locally ...
1
vote
0answers
40 views

Bare metal backup

I'm renting out some bare metal machines and am finally starting to automate the process of provisioning. The idea is to setup a few bare metal machines and manage them via MAAS. I would like to ...
0
votes
1answer
58 views

How safe is this remote rsync setup?

I'm thinking about security, I've done a specific setup to run rsync over internet and was thinking about security, this is the setup: Destination server has a ssh jail user only with bash and rsync ...
0
votes
0answers
13 views

How to properly use include and exclude rules under these conditions using backintime/rsync?

I'm trying to backup the entire root (/) but excluding everything under /mnt except certain folders under a partition I have mounted there, let's say it's mounted to /mnt/Files. Right now under ...
0
votes
0answers
14 views

How can I install rsync 3.1.3 on Ubuntu 18.04?

I am trying to rsync between MacOS and Ubuntu 18.04 but keep running into issues with the rsync failing randomy at some point in copying files. I think it may be version mismatch. Ubuntu 18.04 Rsync ...
0
votes
1answer
45 views

rsync won't exclude folders passed as a variable in a script

I'm trying to pass a variable to exclude several folders from a rsync operation in a script, as follows: echo "Type the path of the folders to exclude: " while read folder do folders=("${folders[@...
2
votes
1answer
68 views

A udev rule for automatically executing rsync scrips is not working

I have written the following udev rule /lib/udev/rules.d/99-Goprobackup.rules #when device /dev/sd* is added to the KERNEL with the UUID defined RUN the script ACTION=="add", KERNEL=="/dev/sd[b-z][!...
1
vote
0answers
79 views

Back In Time (BIT) Restore Fails on 20.04 with rsync error

I just installed the current Xubuntu 20.04 and tried to restore my backup from my backintime backup via sshfs. Unfortunately, this failed. I checked the full log in /home/user/.local/share/backintime/...
1
vote
0answers
21 views

Move files from external HDD to new internal HDD while keeping external HDD as backup (rsync)

I currently have all my Movies and TV Series (around 2.5TB of data) stored in external HDDs. Recently I bought a new internal HDD for my home server and I wanted to copy all my files there. Up to this ...
0
votes
1answer
34 views

Timeshift setup: what is the result of the different `/root` options?

This is related to a similar question I have posted, but this is different: I just wonder what are the different options for /root doing. My intention is to save my system with all programs and ...
4
votes
1answer
65 views

Timeshift setup: how to backup system with programs and all theirs configs, but without Video, Music etc?

I only make rare snapshots on an external drive (RSYNC option). I would like to backup all my programs with all their configuration settings as I have them now, but when I restore my system all ...
0
votes
2answers
80 views

rsync re-syncing files each time

I'm trying to sync the Music folder from my computer with lubuntu 19.10 to my Pixel 2's Music folder via USB. I'm able to mount the device using jmtpfs to a Folder called "Celular". Then what I want ...
0
votes
0answers
20 views

rsync command in bash script using --from-files giving rsync: link_stat errors

I been getting a lot of rsync:link stat error saying the directory does not exist then afterwards it would end up copying all the files in the remote server folder instead of files less than the time ...
1
vote
0answers
25 views

Create a progressbar for the next commands [duplicate]

I am developing backup script on linux (using bash linux [.sh]), and I need create a dialog (with command dialog) with progress bar to show to client status of the commands. For example, I want a ...
1
vote
0answers
27 views

Restoring permissions from rsync backup

I am new to Linux. I started using Ubuntu 18.04.4 a few weeks ago – a refugee from the land of Windows 7 – so please pardon the newbie question. I have managed to get to grips with rsync somewhat ...
0
votes
1answer
18 views

rsync filled up dev/nvme0n1p2: how do I reverse this?

I'm new to looking after a linux computer. I'm runnning Ubuntu 18.04.04 LTS. I wanted to make a backup on an external harddrive using rsync. Unfortunately the name of the hard drive was two words and ...
0
votes
1answer
66 views

Using rsync to back up /home folder with same permissions, recursive

I would like to request information on using rsync. I tried reading reading the manuals, but the examples are few and confusing for me. I do not need advanced features or live sync or remote sources ...
1
vote
0answers
28 views

Best way to migrate old Ubuntu Server?

I need to get Ubuntu 8.04 Server(running on XenServer by hosting service) to Hyper-V(Onpremise, hosted by us) this weekend. I was planning to follow this guide. But should I first install Ubuntu 8.04 ...
0
votes
0answers
40 views

Source disk unmounts during rysnc to destination filesystem

My rsync command fails soon after initaition. Only the first few files transfer successfully. Task: copy my media files from 1 of 3 single drives to a new RAID6 filesystem for long term storage. ...
0
votes
0answers
18 views

rsync track progress

I'm first timer with rsync... I had to use it to transfer big chunk of data (~1tb). Here is the command I use; rsync -vacHS --progress /mydisk1/ /mydisk2/ The purpose is to transfer the whole content ...
0
votes
1answer
197 views

Error: bad username; while reading /etc/crontab

I want to copy files from a server to an NFS that I've mounted on the server. To do this I configured a crontab to copy these files to the NFS. By typing the command manually the files were copied ...
0
votes
0answers
23 views

Why does the rsync log file stop before the rsync ends

when I enter rsync ~ --log-file=~.log /~ /~, the record in the log file stops before the rsync ends. I wanted to copy 3.4T data to server and used --log-file=~.log. but the record stopped before the ...
2
votes
0answers
72 views

How to make rsync --fake-super store owner and group as string in the extended attributes?

I am running a server on Ubuntu server 18.04. I want to write scripts to easily backup and restore my programs and data individually to/from a different system. Say I have an application with its ...
1
vote
0answers
45 views

grsync does not reproduce quotation marks in rsync command, so never asks for password

When running grsync to transfer local files to a remote server, the program simply sits there doing nothing. Unfortunately it never asks me for the remote system password. OS is Ubuntu 18.04.4 LTS. ...
0
votes
0answers
36 views

Mountpoint of Online Accounts

I have added a google drive and a nextcloud online account to my Ubuntu 19.10. I want to auto sync some stuff with rsync, but I cant figure out where the folders of the online accounts are mounted.
0
votes
0answers
33 views

Slow disk speed with rsync, but not in benchmark or with other disks

I have some problems with my self builded multimediabox. I have 4HDDs in it to store music, movies and backups from computers from the network. I got all backups on one buffer disk (Seagate 8TB ...
2
votes
3answers
173 views

How to copy 12GB file from Ubuntu 19.10 to Android if My RAM size is 8GB

I tried different options to copy a 12GB movie from Ubuntu to Android (connected as a Camera for reliable connection, with mtp situation even worse), but surprisingly for me there is a RAM+SWAP ...
0
votes
0answers
22 views

How to replace the default environment on a new install with an environment Ive transferred over from an old install?

I am currently using Ubuntu 18.04 within WSL 2 (windows sub system) and what I am essentially trying to accomplish is transferring over my ubuntu 18.04 install on another VM into the new one. I've ...
0
votes
0answers
23 views

Rsync, crontab and kwallet for ksshaskpass

I have a problem with a crontab command. I use rsync to save many files by ssh with : rsync -e ssh --rsh='ssh -p0000' -avthzP --delete --min-size=1k --append --exclude '*.iso' --exclude '*.txt' --...
0
votes
1answer
98 views

How to create a personal failover laptop?

This question sounds a tad vague but I'll lay it out rather clearly with some requirements: Each laptop should contain the same files in the home folder. User accounts should be identical. ...
5
votes
1answer
826 views

18.04.4 Delete a file on shutdown

I'd like to delete a lock file if I reboot or shutdown my Ubuntu 18.04.4. I created "usr/local/sbin/delete_lock.sh" with #!/bin/bash lock="/home/sebastien/rsync.lock" if [ -f "$lock" ]; rm $lock; fi ...
1
vote
0answers
270 views

Rsync error code 23

I am trying to back up a server into a flashdrive with rsync: rsync -rv --delete /home/computername/filename /dev/disk/by-label/Flashdrivename It fails, with: sending incremental file list ...
1
vote
1answer
85 views

Copy only directories and its contents while excluding outside files using rsync?

Let's say I have this file structure: dir1 dir2 dir3 1.jpg 2.jpg 3.jpg Is there any way for me to rsync the directories and its contents while excluding the files outside the directories(1.jpg, 2....
0
votes
1answer
374 views

Process to restore /bin timeshift backup on Ubuntu 18.04

I have separate partition for root, home, and swap on the same disk. I accidentally deleted /bin won't get into that here. I have a backup via timeshift. But can't boot into the system. Not sure how ...
0
votes
0answers
58 views

Rsync works with “--temp-dir=/tmp”. With other directories - error

I synchronize files to a remote server. rsync -aHusSv --temp-dir="/tmp/rsync" "/mnt/1/" "root@s2:/mnt/1/" sending incremental file list ./ file.txt 3/ rsync: mkstemp "/tmp/rsync/file.txt.Kwhs4N" ...
2
votes
3answers
261 views

remove files and directories but exclude all files from paths in a text file

As per this question and answer: remove file but exclude all files in a list This code does exactly what I need, apart from it doesn't work on sub directories. for i in *; do if ! grep -qxFe "$i"...
0
votes
0answers
38 views

nautilus says directory is empty while ls says it is not

On my external drive there is a synched directory via the command rsync -avzs --progress --append --delete /origin/my-folder-to-backup /media/username/name-of-the-drive/ When I check the number and ...
0
votes
0answers
62 views

Help with scripting for remote ZFS/Rsync backup

I am attempting to upgrade to a new R710 (or at least considering this). I have an old gaming PC that I turned into a plex server using Linux Ubuntu 18.04. I then installed the services in docker ...
2
votes
0answers
57 views

How to get laptop and desktop to always appear as the same machine?

I am setting up a desktop and laptop for someone. Both will be used by the same person for the same things. The person in question is not very skilled with computers. The laptop has a mere 100gb of ...
0
votes
0answers
255 views

rsync: link_stat “/root/.ssh” failed: No such file or directory (2)

root@ubuntu:~# usermod -aG sudo user root@ubuntu:~# sudo visudo root@ubuntu:~# mkdir /home/user root@ubuntu:~# chown user:user /home/user -R root@ubuntu:~# rsync --archive --chown=user:user ~/.ssh /...
0
votes
0answers
44 views

Rsync to SMB Share Stops

I have 50GB of files on an external drive. I'm trying to use rsync to push from the external drive to an SMB Share on a QNAP NAS. I'm having two problems: 1) After x period of time, it just stops (...
1
vote
1answer
51 views

Manipulating a continuously changing command output stream

I'm trying to change the output position of a file transfer made with rsync, as shown below: rsync -zvh --progress ubuntu-19.10-desktop-amd64.iso /home/lnxusr/Downloads/ From this: ubuntu-19.10-...
0
votes
1answer
61 views

can sftp and ssh share same default port?

I have ssh already setup to use 22 port and now I enabled sftp i.e. disabled so I enabled and started service systemctl enable sshd systemctl start sshd as well on same port but now if I try to ...
1
vote
2answers
422 views

Does rsync requires changing UUID after copying a partition?

I read somewhere that after using rsync to copy a partition from one device to other one, it is important to edit the UUID, since devices cannot coexist with the same UUID. Is it true? How do I do it?...
0
votes
1answer
184 views

Is it possible to use a NAS synology with the rsnapshot tool via rsync?

Im an system administrator that use the three main OS's. Our company has recently bought an NAS 8bay synology and I'm trying to use rsync to rsnapshot for my backups for every night but i am ...
0
votes
0answers
195 views

rsync via ssh from behind proxy - advice request

I need to rsync to a server on the Internet from a server behind a squid proxy. My resource got me some way, but I’m stuck and would appreciate constructive comments. IP below is on actual server IP’s,...
0
votes
1answer
38 views

why are bash vs tcsh file timestamps different?

on my xubuntu 19.10-amd64 system I have cron running backup jobs every midnight. The destination directories created by the rsync command should therefore have timestamps of 00:00. However I'm ...
1
vote
1answer
169 views

Ubuntu VPS CPUs sometimes go wild with a process I don't recognize

My VPS sometimes goes wild because of: /tmp/.X17-unix/.rsync/c/lib/64/tsm --library-path /tmp/.X17-unix/.rsync/c/lib/64/ /tmp/.X17-unix/.rsync/c/tsm64 -t 302 -f 1 -s 8 -S 8 -p 0 -d 1 After killing ...
1
vote
1answer
210 views

How to show progress of a rsync backup script in KDE plasma's notification area?

I have searched around but could not find a tutorial on how to add a progressbar or progress notification within KDE plasma. My aim is pretty simple: make a rsync backup script which is fired up by ...

1
2 3 4 5
13