N
N
nApoBo32021-01-11 18:56:04
linux
nApoBo3, 2021-01-11 18:56:04

How can I do versioned synchronization of Windows Server - Linux directories?

On Windows Server, there is a directory with a large number of files and a total volume of just under a terabyte.
You need to synchronize its state with the directory in linux with file versioning support.
Those. according to the schedule, you need to pick up (or send) files from the Windows Server to the linux server, but only new or changed ones.
On a linux server, new files must be written with the directory structure preserved, and for changed files, an additional version of the file must be written (this can be a prefix or suffix, or an additional directory with history).

Something like vss only on a remote server and on linux or git for backup.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dmitry Shitskov, 2021-01-11
@nApoBo3

As an option.

  1. DeltaCopy on Windows and rsync on linux to only copy what has changed.
  2. Use on linux FS with support for snapshots - for example, ZFS or btrfs
  3. According to the schedule with linux, execute a script that makes a snapshot / deletes obsolete snapshots, then start synchronization with windows.

PS There is also FS, it does exactly what is needed - it versions everything that is written to it. But I wouldn't risk using it https://ru.wikipedia.org/wiki/NILFS

A
Adamos, 2021-01-11
@Adamos

rsync has enough options for this task. You just need to read his man.

V
Victor Taran, 2021-01-11
@shambler81

Well, put the git who's stopping you?

A
Aelliari, 2021-01-11
@Aelliari

And what about the fact that not the windows server created a backup, but the linux server took the files for backup? There are a lot of options on how to give *nix access to files, but here there is a list of various backup utilities, including those that can version and incremental backups, and actually restic itself, from the github of which the
PS link was taken, there are also cross-platform ones in the list utilities like kopia

O
Oleg Volkov, 2021-01-12
@voleg4u

syncthing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question