Questions tagged [synchronization]

Use this tag when the topic is related to coordinating systems to have the same data or state or time. It can be part of redundancy.

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

Synchronize Data between two locations

I have to locations with a lot of data. Both locations have a slow Internet connection. So it's impossible to sync the Data between both locations via Internet. So the idea is to use a sneaker net to ...
user39063's user avatar
0 votes
0 answers
14 views

Flashing a bootloader without the use of sync doesn't work [duplicate]

So some background I was scripting building an SD Card Image for the Anbernic RG350M device. This involves flashing a boot loader to the image. See below. dd if="./select_kernel/squashfs-root/...
AeroMaxx's user avatar
  • 189
2 votes
1 answer
32 views

System time synchronization between two hosts using linuxPTP

I would like to setup a high-precision system time synchronization between two machines using linuxptp. On the first host: the system time is periodically synchronized using NTP using an interface ...
Emeric Verschuur's user avatar
0 votes
1 answer
36 views

Sync Data between 2 linux machines through SFTP

We have Linux Machine 1 - Directory1 (include all sub directories and files) We have Linux SFTP Machine 2 - Directory2 (include all sub directories and files) I am looking for a solution / tool which ...
LifterBecks's user avatar
0 votes
1 answer
63 views

Is rsync the best way to keep four drives synched?

I googled but I can't see the best solution for my purpose. Using LUKS I have physical drives: A,B,C,D I need: when I write something on drive A, automatically or scheduled changes are written on ...
Acca Emme's user avatar
  • 101
0 votes
0 answers
37 views

