Ask Your Question
1

How can rsync be used on NTFS and is versioning possible using hardlink just like in Linux?

asked 2022-06-07 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-03-26 06:00:00 +0000

huitzilopochtli gravatar image

Rsync can be used on NTFS by running it in a Cygwin environment or by using a port of rsync for Windows. One popular port is cwRsync, which is a free and easy-to-use version of rsync that runs on Windows.

Versioning with hardlinks is possible on NTFS, but it requires some extra steps. Unlike Linux, which supports hardlinks natively, NTFS does not have built-in support for hardlinks. However, the NTFS file system does support symbolic links, which can be used to create similar functionality to hardlinks.

To implement versioning using hardlinks on NTFS, you would need to create a script that uses rsync to back up your files to a separate folder. The script would then create symbolic links between the backup folder and the original folder, using the --link-dest option in rsync.

By using symbolic links in this way, you can create a series of snapshot backups of your files, with each snapshot containing only the changes from the previous snapshot. Because the symbolic links point to the same file on the hard drive, no additional disk space is needed for each snapshot, making this an efficient way to implement versioning on NTFS with rsync.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-06-07 11:00:00 +0000

Seen: 9 times

Last updated: Mar 26 '22