No archive bit for new media.

Dirk

Patron
Joined
May 23, 2016
Messages
206
Plex and Sonarr are running on the server. The few movies I keep are copied over from my desktop machine, and series shows are dropped in from Sonarr. So, the backup is for my /series and /movies directories (not the full path).

Manually copying a movie and Sonarr automatically copying a series episode both result in the archive bit being clear. This of course makes an incremental backup useless as it finds nothing new. I have searched the forums as well as Google on Sonarr and Freenas to see if there is any solution, but have not found one. Any insight or ideas are appreciated. I would hate to have to do a full manual all the time to make sure things are safe.

Backup TO point is my desktop dock drive, and backup software is on the desktop client. Examining a fresh file on freenas shows archive bit clear.

Thanks
 

Dirk

Patron
Joined
May 23, 2016
Messages
206
No, and no other reply than yours.
 

fracai

Guru
Joined
Aug 22, 2012
Messages
1,212
When I try to research the "archive bit" I'm mostly finding articles about how unreliable it is. What backup software are you using? Can you make it use the "file change" timestamp instead?
 

Dirk

Patron
Joined
May 23, 2016
Messages
206
When I try to research the "archive bit" I'm mostly finding articles about how unreliable it is. What backup software are you using? Can you make it use the "file change" timestamp instead?

Thanks, I had not researched a backup solution that would track the modified date rather than the archive bit. Problem with most of the software is that they will backup TO a lan share, but not FROM unless you shell out some bigger bucks. Currently using Cobian as it does not care. Any recommendations are appreciated.
 

fracai

Guru
Joined
Aug 22, 2012
Messages
1,212
Hmm, I can't say I can recommend much. I'm currently using duplicacy, which should back up whatever you want, but I don't know if it fits your requirements.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Plex and Sonarr are running on the server. The few movies I keep are copied over from my desktop machine, and series shows are dropped in from Sonarr. So, the backup is for my /series and /movies directories (not the full path).

Manually copying a movie and Sonarr automatically copying a series episode both result in the archive bit being clear. This of course makes an incremental backup useless as it finds nothing new. I have searched the forums as well as Google on Sonarr and Freenas to see if there is any solution, but have not found one. Any insight or ideas are appreciated. I would hate to have to do a full manual all the time to make sure things are safe.

Backup TO point is my desktop dock drive, and backup software is on the desktop client. Examining a fresh file on freenas shows archive bit clear.

Thanks

Sorry, I meant to respond to this earlier, but better late than never. In the next 11.2 release, I'm putting in a new VFS module "ixnas". The reason why the archive bit was being lost is because it was stored as an xattr and there was no OS visibility outside of Samba. In ixnas, the DOS modes are being mapped to their respective file flags. In the case of "archive", UF_ARCHIVE. At this point FreeBSD will actually do the correct thing. ixnas has quite a few features:
1) It has the aforementioned dosmode mapping. This should improve cross-protocol compatibility (but do note that this also has implications. If you flag a file as "readonly" in windows, the UF_READONLY bit will be flipped and the file will _actually_ be readonly. Since they won't be stored in xattrs, this will also bring some directory listing performance improvements.
2) We're introducing new ACL behavior to make it behave more windows-like in certain edge cases. I won't go into details, but people in AD environments will probably appreciate it.
3) I added support for managing ZFS userquotas through the quotas tab in File Explorer. Likewise, won't go into it here since this is a quick point about the Archive bit.
4) I also added some other neat features that are very experimental and off by default.
To reiterate, it's experimental for now but will eventually be the default and replace "zfs_space" and "zfsacl".
 

Dirk

Patron
Joined
May 23, 2016
Messages
206
Cool. Thank you for your efforts.
 
Top