Only able to fix rclone certificate error over ethernet (it won't work over wifi) Why?

rclone will run fine for months at a time. The command I run most often is: rclone sync {{path/to/file_or_directory}} {{remote_name}}:{{path/to/directory}} Then - seemingly out of nowhere - I run my ...
jophuh's user avatar
  • 1
1 vote
1 answer
76 views

Does loopback-device-backed-LVM operations such as lvextend need call sync afterward?

There is an os image file say test.dd, and an LVM managed partition inside. Enlarge the os image file size, then enlarge the partition size to full. Create a loopback device for test.dd, then get the ...
osexp2000's user avatar
  • 462
0 votes
1 answer
82 views

Similar program to rsync but to instead use a shared cache directory or source?

With rsync, the files or data delta (difference) is compared directly between the source and destination. Is there an alternative program that can compare the delta between the source, destination and ...
Chris Stryczynski's user avatar
0 votes
0 answers
158 views

How accurate is the PPS device?

I am doing research in timing synchronization, and want to measure how time synchronization is impacted by injecting various faults into a system. I understand that the PPS devices on linux machines ...
stochasticlover1's user avatar
0 votes
1 answer
114 views

Does write(fd with O_SYNC) only flush data of THAT fd instead of all caches caused by other fds of same file?

I was using dd command to change a single byte of a block device(not the partition block device), such as /dev/nvme0n1, at a specific position (not managed by normal file). dd of=${DEV:?DEV} seek=${...
osexp2000's user avatar
  • 462
0 votes
1 answer
386 views

Chrony - Synchronize the date and time of all host computers in a network without internet connection

I have two machines, host A with IP 192.168.0.1 host B with IP 192.168.0.2 They connected to the same network and I would like to set the date and time of machine B to match those of machine A. ...
UserK's user avatar
  • 2,334
0 votes
0 answers
25 views

I need to rsync from Ora1 vpn (as user michal) and rsync files into Ora2 vpn (as user srv_data). User 'michal' is in wheel grp on both Ora1 and Ora2

Hello Unix enthusiasts. I have two vpms called Ora1 and Ora2. I need to synchronize the contents of /DATA/ directory from Ora1, into the same /DATA/ directory located on the Ora2 vpm. Ora1 /DATA/ ...
michal roesler's user avatar
0 votes
1 answer
265 views

Using RTC PPS for syncing computer by NTP

I've seen a decent amount of documentation for how one would use a GPS and its PPS signal along with an NTP package (like ntpd or chrony) to synchronize the computer's clock. I have a need similar to ...
Morten Nissov's user avatar
0 votes
1 answer
168 views

How to synchronize files between a NixOS declarative container and local system path (equivalent of docker-compose volumes functionality)?

I have NixOS 22.11 set up on a local workstation. I use extra-container package, which can run declarative NixOS containers like imperative containers, without system rebuilds. I'm trying to run a ...
protob's user avatar
  • 241
0 votes
0 answers
62 views

rsync: Get diff output of file and something similar as a merge

Use-Case I use rsync to sync my files between two machines. Assuming I want to sync /important/file.txt from machine A to B, I did some changes on machine A t /important/file.txt and somenone else ...
TornaxO7's user avatar
  • 167
1 vote
0 answers
71 views

how to force debian to wait till the external usb HDD has synced before turning off

I think that my debian box (debian testing, rather updated) is powering off before completely syncing the external USB HDD (where I am holding my home partition at the moment). I see that when it is ...
eftshift0's user avatar
  • 555
0 votes
1 answer
58 views

Confirm files exist in both locations, excluding directory structure

I have a folder of photographs (original directory). I imported these photographs into Shotwell, which has copied the files into a directory structure based upon EXIF data (new directory/year/month/...
student's user avatar
0 votes
0 answers
40 views

Is there a Linux tool that can automatically syncronise (monitor) two folders on local drives with different filesystems?

I have Linux computer with external NTFS drive. I need one of the directories of the internal drive (ext4) being automatically syncronised with an external drive directory. The complication stems from ...
S. N.'s user avatar
  • 155
0 votes
1 answer
65 views

How does the Kernel implement synchronisation techniques on file access

I've read that the kernel implements synchronisation mechanisms when accessing files. For example, if we try and write or read to a file in the file system using read() or write() from different ...
Engineer999's user avatar
  • 1,121
1 vote
2 answers
637 views

One-way synchronize with cp and busybox

I need to one-way synchronize local folders using only cp and/or other tools available in the BusyBox 1.35 which has no rsync. I was hoping for something like: cp -auv /source/ /target, but it won't ...
rych's user avatar
  • 131
1 vote
2 answers
50 views

Which disks does "sync" synchronize?

The man page of sync can be found on die.net. I wonder if it only synchronizes the disk of my current working directory (cwd) or all disks? The man page does not say anything about it.
zomega's user avatar
  • 843
1 vote
1 answer
164 views

rsync not detecting changed file with option --append-verify

I have invoked rsync with the options --checksum and --append-verify. My understanding of the processing for this combination of options has been that the application would behave as in the ...
brainchild's user avatar
0 votes
1 answer
342 views

How do I access my passwords from `pass` from another computer without transferring private GPG keys?

I recently learned about pass git integration, which allows to sync my passwords with a remote git repo. Which I instantly didn't hesitate to configure. So then I decided to clone this repo on another ...
WhiteBlackGoose's user avatar
0 votes
1 answer
53 views

List of applications using dsync or is dsync used in production?

We want to use dsync in production server, Is it production ready? I want to know the list applications using dsync. can someone provide me the list of applications which are using dsync. Source code: ...
Mani's user avatar
  • 554
2 votes
1 answer
63 views

Save copy process/work by use of update in cp

How is to update in cp -u to really work in saving file save/copy work just copied to /tmp/onram/cpp and only moddded gainRun.sh $ ls -l drwxrwxrwx 2 root root 80 Oct 7 07:02 /tmp/onram/cpp total 8 -...
user avatar
2 votes
1 answer
208 views

Unable to navigate to local google drive sync files in Linux Mint

I am using linux mint 20.1 Cinnamon. I have turned on google account in online account setting for google drive syncronisation. So in my folder explorer, there is an entry under networks relating to ...
jeea's user avatar
  • 133
0 votes
1 answer
161 views

fpsync syntax error

[oraadmin@sgwmsdbsprd03 ~]$ fpsync -v -n 8 -o "-lptgoD -v --numeric-ids -e ssh -p 222" /app/test/ [email protected]:/app/testing 1661915613 Info: Run ID: 1661915613-41320 1661915613 ===&...
Heinthant Oo's user avatar
0 votes
1 answer
547 views

What's the best way to rsync two directories with git repositories?

I have two machines that I use for work. One is the local machine located at my home, and the other is the remote machine located at my office. I have a "development" folder in which I keep ...
Shihab Khan's user avatar
1 vote
1 answer
201 views

Rsync not considering timestamps while syncronising git repos after permissions changed

I had a git repo on machine A. I did an rsync from machine A to machine B using the flags rsync -zvaP /media/shihab/development shihab@remote:/media/shihab/OSDisk/development Later I did some ...
Shihab Khan's user avatar
4 votes
3 answers
3k views

When and why should I sync a file in Linux?

I've read information about the use of sync command in Linux and how it works. But I'm unable to understand when I really should use it in files and I don't find practical examples. For example, the ...
Edgar Magallon's user avatar
0 votes
2 answers
62 views

Using cp -u but only if content is different

How to use cp -u to only copy if content is different, it fails when doing as below $ cd /tmp/exper ; cp -v ~/Downloads/C/test.c . ; sudo chmod -R 777 . /home/budi/Downloads/C/test.c -> 'test.c' $ ...
user avatar
1 vote
1 answer
293 views

How to sync two folders with the same file names but different extensions

Is there a means of using rsync to sync two folders? I would like to shoot photos in JPG and RAW. Since viewing JPGs is much quicker than opening up RAWs, I'd like to do culling in the JPG folder and ...
Sparatan117's user avatar
1 vote
1 answer
106 views

PPS on focal/20.04 timed out and never recovers

we recently have upgraded to a new industry PC from Vecow/Plugin and to Ubuntu 20.04 from 18.04. From the BIOS (build date BIOS ~17.02.2022) and the IO chip according to it is a SuperIO 8786: https://...
Ritualmaster's user avatar
1 vote
0 answers
3k views

MEGAsync with mega-cmd: How can I initiate syncing from command line?

I'm using MEGAsync from mega.nz. Recently, I've encountered a bunch of problems with the syncing software. One of those problems, was that it seems to have trouble syncing (or scanning?) files that ...
polemon's user avatar
  • 11.2k
0 votes
0 answers
21 views

Syncing Debian ntpd with Windows time server [duplicate]

unfortunately my problem listed here was not solved. It would seem that the issue was not with the ntpdate at all: when bypassing the university network all together, time sync works correctly. The ...
ksonofre's user avatar
1 vote
2 answers
92 views

How I can install the OS linux files on many pc with a linux server?

Ok, so before starting I am a French high school student, so I may make mistakes. My tech/computer teacher this year created an association in which, volunteer students can hand over old high school ...
Pioupia's user avatar
  • 113
2 votes
1 answer
3k views

Automatic time synchronization: `ntpdate` works but `chrony` does not

I have a problem with time synchronization of my Linux server. Both this machine and the NTP server are located in a (smaller) university data center hence the local address. What is strange is that ...
ksonofre's user avatar
0 votes
1 answer
262 views

Not able to assign root privilege to my process again by using setuid(0) in the same boot cycle

I have added the capability by using following cmd on terminal (alternative of setting CAP_SETUID in drop-in file). Verified that setuid/seteuid is working. setcap cap_sys_admin,cap_setuid+ep /...
Anshu Gangwar's user avatar
1 vote
1 answer
339 views

Copy directory recursively only if on target the file exists and only if newer than target

How can we copy file and/or directory only if on target the file exists and only if it is newer than on target, and for the directory case it must recursively copy with such capability as $ ls -a ~/....
user avatar
3 votes
1 answer
1k views

Moving /var onto different disk/partition

I moved the /var directory to a new disk/partition, this part worked well, but I forgot to delete/move the old /var path and it is still using space on / (root) partition. How could I delete the old /...
Leonardo L. Southier's user avatar
0 votes
1 answer
154 views

Synchronizing access to shared, remote resource

I have a shared cache on a remote server that multiple clients are reading and writing to, so I need to synchronize access to this cache. I imagine I could: SSH into the remote and acquire a flock on ...
mola's user avatar
  • 101
1 vote
1 answer
124 views

Update a library file with just the changes in the new file

Let's suppose the following scenario, two Linux computers A and B are connected through an special hardware radio link, which is not always available. This might be the case with two Raspberry Pi. ...
Ediolot's user avatar
  • 113
2 votes
1 answer
253 views

Does having hyperv-daemons enabled show that the system clock is synchronised by timedatectl?

We are opting to disable chronyd in favour of using hyperv-daemons to keep our server clocks in sync so that the guest OS time is managed by the machine that the VM is running on. After disabling ...
Alex Ritchie's user avatar
2 votes
0 answers
223 views

Sync LDAP groups and UIDs with Active Directory

Currently, our organization has a working OpenLDAP server that we use to login to our Linux environments. However, due to the increase in Windows devices, the higher-ups have decided to migrate to an ...
Qiangong2's user avatar
  • 121
2 votes
0 answers
974 views

How to synchronizing /etc/hosts files across multiple linux machines

I have 20 linux servers that use /etc/hosts files to see and talk with each other. I'm adding servers to this pool of servers. It is required to do host resolution via the /etc/hosts files. DNS or NIS ...
Cell-o's user avatar
  • 505
1 vote
2 answers
424 views

lsyncd - syncing multiple client to same directory breaks sync

Backgroud - I'm trying to sync NAS with DR_NAS for HA purpose. Unfortunately, there's a complicated problem with this. NAS is on Alibaba cloud. They don't support NAStoNAS sync yet. Best way I know ...
Lunartist's user avatar
  • 385
0 votes
2 answers
1k views

How to sync two disks - continually?

I have to HDD drives on two different servers that I need to sync regularly. Until now, I've been using rsync over sshfs, first from one to the other, then from the other to the first, but this method ...
OZ1SEJ's user avatar
  • 175
0 votes
1 answer
93 views

Automated file backups/copies that are not symlinks

I have 2 directories: /home/Documents/oppo/ /home/Backup/oppo/ If I wanted to manually copy the contents over, I would do: rsync -av /home/Documents/oppo/ /home/Backup/oppo/ But I am actually ...
ElCapistan's user avatar
0 votes
1 answer
209 views

Syncing Calendar with phone

I'm well aware, that similar questions exist, but due to my lack of expertise the respective answers couldn't help me make it work. So I've just recently transitioned from Windows to LinuxMint (my ...
SebastianKHW's user avatar
1 vote
1 answer
3k views

Ansible Synchronize - run task with different remote user

I apologize in advance if this is documented somewhere or on the site - I could not find a solution and so I'm asking here. I'm trying to use Ansible's synchronize module to pull files from a remote ...
dkd6's user avatar
  • 77

1
2 3 4 5
8