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
0answers
21 views

elegant way to sync file between local machine and server (in real time)

I am looking for a "local Dropbox" to sync files between local and server. For complex reason I couldn't install Dropbox on the server. I thought about rsync but it doesn't work bi-directionally. ...
0
votes
0answers
10 views

MBSync Maildir++ to IMAP with subfolder in INBOX

I am trying to use MBSync to sync a local Maildir++ folder (dovecot mail data) into a remote IMAP mailbox. While it works in general, subdirs of INBOX are ignored. Config looks like this: ...
0
votes
1answer
21 views

using rsync to distinguish between files that are different on local vs remote vs files that exist on one but not the other

I'm using the following command to compare directories on my local and remote machines rsync -K --delete -n -avrc $cwd/* simon@${othIP}:$cwd > /tmp/output where the macros have the obvious ...
0
votes
0answers
23 views

wrong time on Virtualbox client

I have a Virtualbox host (6.0.16 r135674 (Qt5.9.5)) on Ubuntu 18.04 with a client running Ubuntu 16.04 with guest additions installed and the guest's time keeps being out of sync with the host. How do ...
0
votes
1answer
29 views

How can I quickly synchronize changed Exif tags of photos?

I have a big collection of raw photo files. On most of them I have changed the Exif Data for Dates and Time Zones. Now I want to synchronize these changes to a remote location. I tried to use rsync. ...
2
votes
0answers
29 views

I can’t configure NTP to work with the GPS module as a synchronization source (NMEA + PPS)

I can not configure NTP on Ubuntu 18.04.3 LTS (Linux 4.15.0-74-generic). As a source of synchronization I want to use NMEA + PPS from GPS module. GPS module is connected via USB using the SILABS ...
0
votes
0answers
17 views

backintime: make several profiles incremental to one?

I have a rather technical question concerning Back In Time. I'm currently trying to work out the gory details about how to keep an incrementally updated, rolling mirror-backup of a given location (...
1
vote
1answer
30 views

Use Timeshift or similar for synching/backing up arbitrary locations?

I have been using a dual boot machine for a couple of years. I've got to the point where I spend 95% of my time logged into Linux rather than the proprietary OS (W10) and so I need to choose a Linux-...
0
votes
0answers
45 views

Can I perform incremental backups with Syncthing?

I have found a page which describes how to go about doing incremental backups using rysnc. To me incremental backups are good not only because they save space and time but also because you can ...
1
vote
1answer
49 views

How can I estimate the whole time of a write process including sync?

Progress and estimated time to write without and with sync I have found no tool (or straightforward method) that will include flushing the buffers when showing the progress and estimating the ...
4
votes
1answer
59 views

Understanding sync command operations in linux [closed]

I'm trying fully understand the sync command operations in linux OS. After reading: https://en.wikipedia.org/wiki/Sync_(Unix) https://lwn.net/Articles/457667/ I understood that sync command ...
1
vote
2answers
109 views

How to keep a local directory automatically synced with a remote, without latency issues?

I develop a git-tracked codebase that has a lot of files. This code must be run on a remote machine. So every time I make a change locally, I must then sync it to the remote and run the new code on ...
2
votes
0answers
118 views

Evolution fails to connect to my Google calendar

I've configured 2-Step Verification with my Google accont (under https://myaccount.google.com/security). Emails with OAuth 2 seem to come through fine but I keep getting "Failed to connect calendar ...
0
votes
0answers
12 views

NFS sync issue: ssh-remote file creation taking too long to be registered locally

We routinely run make or scripts via ssh on another (let's call it "remote" even though it's in the same LAN) machine, to use the software installed there. Both the local and remote machines operate ...
1
vote
0answers
15 views

Using sync command upon startup

I'm using linux 4.1.8 32bit (yocto env) on an PPC embedded system. On each startup the init process (systemV init) performs mount to a 15GB ext4 fs (nand flash). Later (still by the init process and ...
2
votes
0answers
60 views

grep thorugh device does not work

I have created a file with some data: root$ echo thisismydata > /etc/myfile I can grep that file: root$ grep -a "thisismydata" /etc/myfile thisismydata I want to verify that I can grep the ...
7
votes
1answer
200 views

Has 'sync' been proved to be necessary when writing to a block device with 'dd'?

