Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Invoke-IncrementalBackup is run from a non admin shell it will create the base folders and increment the incremental backup count #76

Open
brandonmcclure opened this issue Sep 4, 2021 · 0 comments

Comments

@brandonmcclure
Copy link
Owner

To Reproduce
Create a incremental backup job. and run as a non admin:

New-BackupJob -Name Test -SourcePath C:\temp\gitRepo -DestinationPath C:\temp\backup -BackupProvider $(Get-AllowedBackupProviders -Name 'pwsh')

Get-BackupJob Test | Invoke-BackupJob

Expected behavior
Backup job should fail with an exception that it canot run as an admin. The incremental backup should not be incremented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant