Chris Dunning wrote: > My question is what happens if the samba share is not there one night? > If it's mounted on Monday, not mounted on Tuesday, then mounted on > Wednesday, will Dirvish treat Wednesday's files as new files and > download them again, or hard-link them to Monday's files? I suspect the > answer is they'll be treated as new/changed files...unless the unmounted > share returns an error, in which case Dirvish would use Monday's > directory as its base for comparison, right?
My suggestion comes in two parts. The first part is definitely doable. Treat the desktop's filesystems as one dirvish vault and treat the Samba shares as separate vaults. That way, what happens to one won't affect everything else. The second part is just a guess ... What you need to do now is have rsync return an error if the share is not there, rather than see a valid but empty directory. I think you could do this by backing up a just a directory or directories *within* the share, rather than the mount point itself. That way they won't exist if the share isn't there. There way be easier ways to achieve this goal. HTH, Dave _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
