Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Beware! 6.12.8 update resets smb settings (killed thousands of my files :-( )

Featured Replies

  • Community Expert

I was wondering, why my backup server lost more and more files.

Now I have noticed that the SMB setting "show DOT Files" on the main server has been set to "yes".

My folder structure for videos contains a subfolder ".actors" for every movie.

This was not seen anymore, therefor it was deleted on the backup server.

 

But even worse! the folder and the files within have been deleted on the main server too!!!

(no idea how this should have happened ?!?!?)

 

So for everybody who updates: CHECK YOUR SMB SETTINGS after the update! Better not to set the array to autostart.

 

(and of course, the value of this setting was "NO" for years and nobody here twiddled with it. It is even locked if the array is running (all the time)).

 

So could somebody explain what happened and how to prevent such a desaster ? (naah diagnostics won't help it must have happend at the weekend already, now over 200.000 jpgs are gone...)

Edited by MAM59

  • Community Expert

Im confused. The setting is "hide dot files" and no is the default.

  • Author
  • Community Expert
46 minutes ago, Mainfrezzer said:

Im confused. The setting is "hide dot files" and no is the default.

Ooops, sorry, it is the other way round. Suddently (after the update) it was set to "yes"

 

I was confused too. Somehow it was set to "yes". And surely not by me.

 

The only thing that happened last week was the update to 6.12.8 (and the needed reboot afterwards).

 

MAYBE something before the update changed the ini file and it was later on activated by the reboot ? (again, not me!)

 

 

Edited by MAM59

  • Community Expert
34 minutes ago, MAM59 said:

Ooops, sorry, it is the other way round. Suddently (after the update) it was set to "yes"

 

I was confused too. Somehow it was set to "yes". And surely not by me.

 

The only thing that happened last week was the update to 6.12.8 (and the needed reboot afterwards).

 

MAYBE something before the update changed the ini file and it was later on activated by the reboot ? (again, not me!)

 

 

 

Regardless of that setting, Unraid would not be deleting any files on the main server as that setting just controls whether they are visible over the network.  If they did get deleted on the main server it was done by something else.

59 minutes ago, MAM59 said:

.....Somehow it was set to "yes". .....

 

I have 2 Servers and none of them had that happen.

 

Also just showing the DOT Files does not mean the sever deletes files. Do you have some sort of mirroring backup?

  • Community Expert

What did you use to update the backup?  rsync has a switch which will delete files/directories from the destination if they are missing from the source.  (I would avoid that switch like the plague in most backup situations.  I have the rsync switches setup so that only new or changed files are copied to the destination and to never delete a file from it!  Inadvertent file deletion from the source is often a 'cockpit error' situation that you would like to be recover from using the backup.)

After updating my test server, the 'Hide "dot" files:' parameter in settings > SMB settings remained set to "no".

 

I could not find a 'Show "dot" files:' parameter however.

Edited by Opawesome

  • Community Expert
1 hour ago, Opawesome said:

I could not find a 'Show "dot" files:' parameter.

image.png.e26ac601f2e9176ad837b215bc30fbc0.png

 

Step two is the "SMB"  under 'Network Settings'....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.