-
- Enthusiast
- Posts: 97
- Liked: 17 times
- Joined: Jul 21, 2016 3:59 pm
- Contact:
Export incremental backup to different location than original one
Hi all,
I've used those powershell command to export an incremental backup to a different location than the original one
Add-PSSnapin VeeamPSSnapin
$backup = Get-VBRBackup -name "MY JOB NAME"
$restorepoint = Get-VBRRestorePoint -Backup $backup
Export-VBRBackup -RestorePoint $restorepoint[2] -Dir "\\SERVER\SHARE"
In this case, the third incremental backup of the chain has been exported to \\SERVER\SHARE, but ONLY the incremental.
Is that normal?
I don't think I can restore the vm or files from vm without full backup+incremental.
So, this export is virtually unuseful?
Thanks
I've used those powershell command to export an incremental backup to a different location than the original one
Add-PSSnapin VeeamPSSnapin
$backup = Get-VBRBackup -name "MY JOB NAME"
$restorepoint = Get-VBRRestorePoint -Backup $backup
Export-VBRBackup -RestorePoint $restorepoint[2] -Dir "\\SERVER\SHARE"
In this case, the third incremental backup of the chain has been exported to \\SERVER\SHARE, but ONLY the incremental.
Is that normal?
I don't think I can restore the vm or files from vm without full backup+incremental.
So, this export is virtually unuseful?
Thanks
-
- Veteran
- Posts: 1143
- Liked: 302 times
- Joined: Apr 27, 2020 12:46 pm
- Full Name: Natalia Lupacheva
- Contact:
Re: Export incremental backup to different location than original one
Hi,
Did you expect this script to export the whole backup chain?
In that case, try with Export-VBRBackup -Backup option.
Please also pay attention to this:
Thanks!
Did you expect this script to export the whole backup chain?
In that case, try with Export-VBRBackup -Backup option.
Please also pay attention to this:
Export-VBRBackup is not deprecated yet, but if it does not help with your requests, it is better to use Copy-Item.Since this cmdlet is no rocket science and literally copies backups specified, you might as well use native Copy-Item to transfer .vbm file if Export-VBRBackup fails in your case.
Thanks!
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Export incremental backup to different location than original one
Adding to Natalia's point,
What do you mean by export? If you want to just copy items, it's either Export-VBRBackup -Backup or Copy-Item.
Export-VBRBackup -Backup spares you from parsing a whole backup chain. That's it.
If you want to explicitly use Export Backup feature in Powershell, it's rather Export-VBRRestorePoint you are looking for.
Thanks!
What do you mean by export? If you want to just copy items, it's either Export-VBRBackup -Backup or Copy-Item.
Export-VBRBackup -Backup spares you from parsing a whole backup chain. That's it.
If you want to explicitly use Export Backup feature in Powershell, it's rather Export-VBRRestorePoint you are looking for.
Thanks!
-
- Enthusiast
- Posts: 97
- Liked: 17 times
- Joined: Jul 21, 2016 3:59 pm
- Contact:
Re: Export incremental backup to different location than original one
My need was to have a usable backup at that specific point, without having all the incremental.
I thought that a command that export a specific restore point could create a usable backup, maybe joining full and incremental to have a full functional backup at that specific point.
I've exported full backup chain copying directly file, everything was fine
But, my two cents, it could be a lot useful have possibility to export a backup to a different location directly from the gui!
Thanks for your help!
I thought that a command that export a specific restore point could create a usable backup, maybe joining full and incremental to have a full functional backup at that specific point.
I've exported full backup chain copying directly file, everything was fine
But, my two cents, it could be a lot useful have possibility to export a backup to a different location directly from the gui!
Thanks for your help!
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Export incremental backup to different location than original one
That's the whole point of Get-VBRRestorePoint cmdlet.I thought that a command that export a specific restore point could create a usable backup, maybe joining full and incremental to have a full functional backup at that specific point.
If it comes to copying backup files like you just did, it's possible to copy them to a different location with VBR Files pane. The whole File Explorer logic is implemented in there.But, my two cents, it could be a lot useful have possibility to export a backup to a different location directly from the gui!
As for export feature, it was decided initially to put a synthesized backup beside the relevant chain. I noted your suggestion, though.
Thanks!
Oleg
Who is online
Users browsing this forum: No registered users and 17 guests