-
- Novice
- Posts: 3
- Liked: never
- Joined: Nov 08, 2013 6:36 am
- Full Name: Takahiro Ashida
- Contact:
Veeam B&R v5 PowerShell - BackupJob How getting folder
Hi.
I am sorry in awkward English.
I am going to get the folder path of a backup job using Powershell of Veeam Backup and Replication v5.
However, even if it uses which command let, the folder path of a backup job is not found.
Would you help, if there are those familiar?
Thank you.
I am sorry in awkward English.
I am going to get the folder path of a backup job using Powershell of Veeam Backup and Replication v5.
However, even if it uses which command let, the folder path of a backup job is not found.
Would you help, if there are those familiar?
Thank you.
-
- Product Manager
- Posts: 20415
- Liked: 2303 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Veeam B&R v5 PowerShell - BackupJob How getting folder
Hi, Takahiro.
Nowadays the backup file directory can be gotten via the following script:
However, I’m not sure whether the said script should work in case of version 5. Actually, you’d better upgrade to the latest product version, since version 5 isn’t supported any longer. Let alone, the variety of improvements and fixes that has been implemented since that time.
Thanks.
Nowadays the backup file directory can be gotten via the following script:
Code: Select all
Get-VBRBackup -name "Name of your backup" | Select-Object {$_.dirPath}
However, I’m not sure whether the said script should work in case of version 5. Actually, you’d better upgrade to the latest product version, since version 5 isn’t supported any longer. Let alone, the variety of improvements and fixes that has been implemented since that time.
Thanks.
-
- Novice
- Posts: 3
- Liked: never
- Joined: Nov 08, 2013 6:36 am
- Full Name: Takahiro Ashida
- Contact:
Re: Veeam B&R v5 PowerShell - BackupJob How getting folder
Hi, Vladimir.
Thank you very much for the reply.
But regrettably the good result was not obtained.
The "InitialPassDir" object of Get-VBRJobOptions considered that I might have a folder name.
However, even if it changed various JOB setup, the value was empty and it was not able to see change to it.
Is "InitialPassDir" unfamiliar in what carries out what kind of role?
Thank you very much for the reply.
But regrettably the good result was not obtained.
The "InitialPassDir" object of Get-VBRJobOptions considered that I might have a folder name.
However, even if it changed various JOB setup, the value was empty and it was not able to see change to it.
Is "InitialPassDir" unfamiliar in what carries out what kind of role?
-
- Product Manager
- Posts: 20415
- Liked: 2303 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Veeam B&R v5 PowerShell - BackupJob How getting folder
Since I don’t have access to v5 console, it’s rather hard to say what particular command should be used in order to get the path of backup repository. As an additional option, you can try the following script and see whether it makes any difference:
Anyway, what is the reason to use such an obsolete product version?
Thanks.
Code: Select all
$Job = Get-VBRJob -name "Name of backup job"
$Job.info.TargetDir
Thanks.
-
- Novice
- Posts: 3
- Liked: never
- Joined: Nov 08, 2013 6:36 am
- Full Name: Takahiro Ashida
- Contact:
Re: Veeam B&R v5 PowerShell - BackupJob How getting folder
It is wonderful!
Difficulty was able to be safely overcome by your favor.
I can sleep slowly now.
Since there are various restrictions, such as an old related system, money, etc., it is unavoidable that this old version must be used.
Thank you very much.
Difficulty was able to be safely overcome by your favor.
I can sleep slowly now.
Since there are various restrictions, such as an old related system, money, etc., it is unavoidable that this old version must be used.
Thank you very much.
-
- Product Manager
- Posts: 20415
- Liked: 2303 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Veeam B&R v5 PowerShell - BackupJob How getting folder
Glad to hear that my input was helpful. As to usage of obsolete version, please be aware that version 5 isn't supported any longer, as it's more than two years old. In other words, should anything happen, you will be by your own.
Thanks.
Thanks.
Who is online
Users browsing this forum: No registered users and 3 guests