Ln – NTFS hard/symbolic link command line tool
schinagl.priv.at
schinagl.priv.at
If this is important to you (as it is to me), it's worth noting that Cygwin supports creating native NTFS symlinks, and you can use the good old GNU ln (same one you'd use on Linux!) to do so. There are some caveats, but it should at least attempt them. See the documentation: https://cygwin.com/cygwin-ug-net/using.html#pathnames-symlin...
(And let's not mind that NTFS is complicated enough that almost all native Windows tools won't backup it either. Your best bets are wimlib or dism...)
https://technet.microsoft.com/en-us/sysinternals/bb896768.as...
https://technet.microsoft.com/en-us/library/cc753194(v=ws.11...
One big downside for me is that I cannot actually run the code I build locally because the codebase I'm working on needs to enumerate & name the network adapters that are present, and WSL doesn't yet (, if ever) support this.
But, for what I'm currently doing, which is code cleanup and goal #1 is just clean compiles w/ no warnings as errors (w/ -Wall -Wextra -pedantic -Wno-zero-as-null-pointer) & links, it's a great productivity saver.
[1] https://github.com/myint/indent-finder/blob/master/test_file...
Take a look at this blog post from November: https://blogs.msdn.microsoft.com/commandline/2016/11/10/ifco...
Also this page badly needs a ToC.
Are you running rdiff-backup in cygwin? How do you find it deals with the ntfs ACLs? I'm looking for a way to do incremental full-disk backups that leave the files on disk in a "natural" state, with their original pathnames/ACLs/ADSs and not in some weird archive format. Although I suppose rdiff doesn't count as "weird" being as its open source and well supported.
TBH I'm quite liking the look of the windows built-in backup function, I like the idea of the shadow copy service and storing disk images as VHLs. Booting into the backups in virtualbox sounds cool.
The problem is that the "Previous Versions" get stored on the primary drive, not the backup drive, eating into my free space. Unfortunately one can't set it to use the empty space, it wants to preallocate. You also can't set a time interval, only a percentage of the volume.
As far as I can tell consecutive VHL images don't get stored as diffs or anything, they're separate, meaning I'd really only get one at a time.
Oh, come back Time Machine, all is forgiven.
I wouldn't think rdiff-backup on Win32 is suitable for an OS backup. I'm backing-up a particular application's directories only, so I can get away with using it.
The built-in Windows Backup's image-based backups are reasonable (at least in Windows 7, 8.1, and Server 2008 R2 and 2012/2012 R2-- I haven't tried it with other Windows versions). You get a VHD file (VHDX in Server 2012) that can be mounted, as you say, in Virtualbox, etc. I suppose it would be bootable, but I'd never thought to try that.
"Previous Versions" is a user friendly interface to Volume Shadow Copy (VSS) that takes periodic snapshots of a volume and presents them in a GUI. Data for "Previous Versions" is stored in the volume that's subject to snapshot.
Windows Backup also uses VSS snapshots to maintain multiple versions of the backup. These snapshots are stored on the backup destination, however. I think you may be conflating the "Previous Versions" feature's use of VSS with Windows Backup's use of VSS.
To access the VSS snapshot versions of the VHD(X) file directly that Windows Backup creates it's necessary to expose the shadow copies (using a variety of different methods-- "diskshadow.exe", or "mklink.exe" being the two most common). You can also use the GUI restore interface to restore files from a previous snapshot of the VHD(X) file.
¹excepting the recent change where a "developer mode" can be activated, but that still doesn't make them useful on an end user's machine, or to an end user.
Of course that's a bit of a lie, if you use the NtSetInformationFile api you don't need write access :-)
To be fair it was first with Vista that Microsoft tried to seriously lock users down and keep administrative privileges far away for the common user.
I'm pretty sure most Windows 2000-users had admin rights. This was not the reason symlinks was not adopted.