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
1 vote
1 answer
22 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 ...
user avatar
1 vote
0 answers
27 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://...
user avatar
1 vote
0 answers
66 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 ...
user avatar
  • 10.3k
0 votes
0 answers
31 views

Sync 2 Linux machines, apps and files

I am currently using Fedora 35 on my primary machine as well as my secondary laptop, is there a way I can set up so all apps along with configs and files are synced between the two? It would make me ...
user avatar
  • 11
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 ...
user avatar
1 vote
2 answers
66 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 ...
user avatar
  • 13
2 votes
1 answer
213 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 ...
user avatar
0 votes
0 answers
36 views

Linux google drive sync path?

I have Mx Linux and I use * gnome-control-center online-accounts * so now I have google drive sync on my pc but I don't know how to use the path to copy files into it? here my script: #!/bin/sh # # ...
user avatar
  • 65
0 votes
0 answers
24 views

How to copy files to two TeamDrive directories

I have two Google Team Drives (TDs collectively, (TD1 and TD2) from now on). I want to backup files from my home server to the TDs for redundancy. I mounted the drives using rclone. I will use the ...
user avatar
0 votes
0 answers
21 views

btrfs sync tool with support for renames (not only one way backup)?

I want to sync certain folders (parts of the directory tree). Rsync does not support renames/moves. bugzilla discussion on rsync: Bug 2294 - Detect renamed files and handle by renaming instead of ...
user avatar
0 votes
0 answers
23 views

Syncing several locations having btrfs - how to propagate rename/move of files/folders from both ends?

I want to be able to sync some folders between hard drives, maybe with remote later. rsync as of now does not support propagating renames. bugzilla discussion Bug 2294 - Detect renamed files and ...
user avatar
0 votes
1 answer
34 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 /...
user avatar
0 votes
0 answers
36 views

PHC2Sys and syscalls with intel NIC have insane high latency

I'm currently working on a device wich is set to give out multiple different timing Protocolls from one PTP-grandmaster. For this i have an RockPro64 SOC with an Intel i350 NIC. For the Project I ...
user avatar
  • 1
1 vote
1 answer
27 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
2 votes
1 answer
215 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 /...
user avatar
0 votes
1 answer
31 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 ...
user avatar
  • 101
0 votes
0 answers
11 views

Looking for a cloud sync application

The goal is to have a folder on my PC, synchronize it with the cloud and with another PC. Is there a free app that can synchronize local folders between some PCs and a cloud? And what is important I ...
user avatar
0 votes
0 answers
35 views

ffmpeg to cut subtitle file in sync with the cut video

I managed to cut the video and keep subtitle in sync by embedding the subtitles in the video: $ ffmpeg -i sample-mp4-file.mp4 -hide_banner \ -vf subtitles=subtitles.srt -ss 0:30:00 -t 1:33:31 \ ...
user avatar
  • 485
0 votes
1 answer
39 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. ...
user avatar
  • 103
2 votes
1 answer
69 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 ...
user avatar
2 votes
0 answers
84 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 ...
user avatar
  • 121
1 vote
0 answers
138 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 ...
user avatar
  • 485
0 votes
0 answers
224 views

How to sync-backup large qcow2 files (2.5TB) on Debian 10?

Situation: I don't want to create RAID-1, as I am having difficulty navigating creating degraded array due to lack of experience and beginner friendly up to date tutorials and therefore I fear losing ...
user avatar
  • 1
1 vote
2 answers
146 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 ...
user avatar
  • 147
0 votes
0 answers
18 views

GSync/FreeSync status of plugged monitors

Is there any environment variable that we can check to know if GSync or FreeSync is activated? Or is there a software that can tell both for us? Or just one of them?
user avatar
  • 83
0 votes
0 answers
9 views

Best way to sync cloud NAS to cloud NAS in realtime?

I have two NAS in Alibaba Cloud. Unfortunately, they don't have any realtime sync solution between them. I already have 10PB in one of the NAS and want to set a realtime sync with another one. ...
user avatar
  • 147
0 votes
2 answers
250 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 ...
user avatar
  • 147
0 votes
0 answers
22 views

Synchronising directories, but with a transformation

I often run into a situation where I have two directories, A, and B, and for every file in A, there should be a corresponding file in B that was generated by performing some sort of transformation on ...
user avatar
  • 226
0 votes
1 answer
24 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 ...
user avatar
-1 votes
0 answers
67 views

One way hard link backup

a brief preface: I'm a real noob when it comes to Linux but I like to read and study. I have a folder where I place some files (let's say "/mnt/original_dir"). I want this folder to be ...
user avatar
0 votes
1 answer
46 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 45
1 vote
0 answers
105 views

How to automount USB drive synchronously on Debian Buster? Is it safe?

