Skip to main content
Solved

Workflow to delete data


Forum|alt.badge.img+1

I have a requirement to back up data from a server then delete it from the source once complete.  Commvault doesn’t have this feature natively so thinking a workflow.  Does anyone know if there is a workflow currently available that does that?

Best answer by Chris Hollis

Hi @Cameron,
 

Hope you’re well.
 

What kind of data are we talking about here?

As far as i’m aware, there are no inbuilt options that do this... I believe you could however create and then execute a batchfile that does this as part of a ‘postbackup’ process of a job e.g. https://documentation.commvault.com/commvault/v11_sp20/article?p=12757.htm


If you’re talking about archive data (e.g. mailbox), we can configure jobs to clean up messages that fit a certain criteria, including delete, for more information about this please refer to: https://documentation.commvault.com/commvault/v11_sp20/article?p=28887.htm


Let me know what type of data you’re needing to remove and I’ll see what else I can find.

 

Chris 

View original
Did this answer your question?

4 replies

Chris Hollis
Vaulter
Forum|alt.badge.img+15
  • Vaulter
  • 333 replies
  • Answer
  • October 11, 2021

Hi @Cameron,
 

Hope you’re well.
 

What kind of data are we talking about here?

As far as i’m aware, there are no inbuilt options that do this... I believe you could however create and then execute a batchfile that does this as part of a ‘postbackup’ process of a job e.g. https://documentation.commvault.com/commvault/v11_sp20/article?p=12757.htm


If you’re talking about archive data (e.g. mailbox), we can configure jobs to clean up messages that fit a certain criteria, including delete, for more information about this please refer to: https://documentation.commvault.com/commvault/v11_sp20/article?p=28887.htm


Let me know what type of data you’re needing to remove and I’ll see what else I can find.

 

Chris 


SparshGupta
Vaulter
Forum|alt.badge.img+10
  • Vaulter
  • 147 replies
  • October 11, 2021

Hey @Cameron 

 

As Chris mentioned already, What is the environment and type of data here?

 

For instance, if it’s regular servers (Windows or Unix) / NAS clients / data coming from filers such as Netapp or Celera, then archiving solution can be used to archive data for short / long term retention and then the data is automatically deleted from source.

https://documentation.commvault.com/11.24/expert/25871_deleting_file_after_archiving.html

 

Thanks,

Sparsh


Forum|alt.badge.img+1
  • Author
  • Bit
  • 1 reply
  • October 11, 2021

Hey guys, thanks for the response.  It’s a Windows server hosting Splunk data.  Older info is sent to a drive on the server.  Every 6 months we send this to tape and delete off the source.  I had another backup product in place which could do this natively, but Commvault doesn’t have that capability that I know of, so looking to script something.


Mike Struening
Vaulter
Forum|alt.badge.img+23

@Chris Hollis has it right.  The pre and post scan/backup options allow you to do pretty much anything (Workflows even more!).

You’d just set up a post backup script to delete the contents and you should be good since it won’t work if the backup doesn’t complete.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings