NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

NASNoob11's avatar
NASNoob11
Aspirant
Jun 17, 2013

'Recycle Bin' cleaning?

About 8 months back I asked questions about how the ReadyNAS 'Recycle Bin' works. I never received a really good answer. But, since then I have visually, via RAIDar, seen that the ReadyNAS actually does CLEAN its' Recycle Bin. Fine. I still do not understand how this Recycle Bin logic does its' trick; only that it seems to (?magically?) :?

Is there any manual switch/setting I can update in Frontview to control how soon the ReadyNAS cleans out its' Recycle Bin???? I use 3 ReadyNAS devices (please see my sig). All of them remain mysterious about cleaning their Recycle Bins............. :?

This is a primary reason I have NOT yet started 'backing up' my ReadyNAS devices. I do NOT wish to copy 'trash' from nasA to nasB, or from nasB to nasC. Comprende???? :x

5 Replies

Replies have been turned off for this discussion
  • NASNoob wrote:
    Is there any manual switch/setting I can update in Frontview to control how soon the ReadyNAS cleans out its' Recycle Bin????

    • In Frontview, click Shares, then click Share Listing.

    • Find the share whose Recycle Bin behavior you want to modify. Click its icon in the CIFS column.

    • Scroll down to the "Recycle Bin" section of the configuration and modify the "Enable Recycle Bin", "Remove files older than ? days", and "Limit Recycle Bin to ? MB" options as you desire.

    • Click Apply.

    • Repeat for each share whose behavior you wish to modify.

    NASNoob wrote:
    This is a primary reason I have NOT yet started 'backing up' my ReadyNAS devices. I do NOT wish to copy 'trash' from nasA to nasB, or from nasB to nasC. Comprende????

    No, I don't comprende at all. If your deleted files are valuable enough to keep in the recycle bin for a period of time, then they are valuable enough to backup.

    But if you really want to ensure that those files will be lost forever if your NAS crashes, just exclude the Recycle Bin directory from the backup jobs you create in Frontview.
  • No, I don't comprende at all. If your deleted files are valuable enough to keep in the recycle bin for a period of time, then they are valuable enough to backup.

    But if you really want to ensure that those files will be lost forever if your NAS crashes, just exclude the Recycle Bin directory from the backup jobs you create in Frontview.[/quote]

    FastFWD,
    Wow. OK My ears are pinned back severely! Perhaps we are speaking past each other. The 'valuable files' that live in my 'Recycle Bin' live there only until the ReadyNAS internal logic makes them disappear. I do NOT use the 'Recycle Bin' as 'just another temp storage place.' Files I dedicate to the 'Recycle Bin' have been determined to be TRASH. I choose not to backup TRASH. Files on my ReadyNAS are viable and valuable to me until I actively delete them to the 'Recycle Bin.' Currently, I run all of my shares on 3 ReadyNAS using the default setting provided when I enable the Recycle Bin. For the past 2 years I have asked for links/docs/experts explaining the 'HOW' the ReadyNAS Recycle Bin logic works; the WHEN the logic works, so that I can understand the 'HOW' to customize my shares. I wait still. Now, perhaps this internal logic is proprietary to ReadyNAS.
    Fine. I gave up asking; even though 'magically' I have seen this logic work. Yes, perhaps my settings are at fault; I accept this, but I am using the default setting ReadyNAS gives me - and then fails to explain to me how to use the 2 metrics you cite. I have found zero 'help' from ReadyNAS to explain the 'days' or 'filesize' metrics given since ~2006 when I installed my 1st ReadyNAS DUO. I wait patiently for answers as I cruise happily into the future with my 3 ReadyNAS toys! I just kinda live with this ATM.
    Yes, at this point, I will somehow control my 'backup' selections to "forget" the 'Recycle Bin' during backup activities. Sorry. This really seems silly. It seems to me that during any 'backup' operation any directory inside any share labeled 'Recycle Bin' should be left alone and NEVER moved. JMHO.
    Best :D
  • NASNoob wrote:
    For the past 2 years I have asked for links/docs/experts explaining the 'HOW' the ReadyNAS Recycle Bin logic works; the WHEN the logic works, so that I can understand the 'HOW' to customize my shares. I wait still. Now, perhaps this internal logic is proprietary to ReadyNAS.
    Fine. I gave up asking; even though 'magically' I have seen this logic work. Yes, perhaps my settings are at fault; I accept this, but I am using the default setting ReadyNAS gives me - and then fails to explain to me how to use the 2 metrics you cite. I have found zero 'help' from ReadyNAS to explain the 'days' or 'filesize' metrics given since ~2006 when I installed my 1st ReadyNAS DUO.

    It's fully explained in the user's manual:

      The CIFS protocol offers a Recycle Bin. This allows for a grace period during which users can retrieve deleted files from the Recycle Bin.
      When the Recycling Bin is enabled, deleted files are placed in the Recycle Bin for a period of time before being permanently deleted when the share is accessed using CIFS. Files deleted when accessed using other protocols are deleted immediately. ....

      Enter the maximum number of days to keep files in the Remove files older than field.
      Files that are older than the value you specify here are permanently deleted.

      Enter a size limit (in megabytes) for the Recycle Bin in the Limit Recycle Bin to field.
      When the Recycle Bin exceeds this limit, files are deleted, beginning with the oldest first, until the Recycle Bin no longer exceeds this limit.


    NASNoob wrote:
    It seems to me that during any 'backup' operation any directory inside any share labeled 'Recycle Bin' should be left alone and NEVER moved.

    Well, naturally you wouldn't want to backup your Recycle Bin -- you don't even want the bin in the first place. But many people desire the "undo" capability that the Recycle Bin offers, so the files in their Recycle Bins are always potentially valuable and they would want their Recycle Bin directories to be backed up along with all their other data. Therefore it would be inappropriate for backup software to always exclude that directory.
  • It's fully explained in the user's manual:

    I promise to go back and read again. But I do recall playing with both fields and never seeing the contents of the 'Recycle bin' just go away after >4days. Since then, I have gone back to the default ReadyNAS values and have seen the 'Recycle Bin' clear. I will read and diddle some more. :oops:

      The CIFS protocol offers a Recycle Bin. This allows for a grace period during which users can retrieve deleted files from the Recycle Bin.
      When the Recycling Bin is enabled, deleted files are placed in the Recycle Bin for a period of time before being permanently deleted when the share is accessed using CIFS. Files deleted when accessed using other protocols are deleted immediately. ....

      Enter the maximum number of days to keep files in the Remove files older than field.
      Files that are older than the value you specify here are permanently deleted.

      OK, I do understand the words, but have never seen the 'logic' work. Any/all files I may place in the Bin are 'dated' much in the past than the day I 'delete' them to the Bin. Should I set the Bin for '2 days', I read this to be today+2days. So, when I come back in 4+ actual days, I expect the 'old' files to be gone. NO. The trash was still present. (?) ODD? :?
      Or, are you saying that the logic is asking me to enter a 'date' like M/D/Y? I do not see this option, but could play here also.

      Enter a size limit (in megabytes) for the Recycle Bin in the Limit Recycle Bin to field.
      When the Recycle Bin exceeds this limit, files are deleted, beginning with the oldest first, until the Recycle Bin no longer exceeds this limit.


    This one I will play with tonight. I have found that a value of zero (0) seems not to ever work! But, I will try some other 'little values.'

    Thank you for this help. In time, I will fully grasp this logic and drive/feed it properly. I truly appreciate your help.
  • NASNoob wrote:
    Should I set the Bin for '2 days', I read this to be today+2days. So, when I come back in 4+ actual days, I expect the 'old' files to be gone. NO. The trash was still present. (?) ODD?

    Yes, that is odd. As far as I know, the Recycle Bin is cleared by a cron job that runs once per day. If you set "2 days" (and your NAS is always on), files moved to the Recycle Bin today should be permanently deleted from it two days (or maybe two days +/- 23 hours, 59 minutes) in the future.

    NASNoob wrote:
    Or, are you saying that the logic is asking me to enter a 'date' like M/D/Y?

    No, it just wants a number.

    NASNoob wrote:
    I have found that a value of zero (0) [for the size limit] seems not to ever work! But, I will try some other 'little values.'

    If you want to completely remove the Recycle Bin from a share, simply uncheck the "Enable Recycle Bin" checkbox and click Apply. Then manually delete the Recycle Bin directory; it will not reappear (and your deleted files will of course not be saved in it) unless you re-enable the Recycle Bin in the future.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More