Urgent | How to restore all quarantine files?

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
Post Reply
azednet
Junior Member
Posts: 9
Joined: 31 Jan 2014, 18:23

Urgent | How to restore all quarantine files?

Post by azednet »

Hello,

Please How to restore all quarantine files?

Thanks
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: Urgent | How to restore all quarantine files?

Post by ForumAdmin »

The following should work. Modify for your quarantine directory location. You can ignore errors with .restore4 in them:

Code: Select all

find /home/quarantine/cxsuser/ -type f -exec cxs --qrestore {} \;
azednet
Junior Member
Posts: 9
Joined: 31 Jan 2014, 18:23

Re: Urgent | How to restore all quarantine files?

Post by azednet »

Thank you, it works.
webicom
Junior Member
Posts: 15
Joined: 02 Feb 2009, 22:09

Re: Urgent | How to restore all quarantine files?

Post by webicom »

And how can I restore multipla files by name but with different users? I need to restore certain file coze I put it by mistake in cxs.xtra and now I have a lot of manual work if I want to restore them all. I need shell command how to resotre file name.php under all quarantined users.

Best regards, Erik
Post Reply