Add the recycle.so vfs object. Here's how I've got it set on my file server: From smb.conf [Global] section to enable a "recycle bin" on all shares: ======================================= vfs object = /usr/lib/samba/vfs/recycle.so vfs options = /etc/samba/recycle.conf ======================================= # recycle.conf # name of the recycle bin at root level of share name = .recycle/%U # mode : # KEEP_DIRECTORIES = retain directory hierarchy of deleted file, # i.e. recreate all directories in recycle bin # VERSIONS = create copies in case of identical file names in recycle bin # TOUCH = touch access date of files moved into the recycle bin mode = KEEP_DIRECTORIES|VERSIONS|TOUCH # maximum file size to be moved to the recycle bin (0 means any size) maxsize = 0 # exclude file names with the following extensions: exclude = *.tmp|*.temp|*.o|*.obj|~$* # exclude directories: excludedir = /tmp|/temp|/cache # Add file extensions of files where no versioning is wanted (i.e. copy # 1...) # only valid when mode=VERSIONS is set noversions = *.pst|*.exe Christopher wrote: >I saw a samba addition somewhere that creates a recycle bin like device... >I'll look into it. > >Chris > >-----Original Message----- >From: tclug-list-bounces at mn-linux.org >[mailto:tclug-list-bounces at mn-linux.org] On Behalf Of Jeffery Rasmussen >Sent: Wednesday, April 21, 2004 5:07 PM >To: 'TCLUG Mailing List' >Subject: RE: [TCLUG] Undelete / file recovery? > >I looked for file recovery under ext3 before and found specific articles >that say ext3 is not recoverable like NTFS. Something about it being too >efficient and such. > >Your best bet is to follow someone else's advice and grep through the raw >data. > >Would it make sense to create 5 minute fast backups with hard links of user >folders and deleting those links at the end of a day before the main backup? >Would this create a kind of trash can effect? > >Jeff Rasmussen > >-----Original Message----- >From: Christopher [mailto:christopher at 7penguins.com] >Sent: Wednesday, April 21, 2004 4:27 PM >To: 'TCLUG Mailing List' >Subject: RE: [TCLUG] Undelete / file recovery? > > >ext3 > >-----Original Message----- >From: tclug-list-bounces at mn-linux.org >[mailto:tclug-list-bounces at mn-linux.org] On Behalf Of Jim Crumley >Sent: Wednesday, April 21, 2004 3:53 PM >To: TCLUG Mailing List >Subject: Re: [TCLUG] Undelete / file recovery? > >On Wed, Apr 21, 2004 at 03:16:14PM -0500, Christopher wrote: > > >>Is there any sort file recovery software for linux? >>Something like undelete or Easy Recovery Pro? >>(a user deleted a file that wasn't backed up yet) >> >> > >What file system are you using? There are several possible tools for ext2 >file systems, including e2undel and recover. The file manager Midnight >commander has undelete capabilities as well. > > > _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list