formatting a portable drive I can later mount on windows system

I want to use a removeable local SATA hard drive as backup using rsync. I want to be able to:
  1. Preserve user, group, archive, etc. in case I need to recover files and also use this information for backup verification
  2. Later be able to mount and read this disk from a Windows computer (ignoring the Unix attributes above)
I am using this for backing up files:
rsync --partial --human-readable --verbose --archive --out-format="%n" --no-compress --stats --checksum --owner --group --progress [SOURCE] [DESTINATION]
I have tried ntfs, but it knows nothing about Unix attributes and all files are owned by root/wheel

Assuming this is possible, what format should I use?
 
Even if I don't care about the file attributes on the Windows computer? I really just want to be able to read the file contents from Windows (even if I have to use a third party app to mount the drive.)
 
This might not be what you had in mind but it might solve your requirements problem: You could just rely on spinning up a corresponding VM on "the Windows computer" and pass that storage media through to it. This would make the selection of a suitable filesystem easier in regards of your requirements.

At least personally I'd prefer that over sketchy "Unix to Windows" tools/adapters/drivers/shims/...
 
You could also leave the drive mounted on the FreeBSD system and copy the files from there to Windows over the LAN using WinSCP.

Another option is to use WinFsp and SSHFS-Win on Windows and map a drive letter to the server using something like this:

"C:\\Program Files\SSHFS-Win\bin\sshfs-win.exe" svc \sshfs.k\<user>@<ip> X:

Not at all what you asked for, but it is a way to get the files from one machine to another.
 
Back
Top