Questions tagged [rsync]

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

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

Rsync ssh dest folder bigger than source folder

I want to do a backup of all my files from my linux computer to a ssh server. I used rsync with : rsync -rl source dest But now the dest folder (which was empty before) is larger than the source. ...
Quentin Chartreux's user avatar
0 votes
0 answers
38 views

Can't run my scripts shell of my app after doing a rsync of data from Ubuntu server 18.04.5 LTS to another Ubuntu server 22.04.2?

enter image description hereI did an rsync of those filesystems /home/ /opt/ /my_application/ /srv/ Did I forget to copy something else (...?), or is it a problem in version of Ubuntu ? I need to run ...
laila B's user avatar
0 votes
1 answer
44 views

What is the correct way to not be using the home directory during a backup of it?

So I obviously shouldn't just run rsync backing up /home while I'm plainly logged in, as the state of settings files could be inconsistent or whatever else, since /home is being used. One solution is ...
Tachytaenius's user avatar
0 votes
0 answers
80 views

Rsyncmirror failed to connect to archive.ubuntu.com Connection timed out

Noob to Ubuntu-22.04.2 I am trying to setup a local repository by downlaoading the jammy packages from the archive.ubuntu.com by using the Rsyncmirror. this is the issue am running into. link to setup ...
ChuckieCF's user avatar
1 vote
1 answer
220 views

rsync error "rejecting excluded file-list"

So recently we updated 2 production servers and 1 development server for our websites. All are running Ubuntu 20.04. We also updated our build server that contains an installation of Jenkins. This one ...
Controvi's user avatar
  • 121
0 votes
0 answers
43 views

automatic start script on pendrive

I would like them to start a backup with rsync (type: rsync --delete -av /media/xxx/yyy /media/aaa/bbb) about 10 seconds after inserting a certain pen-drive (recognizable by VID and PID). I followed ...
mykia's user avatar
  • 1
0 votes
0 answers
72 views

rsync copying USB to USB drive locks up system

When I use rsync to copy a 1TB dir from one USB drive to another USB drive the system goes haywire. The system load climbs up rapidly and processes trying to write to the destination drive go into the ...
mark-hahn's user avatar
  • 101
0 votes
0 answers
29 views

rsync delete my relases files

I'm mirror of ubuntu, releases and deb files. When I run the following script by hand, I get every releases files. But when I run it via crontab, releases directory will be deleted. #/bin/dash ...
PersianGulf's user avatar
1 vote
0 answers
68 views

rsync using --delete-excluded flag is still showing content in destination

I'm using rsync with --delete-excluded flag but I still see contents in the destination folder. I'm trying to exclude and delete excluded cache from all chromium like browsers. Here's what I'm doing ...
positivetypical's user avatar
0 votes
2 answers
167 views

How to rsync **photos** from a specific date forward, namely from the date on which the photo was taken (e.g., exif:DateTime)?

