Chat now with support
Chat with Support

Metalogix Essentials for Office 365 2.2.3 - Advanced Installation Guide

NewBackup Parameters

The following are parameters for the -cmd NewBackup command

Using these commands you can create a Backup Project ( save structure and data for selected site)

-projectName [project]

name for new project

-projectFolderLocation [path]

path for project location, if it is empty project will be created in workspace

-copysubsites

save site with subsites

-move

delete site after backup

-copylisthistory

save history for list items

-filter {[field][operator][value]}

filter source items

Field - internal name of a field in SharePoint

operator- compare operator, such as one of the following:

=                 equals to

!=               does not equal to

>                 greater than

<                 less than

^=               starts with

*=               contains

value - criteria

Use these patters for dates:

yyyy-MM-dd HH:mm:ss or yyyy-MM-dd

-kindFull

Creates a full backup

-kindIncremental

Creates a backup of all the information since the last full backup or incremental backup.

-kindDifferential

Creates a backup of all the information since the last full backup.

-keepFullBackups n

Specifies the number of days to keep full backups for, where n is the number of days.

-KeepIncrementalBackups n

Specifies the number of days to keep incremental backups for, where n is the number of days.

-fileBackup [path]

Specify this parameter if you want to backup a specific file from OneDrive in tenant.

Example:

metavis -cmd newbackup -srcsite http://host/site  -srcuser DOMAIN\user -srcpass password -projectName NewProject -copysubsites -move -copylisthistory -log output.xml -noSplash

Related Documents