Posted January 24, 2017 Hi All, I need some help, I just created a FreeNas home server and I have no Idea what I'm doing. I have followed a guide online and have set up a Volume and data set, created a SMB share in Windows so now I can put files on the NAS. However, I know that my wife is going to delete something one day so I need to set it up so that if something is deleted out of the SMB shared folder on my windows PC the files go to a recycle bin on the FreeNas machine. This way I can restore it if I need to. When setting up the share I checked the box "Export Recycle Bin" and the description says "deleted files are moved to a hidden .recycle in the root folder of the share; the .recycle directory can be deleted to reclaim space and is automatically recreated when a file is deleted". This is exactley what I need. But i don't know how to access this .recycle folder to see what is in it and restore the contents if I need to, and what is the "root" folder of the share? Is this folder accessed via the FreeNas web UI or can is access it on the Windows machine? Any help would be much appreciated, I have no clue what I'm doing. Thanks! Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 9 minutes ago, ces160 said: Hi All, I need some help, I just created a FreeNas home server and I have no Idea what I'm doing. I have followed a guide online and have set up a Volume and data set, created a SMB share in Windows so now I can put files on the NAS. However, I know that my wife is going to delete something one day so I need to set it up so that if something is deleted out of the SMB shared folder on my windows PC the files go to a recycle bin on the FreeNas machine. This way I can restore it if I need to. When setting up the share I checked the box "Export Recycle Bin" and the description says "deleted files are moved to a hidden .recycle in the root folder of the share; the .recycle directory can be deleted to reclaim space and is automatically recreated when a file is deleted". This is exactley what I need. But i don't know how to access this .recycle folder to see what is in it and restore the contents if I need to, and what is the "root" folder of the share? Is this folder accessed via the FreeNas web UI or can is access it on the Windows machine? Any help would be much appreciated, I have no clue what I'm doing. Thanks! I don't think so in windows if you delete something off a network share it just kind of vanishes 6600K - ASUS Z270i Gaming ITX - 8GB Corsair Vengence LPX DDR4 2400MHZ - EVGA 1070SC - 120GB HyperX Savage SSD - CX430 PSU PSU tier list- Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 10 minutes ago, ces160 said: Hi All, I need some help, I just created a FreeNas home server and I have no Idea what I'm doing. I have followed a guide online and have set up a Volume and data set, created a SMB share in Windows so now I can put files on the NAS. However, I know that my wife is going to delete something one day so I need to set it up so that if something is deleted out of the SMB shared folder on my windows PC the files go to a recycle bin on the FreeNas machine. This way I can restore it if I need to. When setting up the share I checked the box "Export Recycle Bin" and the description says "deleted files are moved to a hidden .recycle in the root folder of the share; the .recycle directory can be deleted to reclaim space and is automatically recreated when a file is deleted". This is exactley what I need. But i don't know how to access this .recycle folder to see what is in it and restore the contents if I need to, and what is the "root" folder of the share? Is this folder accessed via the FreeNas web UI or can is access it on the Windows machine? Any help would be much appreciated, I have no clue what I'm doing. Thanks! you could try windows file history, see if that will backup network shares 6600K - ASUS Z270i Gaming ITX - 8GB Corsair Vengence LPX DDR4 2400MHZ - EVGA 1070SC - 120GB HyperX Savage SSD - CX430 PSU PSU tier list- Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 12 minutes ago, ces160 said: Hi All, I need some help, I just created a FreeNas home server and I have no Idea what I'm doing. I have followed a guide online and have set up a Volume and data set, created a SMB share in Windows so now I can put files on the NAS. However, I know that my wife is going to delete something one day so I need to set it up so that if something is deleted out of the SMB shared folder on my windows PC the files go to a recycle bin on the FreeNas machine. This way I can restore it if I need to. When setting up the share I checked the box "Export Recycle Bin" and the description says "deleted files are moved to a hidden .recycle in the root folder of the share; the .recycle directory can be deleted to reclaim space and is automatically recreated when a file is deleted". This is exactley what I need. But i don't know how to access this .recycle folder to see what is in it and restore the contents if I need to, and what is the "root" folder of the share? Is this folder accessed via the FreeNas web UI or can is access it on the Windows machine? Any help would be much appreciated, I have no clue what I'm doing. Thanks! The path for the reycycle bin is \$Recycle.Bin\%SID% which is a hidden directory. Normally, you should be able to access it from the UI. But from what I understand, your NAS machine is running FreeNas and not Windows, right? I'm not sure how the setting on your Windows terminal is dealt by your NAS. ~ Specs bellow ~ Windows 10 Pro 64-bit [UEFI] CPU: Intel i7-5820k Haswell-E @ 4.5-4.7Ghz (1.366-1.431V) | CPU COOLER: Corsair H110 280mm AIO w/ 2x Noctua NF-A14 IPPC-2000 IP67 | RAM: G.Skill Ripjaws 4 32Gb (8x4Gb) DDR4 @ 2666mhz CL15 | MOBO: MSI X99S Gaming 7 ATX | GPU: MSI GTX 1080 Gaming (flashed "X") @ 2138-2151Mhz (locked 1.093V) | PSU: Corsair HX850i 850W 80+ Platinum | SSD's: Samsung Pro 950 256Gb & Samsung Evo 850 500Gb | HDD: WD Black Series 6Tb + 3Tb | AUDIO: Realtek ALC1150 HD Audio | CASE: NZXT Phantom 530 | MONITOR: LG 34UC79G 34" 2560x1080p @144hz & BenQ XL2411Z 24" 1080p @144hz | SPEAKERS: Logitech Z-5450 Digital 5.1 Speaker System | HEADSET: Sennheiser GSP 350 | KEYBOARD: Corsair Strafe MX Cherry Red | MOUSE: Razer Deathadder Chroma | UPS: PowerWalker VI 2000 LCD Mac Pro 2,1 (flashed) OS X 10.11.6 El Capitan 64-bit (NAS, Plex, HTTP Server, Game Servers) [R.I.P] CPUs: 2x Intel Xeon X5365 @ 3.3Ghz (FSB OC) | RAM: OWC 16Gb (8x2Gb) ECC-FB DDR2 @ 1333mhz | GPU: AMD HD5870 (flashed) | HDDs: WD Black Series 3Tb, 2x WD Black Series 1Tb, WD Blue 2Tb | UPS: Fortron EP1000 Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 Do you have a backup drive? You should be able to install bacula. Its an automated backup tool ☼ ψ ︿_____︿_ψ_ Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 Why don't you just turn on snapshotting? Then you can just restore any file deleted. System/Server Administrator - Networking - Storage - Virtualization - Scripting - Applications Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 3 minutes ago, Eniqmatic said: Why don't you just turn on snapshotting? Then you can just restore any file deleted. Yeah, or to be honest I'd simply establish an incremental daily/nightly (even hourly, for folders that get a lot of editing/modifications, like documents etc) backup system and be done with it. ~ Specs bellow ~ Windows 10 Pro 64-bit [UEFI] CPU: Intel i7-5820k Haswell-E @ 4.5-4.7Ghz (1.366-1.431V) | CPU COOLER: Corsair H110 280mm AIO w/ 2x Noctua NF-A14 IPPC-2000 IP67 | RAM: G.Skill Ripjaws 4 32Gb (8x4Gb) DDR4 @ 2666mhz CL15 | MOBO: MSI X99S Gaming 7 ATX | GPU: MSI GTX 1080 Gaming (flashed "X") @ 2138-2151Mhz (locked 1.093V) | PSU: Corsair HX850i 850W 80+ Platinum | SSD's: Samsung Pro 950 256Gb & Samsung Evo 850 500Gb | HDD: WD Black Series 6Tb + 3Tb | AUDIO: Realtek ALC1150 HD Audio | CASE: NZXT Phantom 530 | MONITOR: LG 34UC79G 34" 2560x1080p @144hz & BenQ XL2411Z 24" 1080p @144hz | SPEAKERS: Logitech Z-5450 Digital 5.1 Speaker System | HEADSET: Sennheiser GSP 350 | KEYBOARD: Corsair Strafe MX Cherry Red | MOUSE: Razer Deathadder Chroma | UPS: PowerWalker VI 2000 LCD Mac Pro 2,1 (flashed) OS X 10.11.6 El Capitan 64-bit (NAS, Plex, HTTP Server, Game Servers) [R.I.P] CPUs: 2x Intel Xeon X5365 @ 3.3Ghz (FSB OC) | RAM: OWC 16Gb (8x2Gb) ECC-FB DDR2 @ 1333mhz | GPU: AMD HD5870 (flashed) | HDDs: WD Black Series 3Tb, 2x WD Black Series 1Tb, WD Blue 2Tb | UPS: Fortron EP1000 Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 1 minute ago, SaladFingers said: Yeah, or to be honest I'd simply establish an incremental daily/nightly (even hourly, for folders that get a lot of editing/modifications, like documents etc) backup system and be done with it. I don't know how familiar you are with FreeNAS/ZFS (I don't want to come across as condescending ) but if you turn on ZFS snapshotting, it is decent protection against accidental file deletions, overwrites, corruptions etc. You can choose how often you snapshot and for how long you keep those snapshots for. You can then mount them to the CIFS/SMB share, and using the "Previous version" tab within the folder properties, you can go into any of the snapshots and restore any of the files to how they were at that particular time. Means you can literally restore a file in like 20 seconds. System/Server Administrator - Networking - Storage - Virtualization - Scripting - Applications Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 3 minutes ago, Eniqmatic said: I don't know how familiar you are with FreeNAS/ZFS (I don't want to come across as condescending ) but if you turn on ZFS snapshotting, it is decent protection against accidental file deletions, overwrites, corruptions etc. You can choose how often you snapshot and for how long you keep those snapshots for. You can then mount them to the CIFS/SMB share, and using the "Previous version" tab within the folder properties, you can go into any of the snapshots and restore any of the files to how they were at that particular time. Means you can literally restore a file in like 20 seconds. Not very familiar Sounds like a great design. ~ Specs bellow ~ Windows 10 Pro 64-bit [UEFI] CPU: Intel i7-5820k Haswell-E @ 4.5-4.7Ghz (1.366-1.431V) | CPU COOLER: Corsair H110 280mm AIO w/ 2x Noctua NF-A14 IPPC-2000 IP67 | RAM: G.Skill Ripjaws 4 32Gb (8x4Gb) DDR4 @ 2666mhz CL15 | MOBO: MSI X99S Gaming 7 ATX | GPU: MSI GTX 1080 Gaming (flashed "X") @ 2138-2151Mhz (locked 1.093V) | PSU: Corsair HX850i 850W 80+ Platinum | SSD's: Samsung Pro 950 256Gb & Samsung Evo 850 500Gb | HDD: WD Black Series 6Tb + 3Tb | AUDIO: Realtek ALC1150 HD Audio | CASE: NZXT Phantom 530 | MONITOR: LG 34UC79G 34" 2560x1080p @144hz & BenQ XL2411Z 24" 1080p @144hz | SPEAKERS: Logitech Z-5450 Digital 5.1 Speaker System | HEADSET: Sennheiser GSP 350 | KEYBOARD: Corsair Strafe MX Cherry Red | MOUSE: Razer Deathadder Chroma | UPS: PowerWalker VI 2000 LCD Mac Pro 2,1 (flashed) OS X 10.11.6 El Capitan 64-bit (NAS, Plex, HTTP Server, Game Servers) [R.I.P] CPUs: 2x Intel Xeon X5365 @ 3.3Ghz (FSB OC) | RAM: OWC 16Gb (8x2Gb) ECC-FB DDR2 @ 1333mhz | GPU: AMD HD5870 (flashed) | HDDs: WD Black Series 3Tb, 2x WD Black Series 1Tb, WD Blue 2Tb | UPS: Fortron EP1000 Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted January 24, 2017 Turn on snapshot and you should able to access folder/file history which allow you row back. I never really use recycle bin as SMB is messing i usually use it as backup. Magical Pineapples