How to Recover Network Deleted files from the Samba Share Network.

Sometimes while working, we get deleted some files which are on the network and which are very useful to us . You all know that it becomes  difficult to get network deleted files. Deleted files from the network are difficult to find. To prevent all this, we add some points to Samba Share so that we can recover the deleted files. Let us tell you how it all happens.

[root@deven ~]# vim /etc/samba/smb.conf










[eps$]
        comment = File Server
        path = /home/MainData/epsdata
        read only = No
        create mask = 0750
        directory mask = 0750
        valid user = deven
        admin user =deven
        vfs objects = recycle
        recycle:repository = .recycle
        recycle:keeptree = yes
        recycle:versions = yes

        recycle:touch_mine = yes
Save the file & now you get delete file from the .recycle folder. who are created automatic in  your share Folder. 
Hit ctrl+h & you get hidden folder(.recycle as show in image ) in share drive from samba share server .

Comments

Anonymous said…
good