I hate it when I copy a large file (~2 GB) to an USB drive and it shows a "fast" progress bar, only to wait indefinitely afterwards, until the copy is finally done. So I'd prefer to mount ...
user avatar
  • 1,552
1 vote
0 answers
90 views

How to sync specific files with unison?

I originally posted on SO but i realized this might be more suited here. I'm using unison on Linux (Manjaro) to keep some files synced between two local folders but I'm running into a problem. I have ...
user avatar
1 vote
1 answer
55 views

How to synchornize two machines

I have two machines that I use at different times. I would like certain changes I make to one machine (create/delete files, install/uninstall applications) to appear in the other. I currently use ...
user avatar
0 votes
0 answers
126 views

Is there dependency between Unix/Linux IPC facilities?

The Linux Programming Interface summarizes UNIX/Linux IPC facilities for communication and synchronization Is there dependency between any of the facilities? Either between their interfaces or their (...
user avatar
  • 89.7k
1 vote
1 answer
192 views

In which way do sync and fsfreeze differ as regards producing coherent on-disk data?

On a running linux box, cached content in a filesystem, should be written to disk. "sync": with the command line sync and related system call, it can be made that data is persisted/written ...
user avatar
0 votes
3 answers
59 views

Sync huge number of files from one server through ssh

I need to speed up the process of syncing log files between servers. The machine that generates the logs (LOGMACHINE) creates them in a tree like this: /Files /Files/LOGS1/ /Files/LOGS1/logFiles/ /...
user avatar
0 votes
0 answers
34 views

Syncing renamed files without copying

I've renamed a bunch of files and moved some to other folders. Now I want to sync all these changes to another filesystem, that already contains the original files. Something like rsync with --delete. ...
user avatar
1 vote
1 answer
196 views

High latency on v4l2loopback

How do I combat the audio delay / latency here? https://s.natalian.org/2021-01-02/sync.mp4 I'm using a GH5 connected to my T14s running Archlinux with /lib/modules/5.10.3-arch1-1/extra/v4l2loopback.ko....
user avatar
  • 131
1 vote
1 answer
105 views

Signal lost for Bash background process

When I spawn a background job in Bash 5.1 and immediately send it a signal, this signals seems to get lost. Short demo: $ cat simple.cc #include <signal.h> #include <unistd.h> #include &...
user avatar
0 votes
1 answer
31 views

Are separate blocking-IO accesses to a file consistent at runtime without explicit syncing in Linux

I'm trying to figure out how often a sync or fsync operation really needs to be run in scenarios where power loss of concurrency isn't really a concern. I'm looking for any guarantee the Linux kernel ...
user avatar
  • 383
0 votes
1 answer
159 views

How to sync Linux folder on Google drive with bash?

I know this is a sort of entry-level question but: is there a simple way to sync a folder on Ubuntu computers (let's say Documents) with Google drive? I tried with grive, but I get an access error on ...
user avatar
  • 295
1 vote
1 answer
533 views

What is the process state when pthread_mutex() is executed

Following are the Linux Process states; R: running or runnable, it is just waiting for the CPU to process it S: Interruptible sleep, waiting for an event to complete, such as input from the terminal D:...
user avatar
  • 113
1 vote
0 answers
37 views

Prevent filesystem from synchronizing

I have an embedded system running Debian with a ext4 file system on eMMC. If the power goes down, the system has about 1 second to detect and sync the file system before voltage is below threshold and ...
user avatar
  • 11
1 vote
1 answer
229 views

Lossless ffmpeg recordings with low resource usage

I'm trying to record lossless videos with ffmpeg of My screen My computer audio My microphone audio using this script: MIC="alsa_input.usb-Logitech_Logitech_USB_Headset-00.mono-fallback" ...
user avatar
  • 173
0 votes
0 answers
27 views

How to sync edits for a file across multiple linux machines?

I have 3 Linux machines which act as compilers to execute scripts in a parallel fashion. Now to make the execution better with less restarts of resources (where needed), I am developing a framework ...
user avatar
0 votes
1 answer
97 views

Keep a local copy of nfs mount

This question was asked 9 years ago but did not receive an answer for what was asked, only suggestion for alternatives (which now seem outdated). I want the ability to cache selected files / ...
user avatar
0 votes
1 answer
9k views

system clock synchronized: no

# timedatectl reports System clock synchronized: no even when NTP service: active and # systemctl status chronyd shows active (running), and the logs therein don't show anything like an error; I see ...
user avatar
  • 133
0 votes
1 answer
282 views

Git - Sync local repository between a usb stick and a computer

I have a laptop, where repository A, which reside in the home directory, under an example name test. I have commited a couple of things, namely text file, etc into that same repository. The usb stick, ...
user avatar

1
2 3 4 5
7