June 22, 20206 yr I like to auto backup all shares that have the cache status "Only" and "Prefer". Is there a method available to get this information by passing a user share name or path? The only idea for a dirty hack I had, is to search for all cache root dirs on all disks and if they do not exist on the disks its cache status could be "Only" or "Prefer". But this works only if the status is "Only" or "Prefer" has never filled up the cache (else it creates the dir on the disk array). Edited June 22, 20206 yr by mgutt
June 22, 20206 yr You would have to parse the applicable .cfg file within /config/shares on the flash drive Without doing that you could determine if a share is cache only AND no files exist on the array by seeing if the share exists within /mnt/cache and DOES NOT exist within /mnt/user0
Archived
This topic is now archived and is closed to further replies.