-
- Novice
- Posts: 4
- Liked: never
- Joined: Sep 03, 2025 6:38 am
- Full Name: Stefan Schuerholz
- Contact:
how to see what folders are excluded in onedrive backup job
Hello,
i try to figure out what onedrive folders are excluded in an existing job.
is there a way via powershell? if so, what is the command?
Couldn't find any documentation regarding this.
Thanks in advance.
Best
S.
i try to figure out what onedrive folders are excluded in an existing job.
is there a way via powershell? if so, what is the command?
Couldn't find any documentation regarding this.
Thanks in advance.
Best
S.
-
- Veeam Software
- Posts: 3654
- Liked: 877 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: how to see what folders are excluded in onedrive backup job
Hi Stefan,
Get-VBOJob -Name "your job name" | fl will do the job.
Get-VBOJob -Name "your job name" | fl will do the job.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Sep 03, 2025 6:38 am
- Full Name: Stefan Schuerholz
- Contact:
Re: how to see what folders are excluded in onedrive backup job
Hello Polina,
thank you for your answer.
Works perfect.... but leads me to the next "problem"
If i see that in the current job some folders are excluded, how can i include them back again?
Best
S
thank you for your answer.
Works perfect.... but leads me to the next "problem"
If i see that in the current job some folders are excluded, how can i include them back again?
Best
S
-
- Veeam Software
- Posts: 3654
- Liked: 877 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: how to see what folders are excluded in onedrive backup job
By editing a backup job with the Set-VBOJob cmdlet and specifying the SelectedOneDriveFolders, for example.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Sep 03, 2025 6:38 am
- Full Name: Stefan Schuerholz
- Contact:
Re: how to see what folders are excluded in onedrive backup job
Hello Polina,
thanks again.
instead of specifying each and every excluded folder would something like this also work?
Set-VBOJob -Job $job -EnableExcludedOneDriveFolders -ExcludedOneDriveFolders @()
Best
S
thanks again.
instead of specifying each and every excluded folder would something like this also work?
Set-VBOJob -Job $job -EnableExcludedOneDriveFolders -ExcludedOneDriveFolders @()
Best
S
-
- Veeam Software
- Posts: 3654
- Liked: 877 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: how to see what folders are excluded in onedrive backup job
That would work as well.
Note though, that there's the following limitation:
OneDrive folders that have been excluded from processing via PowerShell will remain permanently excluded from all future incremental runs of a backup job. If you remove such a OneDrive from a job and later re-add it, the folders that were previously excluded will not be backed up.
Note though, that there's the following limitation:
OneDrive folders that have been excluded from processing via PowerShell will remain permanently excluded from all future incremental runs of a backup job. If you remove such a OneDrive from a job and later re-add it, the folders that were previously excluded will not be backed up.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Sep 03, 2025 6:38 am
- Full Name: Stefan Schuerholz
- Contact:
Re: how to see what folders are excluded in onedrive backup job
Hi Polina,
thanks for the hint.
may you can answer one (last?) question:
I'm trying to exclude one specific onedrive folder from being backed up, but somehow i can get it to work.
I looked around in the forum and found a few helpful posts but somehow i can't get it working.
The Folder i'd like to exclude is the "outlook files" folder under documents.
I tried:
Set-VBOJob -Job $job -EnableExcludedOneDriveFolders -ExcludedOneDriveFolders @("/documents/outlook Files/")
and
Set-VBOJob -Job $job -EnableExcludedOneDriveFolders -ExcludedOneDriveFolders @("outlook files")
In both cases the job is still backing up the files in that folder.
What am i doing wrong?
Best
S
thanks for the hint.
may you can answer one (last?) question:
I'm trying to exclude one specific onedrive folder from being backed up, but somehow i can get it to work.
I looked around in the forum and found a few helpful posts but somehow i can't get it working.
The Folder i'd like to exclude is the "outlook files" folder under documents.
I tried:
Set-VBOJob -Job $job -EnableExcludedOneDriveFolders -ExcludedOneDriveFolders @("/documents/outlook Files/")
and
Set-VBOJob -Job $job -EnableExcludedOneDriveFolders -ExcludedOneDriveFolders @("outlook files")
In both cases the job is still backing up the files in that folder.
What am i doing wrong?
Best
S
Who is online
Users browsing this forum: No registered users and 7 guests