< Back
Get-MJVeraBackup
Post
NAME Get-MJVeraBackup
SYNOPSIS
Downloads a backup of your vera controller.
SYNTAX
Get-MJVeraBackup [-VeraIP] <String> [-DestinationPath] <String> [-RequireLogin] [-VeraCredential <PSCredential>]
[-VeraBackupFileName <String>] [<CommonParameters>]
DESCRIPTION
This will download an backup of your vera controller and save it as a tgz filese
Created by Ispep
Added 2016-06-07
WWW.Automatiserar.se
PARAMETERS
-VeraIP <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DestinationPath <String>
Provide the IP or DNS name to your Vera Controller.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-RequireLogin [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-VeraCredential <PSCredential>
If you require your controller to apply login use this switch and provide credential to your vera..
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VeraBackupFileName <String>
Provide the beginning of the filename if ???????VeraBackup??????? does not meet your requirements.
Required? false
Position? named
Default value VeraBackup
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This component requires you to have a Vera controller.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-MJVeraBackup -VeraIP VERA -DestinationPath C:\\temp\\
Filepath FileName Size CreationTime
-------- -------- ---- ------------
C:\\temp\\VeraBackup-2016-06-07-17_27_26.tgz VeraBackup-2016-06-07-17_27_26.tgz 517025 2016-06-07 17:27:26
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-MJVeraBackup -VeraIP VERA -DestinationPath C:\\temp\\ -RequireLogin -VeraCredential (Get-Credential)
Filepath FileName Size CreationTime
-------- -------- ---- ------------
C:\\temp\\VeraBackup-2016-06-07-17_29_08.tgz VeraBackup-2016-06-07-17_29_08.tgz 517023 2016-06-07 17:29:08
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-MJVeraBackup -VeraIP VERA -DestinationPath C:\\temp\\ -Verbose
VERBOSE: Get-MJVeraBackup:: Beginning function: Download backup from VERA
VERBOSE: Get-MJVeraBackup:: Data will be gathered from the following URL: http://VERA/cgi-bin/cmh/backup.sh
VERBOSE: Get-MJVeraBackup:: VERA responding on ping
VERBOSE: Get-MJVeraBackup:: File path "C:\\temp\\" exists
VERBOSE: Get-MJVeraBackup:: Joining path and downloading data from vera
VERBOSE: Get-MJVeraBackup:: Downloading backup from VERA without username or password
VERBOSE: Get-MJVeraBackup:: Download successful, creating object and returning it to the pipe
Filepath FileName Size CreationTime
-------- -------- ---- ------------
C:\\temp\\VeraBackup-2016-06-07-17_30_50.tgz VeraBackup-2016-06-07-17_30_50.tgz 517023 2016-06-07 17:30:50
RELATED LINKS
SYNOPSIS
Downloads a backup of your vera controller.
SYNTAX
Get-MJVeraBackup [-VeraIP] <String> [-DestinationPath] <String> [-RequireLogin] [-VeraCredential <PSCredential>]
[-VeraBackupFileName <String>] [<CommonParameters>]
DESCRIPTION
This will download an backup of your vera controller and save it as a tgz filese
Created by Ispep
Added 2016-06-07
WWW.Automatiserar.se
PARAMETERS
-VeraIP <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DestinationPath <String>
Provide the IP or DNS name to your Vera Controller.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-RequireLogin [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-VeraCredential <PSCredential>
If you require your controller to apply login use this switch and provide credential to your vera..
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VeraBackupFileName <String>
Provide the beginning of the filename if ???????VeraBackup??????? does not meet your requirements.
Required? false
Position? named
Default value VeraBackup
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This component requires you to have a Vera controller.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-MJVeraBackup -VeraIP VERA -DestinationPath C:\\temp\\
Filepath FileName Size CreationTime
-------- -------- ---- ------------
C:\\temp\\VeraBackup-2016-06-07-17_27_26.tgz VeraBackup-2016-06-07-17_27_26.tgz 517025 2016-06-07 17:27:26
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-MJVeraBackup -VeraIP VERA -DestinationPath C:\\temp\\ -RequireLogin -VeraCredential (Get-Credential)
Filepath FileName Size CreationTime
-------- -------- ---- ------------
C:\\temp\\VeraBackup-2016-06-07-17_29_08.tgz VeraBackup-2016-06-07-17_29_08.tgz 517023 2016-06-07 17:29:08
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-MJVeraBackup -VeraIP VERA -DestinationPath C:\\temp\\ -Verbose
VERBOSE: Get-MJVeraBackup:: Beginning function: Download backup from VERA
VERBOSE: Get-MJVeraBackup:: Data will be gathered from the following URL: http://VERA/cgi-bin/cmh/backup.sh
VERBOSE: Get-MJVeraBackup:: VERA responding on ping
VERBOSE: Get-MJVeraBackup:: File path "C:\\temp\\" exists
VERBOSE: Get-MJVeraBackup:: Joining path and downloading data from vera
VERBOSE: Get-MJVeraBackup:: Downloading backup from VERA without username or password
VERBOSE: Get-MJVeraBackup:: Download successful, creating object and returning it to the pipe
Filepath FileName Size CreationTime
-------- -------- ---- ------------
C:\\temp\\VeraBackup-2016-06-07-17_30_50.tgz VeraBackup-2016-06-07-17_30_50.tgz 517023 2016-06-07 17:30:50
RELATED LINKS