Every time I've written a file to an empty raw block device, e.g. # dd if=image.iso of=/dev/sdb status=progress I've never used any type of sync (i.e. sync; conv=fsync; conv=fdatasync; oflag=sync; ...
0
votes
1answer
67 views

Does rsync download whole file if the target location is a mounted folder?

I am using WebDAV client to mount ownCloud folder (or any other cloud's folder) as a driver on my local computer sudo apt-get install davfs2 mkdir oc sudo mount.davfs https://b2drop.eudat.eu/remote....
1
vote
0answers
48 views

How to Mirror (Sync) Specific Log Entries to a data file?

Running CentOS 7.7 in VPS Question: Is there native functionality to copy|duplicate|sync lines from a specific log file matching specific search criterion to a separate data file for archival ...
0
votes
0answers
43 views

Debian removal of Google Drive folder without deleting its files

After signing in to Google Chrome on Debian, I noticed that I had very little storage space. I found out that this was because my /var/host/media/fuse/ folder contained a folder named drivefs- ...
1
vote
1answer
21 views

How to one-time synchronise directories on Linux?

A and B are directories. I'd like to copy every file in A that's not in B to B and remove every file in B that's not in A. The result should be equivalent to the result of rm -r B/*; cp -r A/* B, but ...
3
votes
1answer
112 views

To sync or not to sync in an embedded environment?

I have a single board appliance that runs Debian 10 on a chunk of flash. UBIFS is used, and is split into two volumes: an ro roots, and an rw /var. I have found that under power cycling/reset ...
0
votes
2answers
169 views

Lightweight processes behavior with an new PID

I've been experimenting with lightweight processes. Basically calling the clone function and assigning a new PID to the cloned LWP. This works fine it lets me identify all the children threads of ...
1
vote
0answers
22 views

Why doesn't sync guarantee that buffers are flushed?

As far as I can see, the only use of sync is to ensure that there's no incomplete information, which is supposed to be safely written on disk but may actually be still only in a volatile buffer. ...
0
votes
1answer
54 views

Sync two directories: same filename, different fileending, different filecontent

I have 2 folders with subdirectories. One with training images and one with training labels. One image belongs to exactly one label The image and the label have different content The image and the ...
1
vote
0answers
20 views

Sync multiple PCs every boot via home LAN (local files update old version on server)

I need your precious support and advices for a kind of setup for my home computing. So... I have two laptops and a desktop that I use same (or different) times. Every computer has a different distro (...
0
votes
1answer
18 views

Sync 1 config file amongst multiple directories

Lets say I have 4 java instances running on my linux system, in separate directories, all of which have a config file named config.yml. I want to be able to edit 1 config.yml and have it copy across ...
0
votes
0answers
23 views

Sync icon in every file or folder after uninstall overgrive

I need to know how to find the script or directive which add an "sync" icon in every file and folder I synced with overgrive. After I uninstalled overgrive, the icons remains. I want to delete that "...
5
votes
2answers
114 views

Is file creation totally ordered?

On Linux, the openat syscall can be used to create files and to test for their existence. Speaking in terms of the C/C++ memory model, creating a file and verifying its existence creates a ...
0
votes
1answer
67 views

rsync with filter to include only certain file types for specific directory trees

my rsync command looks like this: rsync --update -rav --filter="merge $HOME/mergefilter.txt" ~/ (remote_destination):~/ My mergefilter.txt file looks like this: + /directory_1/*** + /directory_2/***...
1
vote
0answers
78 views

lsyncd - How to upgrade lsyncd from 2.1.5 to 2.2.3 version

How to upgrade lsyncd from 2.1.5 to 2.2.3 version using the command prompt. Or how to install lsyncd 2.2.3. Does have any idea about this upgrade?
0
votes
1answer
241 views

lsyncd - How to include specific directories and exclude rest of all directories

I want to include some of the directories in lsyncd process and exclude rest of all directory. I have so many directories in a multisource directory. I want to include only temp and temp1 directory ...
0
votes
0answers
63 views

Best way to sync OMXPlayer audio and video?

I am having issues getting OMXPlayer video played on a TV via HDMI to sync with audio streamed over the network. My thought was delay the video output by ~500 ms then use pavucontrol to fine tune the ...
1
vote
1answer
114 views

How do I confirm a file sync has completed before executing a command?

I have a computer periodically syncing folders of content with another computer using Resilio Sync. The receiving computer has a sorting process on an hourly cron, which analyses the folders and their ...
0
votes
0answers
73 views

Is there a way to send Power Off to MMC from userspace?

I have an ARM system which boots from an embedded multimedia card version 5.1, runs kernel version 4.14.69, and is shut down by unpluging it directly. I've noticed that there are some patches which ...
2
votes
2answers
120 views

How to copy Linux distribution to different machines?

I want to be able to install a linux distribution on my home PC but also on my Laptop. Since I already setup my home PC is there any possibility I can move the OS to my Laptop without reinstalling ...
0
votes
1answer
169 views

Synchronise passwords across devices with pass

I am looking for a simple, open-source password manager for linux with a CLI. It has to have a way of retrieving a password via the command line, so I can use it in several scripts (that sync my email ...
0
votes
1answer
129 views

Sync Linux Centos 7 Directory With Dropbox in realtime

I do have Linux Centos 7 Server which i would like to sync specific directory with dropbox in realtime. For example, let's say that i do have directory A which is located in /var/www/html/A/ I would ...
2
votes
1answer
358 views

Why does rsync keep skipping the directory I want to sync? [closed]

I want to sync a directory between my Mac High Sierra machine and a CentOs 7 machine, excluding a certain file. I have tried the below (venv) localhost:dental davea$ rsync -e 'ssh -p 7822' --exclude=...
0
votes
1answer
54 views

Linux | Copy open files to a different directory and keep them Synchronized

I want to copy files while they are in use by an application to a separate directory on my Ubuntu system. These files in the source directory should be in continuous synchronization with their copies ...
1
vote
0answers
43 views

Backup and Sync from Linux to a WSL live (per each change) [duplicate]

I have a Linux (Arch/Debian) with only a CLUI (Bash) and a server environment (LAMP) with the following details: 4 GB RAM 2 vCPU Cores 80 GB SSD 4 TB Transfer 40 Gbps Network In 4000 Mbps Network ...
0
votes
2answers
154 views

Recommendations for editing same file on different machines

Our Rails app is scaled at multiple machines, from time to time, we need to change settings at production.yml , right now we have to ssh into each server and do the editing at each machine ...
0
votes
1answer
47 views

SCP not willing to transfer remote to remote

My family and I are attempting to sync all our data across multiple locations and devices. Seeing as we are just setting it up, we were wanting to start with the basics before building on it further, ...
3
votes
1answer
458 views

What's the difference between “parent” and “clone source” with “btrfs send”?

I regularly use btrfs send and btrfs receive to copy read-only snapshots from my live system to a backup drive. On the backup drive there are already multiple snapshots. Today I wondered: Can I copy ...
2
votes
1answer
114 views

How to sync after a 'snapper delete'

I have started a snapper delete command, only to find out five minutes later that it is running in the background and seems to take a longer time. Is there a command can I use to get notified when the ...
20
votes
2answers
3k views

Sync a folder between 2 computers, with a filesystem watcher so that each time a file is modified, it is immediately replicated

I have: a Linux server that I connect via SSH on IP 203.0.113.0 port 1234 a home computer (behind a router), public IP 198.51.100.17, which is either Debian or Windows+Cygwin What's the easiest to ...
1
vote
1answer
138 views

Can we trust the files in a filesystem that was repaired by e2fsck?

Topic If a filesystem was successfully repaired by e2fsck, it is guaranteed that it is in a consistent (clean) state. However, it is not easy to assess the reliability of the files themselves after ...
0
votes
1answer
1k views

Upload file to Google Docs with a script

I want to upload a file to Google Docs with a script, to avoid doing it manually over and over again. Is there a way to do that simpler than scripting this with a Selenium what would be really ...
1
vote
1answer
1k views

Does rsync completely overwrite files with different timestamps?

I've used a command similar to this to rsync files from macOS to Linux: rsync -avz <ip-address>:/Backup/ Backup/ The folder Backup/ was previously copied from the same machine using scp, with ...
0
votes
1answer
286 views

Calling sync without root privileges

I can call sync without root privileges. Does it flush all buffers to disk? Is it the same as calling it with root privileges like sudo sync?

1
2 3 4 5 6