| external help file | ArchivialPowerShell.dll-Help.xml |
|---|---|
| Module Name | ArchivialPowerShell |
| online version | |
| schema | 2.0.0 |
Adds a network (UNC path) folder to the Archivial backup folders list.
Add-ArchivialNetworkSource -UncPath <String> -Priority <String> -Revisions <Int32> [-CredentialName <String>]
[-MatchFilter <String>] [<CommonParameters>]
A Network Source is a folder on your network (referenced by UNC Path) that you would like Archivial to backup and automatically monitor for new and updated files.
Network Sources can be authenticated (require username/password), or unauthenticated (open access). If this Network Source requires authenticated access, you must provide the name of an already saved Network Credential (see examples). Network sources can use either a DNS or IP Address for the host.
The priority of the source determines how frequently it will be scanned for changes. The automated scanning schedule for Low priority sources is once every 48 hours. Medium priority sources are scanned every 12 hours. High priority sources are scanned every hour.
The optional MatchFilter parameter allows you to narrow the scope of files in the folder to be monitored. For example, by file extension. Any windows file path wildcard expression will be accepted here.
C:\> Add-ArchivialNetworkSource -UncPath "\\drobo-nas-device\public\media\music" -Priority Medium -Revisions 1
Adds the specified unauthenticated network share to backup.
C:\> Set-ArchivialNetworkCredential -CredentialName "drobo-device" -ShareUser "drobo-private-user" -SharePassword ****; Add-ArchivialNetworkSource -UncPath "\\drobo-nas-device\private\documents\taxes" -CredentialName "drobo-device" -Priority Medium -Revisions 4 -MatchFilter *.pdf
Encrypts and stores the network resource credentials, and then adds the specified authenticated network share to backup.
Specify the UNC folder path that should be backed up and monitored.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecify the priority of this source (which determines how frequently it will be scanned for changes).
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecify the maximum number of revisions to store in the cloud for the files in this folder.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseOptionally specify the name of a stored credential to authenticate this share with.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseOptionally specify a wildcard expression to filter the files to be backed up or monitored.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).