Loading...

Backing Up Data for a SharePoint Subclient from the Command Line Interface

To run the backups from the command line interface, you need an input XML file that contains the element values to configure the backup options. This input XML file can be obtained from one of the following ways:

  • Download the input XML file template and save it on the computer from where the backup will be performed.
  • Generate the input XML file from the CommCell Console and save it on the computer from where the backup will be performed.

Procedure

  1. Download the backup_template.xml file and save it on the computer from where the command will be executed.
  2. From the command prompt, go to the <Software_Installation_Directory>/Base and run the following command:

    qlogin -cs <commserve name> -u <user name>

  3. Run the saved .xml script using qoperation execute command.

    qoperation execute -af backup.xml -appName 'Sharepoint Server' -clientName xxxxx -backupsetName xxxxx -subclientName xxxxx -backupLevel FULL

  4. Verify the status of the job using the following command:

    qlist job –j JOBID

  5. After the job completes, run the qlogout command to log off the CommServe computer.

Examples

Performing a Full Backup

qoperation execute -af backup.xml -appName 'Sharepoint Server' -clientName client1 -backupsetName backupset1 -subclientName subclient1 -backupLevel FULL

Performing an Incremental Backup

qoperation execute -af backup.xml -appName 'Sharepoint Server' -clientName client1 -backupsetName backupset1 -subclientName subclient1 -backupLevel INCREMENTAL

Last modified: 3/1/2018 7:47:59 PM