Ask the Expert

Is there a "salvage" function in Samba?

Is there a "salvage" function in Samba?

    Requires Free Membership to View

Samba-2.2.x has a recycle bin option. It is implemented through a loadable module mechnism. Check the smb.conf man page for "vfs object". There is no 'salvage' command as such in Samba. However, if you use the recycle facility, then all deleted files will be placed in a directory structure that mirrors the location in the share from which it was deleted. The root of the recycle bin is called .recycle and all files within it are preserved in tact.

There is a facility for clearing out the .recycle directories, that scripts is provided in the Samba source tarball in ~samba/example/VFS/recycle and is called cleanup_recycle.pl.

This was first published in May 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: