|
@@ -77,7 +77,7 @@ function backup_aragorn {
|
|
|
# Get the age of the backup to make sure we are using the right disk
|
|
|
function check_disk($diskoverride=$false) {
|
|
|
|
|
|
- $backupDisk = Get-WmiObject -Class Win32_LogicalDisk | Where-Object {$_.VolumeName -match "Backup"}
|
|
|
+ $backupDisk = Get-WmiObject -Class Win32_LogicalDisk | Where-Object {$_.VolumeName -match "Backup" -or $_.VolumeName -match "Seagate"}
|
|
|
$partialBackup = $false
|
|
|
|
|
|
# Test the age of the backup on the disk
|