Starting with find and rsync? and How to rsync files / folders from a specific date forward?, how to rsync photos from a specific date, namely from the date on which the photo was taken (i.e., from ...
nutty about natty's user avatar
-1 votes
2 answers
37 views

Best Place & Way to Back Up Files Stored Exclusively on External Drive

I have an 8 TB external hard disk named Draco that I use to store nearly all my files, but this is kind of stupid of me because I don't have any place to back things up. Do I have to buy another one ...
Michael Starr's user avatar
0 votes
0 answers
29 views

Meaning of rsync sent numbers

system is installed with Ubuntu 22.04.1 LTS. When running command "rsync -avn --delete-before " i see at the end following information: "sent 5,941,061 bytes received 588,133 bytes ...
Ulsi's user avatar
  • 13
0 votes
0 answers
27 views

Removing or purging rsync also removes/purges mariadb and ubuntu-standard

So I run this command apt purge rsync And it prompts me this: mariadb also uninstalling What can I do?
Aimar Martinez's user avatar
0 votes
0 answers
31 views

rsync / with files exclude and Includes

rsync -avzRn --include-from=IncludeRSync --exclude-from=ExcludeRSync --delete-after $SERVER:/ backup/ i want to backup my server with this rsync command, so exclude all dirs and include just the ones ...
dam74's user avatar
  • 1
0 votes
0 answers
23 views

Where to store user-specific (not system-wide or theme-specific) custom icons?

Based on information from similar questions, I saved my custom icons in ~/.local/share/icons, and my .desktop entry was able to find them without providing any path. However, when I updated my rsync ...
Broadsworde's user avatar
  • 3,830
0 votes
0 answers
104 views

my homedisk erased, is this malware or a systemfault?

After trying to save a spreadsheet, LibreOffice was hanging and could not be used anymore. I recently installed 20.045 so I decided to reinstall it. I first made an rsync of my homedirectory which is ...
Newbie's user avatar
  • 721
1 vote
2 answers
225 views

(r)sync between Ubuntu virtual machine and windows host using a shared folder (after start and before restart/shutdown

The host machine is windows. I have an Ubuntu virtual machine(vmware). There is a shared folder between Ubuntu and Windows. The shared folder is mounted in /etc/fstab: vmhgfs-fuse /...
user3541631's user avatar
0 votes
0 answers
21 views

cloud syncIng among several PCs: the file resurrection problem

I wanna sync my files from several PCs to a central cloud. Here is the problem: I delete a file (say, /home/joe/file1) on one pc1 and on the cloud; I boot a 2nd pc (pc2); My sync program sees pc2:/...
user152037's user avatar
0 votes
2 answers
59 views

Help understanding rsync command

Can someone help me understand the following rsync command, totally new to using rsync. rsync -av --progress --delete /exampledir/ root@192.168.0.100:/dir1/dir2/dir3/exampledir/ This command is in a ...
ReeceAB's user avatar
0 votes
2 answers
34 views

How to run remote crontabs?

We want to run a certain backup process via one server, basically like the following: Server 1 runs a process that copies data from Server 2 to the backup location. Is there a script that I can write ...
ReeceAB's user avatar
0 votes
1 answer
46 views

rsync creates an "intermediate" backup, how to delete it?

I use rsync to backup my personal files in an external drive, i.e. a SD card or an USB thumb, being careful to update any files and to avoid copying very large files, configuration files, or folders ...
jvalzert's user avatar
0 votes
0 answers
107 views

How to rsync owner group from server A to server B?

I transfer a huge data (about 1 TB) from server "A" to server "B" (more than 100 websites) with rsync command: rsync -Pva -e 'ssh -p 22' --progress --no-perms --no-owner --no-group ...
Infinitynet's user avatar
1 vote
2 answers
550 views

Curly braces in a bash variable expands correctly, but the rsync isn't properly executing

Why won't these braces work in a variable? I have bash script with rsync with a --exclude option that calls a variable named EXCLUDE. That variable include literal curly braces. #!/bin/bash set -eB ...
Slam's user avatar
  • 113
0 votes
0 answers
119 views

How to only exclude directories in specific places from rsync, and not all directories with a particular name?

rsync lets you exclude directories like .cache and lost+found when making backups of your home partition. That's great, except it does it for all directories with those names. How can I only exclude /...
Tachytaenius's user avatar
0 votes
0 answers
58 views

Making sure rsync only deletes files from source that also exist at the destination

Recently, I used rsync to copy a big directory with lots of sub-directories to an external HDD. Some files had too long file names and rsync couldn't copy them. After truncating the too long file ...
Sepp A's user avatar
  • 1
1 vote
1 answer
83 views

rsync between two windows server in different vlan via an ubuntu

I was asked to sync two folders in two windows servers which are in two different vlans . and for the sake of security these servers should not ping each other but an ubuntu machine can be in both ...
Ali Shavakandi's user avatar
2 votes
1 answer
334 views

script using rsync by SSH encounters 'Host key verification failed' but only when ran by systemd service

I am running an rsync script to copy files from a pi to local folder, the script works as intended when run manually but fails with: : Host key verification failed. : rsync error: unexplained error (...
Shovel_jockey's user avatar
0 votes
0 answers
22 views

Config command for -l argument in scp?

Is there a command in the $HOME/.ssh/config file that maps to scp's -l argument to limit the transfer rate? My actual goal is to be able to use rsync to copy files via SSH with a transfer rate limit. ...
Cal-linux's user avatar
  • 121
0 votes
0 answers
49 views

rsync left all files on Desktop listed as executable

Ran rsync as part of a backup and noticed all files originally sitting on the Desktop were showing as type executable (green with * next to them via ls) in the backup location. Is this expected ...
Chris's user avatar
  • 167
0 votes
0 answers
109 views

LTS 22.04 upgrade rsync problem

After upgrading from 20.04 to 22.04 my rsync backup/transfer system failed. I backup files from Ubuntu to USB drives (exFAT) and then transfer the data from USB to OSX via: rsync -vrt --safe-links --...
ColinR's user avatar
  • 1
0 votes
0 answers
168 views

rsync: link_stat failed: No such file or directory

I am trying to diagnose this error. Rsync does copy reminderfox.ics sucessfully. So why am I getting that message? Ubuntu Mate 18.04 Backing up Hard Drive. adding: fstab (deflated 43%) rsync: ...
fixit7's user avatar
  • 2,736
0 votes
1 answer
255 views

Get pCloud to backup hidden files

I've got the pCloud app for backups, but it excludes all hidden files, some of which, like my key chain, I really want to make sure are backed up. Can I do this with the GUI app? If not, can I use ...
les_h's user avatar
  • 242
0 votes
1 answer
112 views

How to cancel an Rsync mirror on Ubuntu?

I mistakenly synced two folders, one on my Ubuntu 18.04 server and one on a NAS. I did some research on Google but I couldn't find anything conclusive. I would like to know how to cancel the mirror ...
Francky EDOU's user avatar
0 votes
0 answers
103 views

rsync Errors during file migration

I am using my local router to migrate to a new computer. This is the command I am using to transfer my all files in my account's home directory: rsync -az ~/ stephen@192.168.100.104:~ Most of the ...
Stephen's user avatar
  • 435
1 vote
1 answer
768 views

After upgrade from Ubuntu 20 to Ubuntu 22, rsync copies unchanged files and changes modified time to current time

Upgraded from Ubuntu 20.04 to Ubuntu 22.04 using un-requested prompt from Ubuntu to do the upgrade. I had been running rsync in a Unix shell script from local pc to locally mounted Samba share on a ...
ubuntudabbler's user avatar
0 votes
1 answer
140 views

Rsync through reverse ssh tunnel

I currently have a working reverse ssh tunnel setup which allows me to remote into a cell network module-connected raspberry pi from a wifi-connected home desktop using port forwarding. While I can ...
Kevin Dacentom's user avatar
0 votes
0 answers
37 views

Back In Time recognizes old snapshots but not old data in new PC

I've been using the great "Back In Time" (BIT) to backup my data HDD (/data, 4 TB, NTFS for dual boot with Windows 10) on Kubuntu 20.04 to an external HDD. Recently, I built a new PC, ...
Sord's user avatar
  • 1
1 vote
0 answers
54 views

Broken Swapfile?

I am on ubuntu 20.04 with 4GB /swapfile on a machine with 19GB of RAM. I am current setting up various rsync commands tomake backups of various directories, using a command based upon the the command ...
nightwatch's user avatar
0 votes
1 answer
129 views

Rsync error (104) Using Localhost IP

I am on Ubuntu 20.04 running UFW. Problem: No matter, whether I use rsync or rsyncd to backup my home folder, with the command below. I always get rsync error (104): cputool --load-limit 7.5 -- nice -...
nightwatch's user avatar
0 votes
1 answer
775 views

how to exclude the multiple directory in rsync?

Could someone please suggest how to exclude the multiple directories . The below mentioned code here i am trying to exclude the logs , but the code is not working. I have to exclude the logs directory ...
Varun K M's user avatar
0 votes
0 answers
63 views

Why doesn't rsync --delete delete some files?

I use rsync to backup my photo directory containing JPEGs as well as RAWs organized like this: Pictures +--older_folder +--a.jpg +--b.jpg +--newer_folder +--c.jpg +--d.jpg +--RAW +...
math5d's user avatar
  • 1
0 votes
1 answer
165 views

rsync do not copying files from remote host

I want to copy all .txt files from remote test/ directory to my local directory, but id didn't work rsync --include="*.txt" --checksum --verbose --stats user@192.168.1.177:test ./ the output ...
r1ddler's user avatar
0 votes
1 answer
239 views

Kup Backup plan failed Kubuntu 22.04

I am trying to back up my home folder to my secondary HD. I am getting this error message: Kup is starting rsync backup job at Monday, July 4, 2022 10:56:31 PM MST rsync "-avX" "--...
krillavilla's user avatar
0 votes
0 answers
40 views

Help with Ping and Rsync Script

Wondering if anyone is willing to provide help with a script. I have the following scenario: Home1 - System1 Home2 - System2 I have DNS fail over between these two locations. I'd like to implement a ...
jdevstart's user avatar
0 votes
0 answers
81 views

xargs with rsync results in rsync: link_stat "/mnt/backup_share/A5000_3/......" failed: No such file or directory (2)

I am trying to speed up rsync to backup the folder mounted to /var/lib/docker with xargs the following command works sudo rsync -avzP --delete --recursive --times --perms --links /var/lib/docker /mnt/...
etherion's user avatar
0 votes
0 answers
444 views

rsync to Windows Server NTFS share always copies all files/folders

I am using rsync to backup a folder on my Lubuntu 20.04 host to an NTFS share on a Windows 2022 Server. The command below always copies every file and folder, despite the fact that no changes have ...
user1175461's user avatar
2 votes
1 answer
115 views

Rsync media not mounted

I have a small raspberry Pi that I use as a NAS, mount with fstab, and back up to my desktop with rsync. But, sometimes the raspberry pi doesn't mount, and rsync deletes the whole backup folder. Is ...
alebal's user avatar
  • 455
0 votes
1 answer
360 views

Is it possible to show progress with rsync by folder?

I'm looking for a way to show rsync's progress by folder, instead of by file (rsync -P) or by overall progress (rsync --info=progress2). Is such a thing possible?
TomerP's user avatar
  • 1
0 votes
1 answer
185 views

How to shrink the volume of an ubuntu ec2 instance on aws

I have an issue trying to shrink a 5TB EBS volume that runs ubuntu on AWS to a 200GB EBS volume. I created the snapshot and use it to create a new volume. Create a new volume of the size I want to use....
Raymond's user avatar
0 votes
1 answer
225 views

Does Snap take up more space in a backup when I use Rsync?

I am using rsync to backup my Ubuntu 22.04 server running on an SD Card in a Raspberry Pi. I run the backup when Ubuntu is also running with this command: > rsync -aDH --partial --numeric-ids --...
FlexMcMurphy's user avatar

1
2 3 4 5
15