One more point - note that you can "Run as Admin" from command line as well, with aptly named `runas` command (I often see it wrapped as `start runas ...` though).
Depending on your UAC settings, you may have to click the pop-up to allow the privilege elevation, so wrapping as a Windows service or a Task Scheduler operation with saved credentials may be easier. Jim On Fri, Jan 10, 2025, 09:20 Jim Klimov <[email protected]> wrote: > Cheers, > > There actually are a number of builds of rsync native to Windows. > > One is cwRsync I used long ago, not sure they still exist. > > Another option is MSYS2 ecosystem (there `pacman -S rsync openssh` to > install them, `pacman -Syyu` to update the SW generally). You would need to > use their terminal shortcut, Run as Admin if needed (actually this applies > to all ways of backup). > > I thought I had one in GitBash but apparently not; maybe it came with > (Strawberry?) Perl (and its gcc chain), and is usable via PATH from GitBash > terminals, cmd, FAR... This or cwRsync is likely easiest to integrate with > Task Scheduler. > > Hope this helps, > Jim Klimov > > > On Fri, Jan 10, 2025, 08:01 Hugh McIntyre <[email protected]> wrote: > >> Hi, >> >> This is maybe off-topic, but I’m wondering what other people do here for >> backup of Windows systems in an Illumos-centered backup world. >> >> I have a mixture of OmniOS (backup server) as well as Linux, MacOS, and >> Windows 10+ systems needing backup. For everything except Windows, backup >> works well with rsync (along with "—backup-dir=DIR" for incremental >> deltas). But Windows does not work so easily, not least because of >> filesystem differences and lack of native rsync. >> >> I can use rsync on Windows as well by running within WSL, but >> ownership/permissions are messed up and only files visible to the user >> running WSL can be backed up. Meanwhile the default Windows backup service >> to a SMB-exported filesystem from ZFS seems to be unreliable, and also may >> not work well for files outside a user’s home directory. What setup are >> other people using? I have a strong preference to something that generates >> a visible hierarchy of files on the backup server, not a proprietary binary >> backup column since this makes it non-recoverable if the backup software is >> no longer available. And I’d prefer to use the existing OmniOS box, but >> could consider other custom options if recommended. >> >> If there are good recommended solutions, let me know. Not using Windows >> is not an option, because of Photoshop Lightroom. >> >> Thanks, >> >> Hugh. >> >> >> ------------------------------------------ >> illumos: illumos-discuss >> Permalink: >> https://illumos.topicbox.com/groups/discuss/T8318a7706e7218ac-M12eb7e91651b13be10956fe0 >> Delivery options: >> https://illumos.topicbox.com/groups/discuss/subscription >> ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/T8318a7706e7218ac-M7f932cf9fb39c5a064bcab3b Delivery options: https://illumos.topicbox.com/groups/discuss/subscription
