Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am very new to this concept of archiving and record management.

I have the following requirements:

  1. Create a document library when a new event is added. I can do this with an event receiver.
  2. The document library should be archived for 30 days.

The 2nd item I have no idea how to do it using code. Where is it archived?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The quickest way to archive would be to export the document library using the Export-SPWeb PowerShell command. Use Import-SPWeb for restoration (archives are file packages that can use optional compression. See the -Path and other options in the Export-SPWeb command).

Other PowerShell posts to manage the document library (cleanups, uploads, etc) -

If you must - there are commercial companies like AvePoint, Metalogix, Idera & Axceler that provide utilities for library archving & backup administration.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.