Comprehensive data protection for all workloads
Post Reply
Alleinunterhalter
Novice
Posts: 7
Liked: 2 times
Joined: Jul 17, 2019 8:11 am
Full Name: Christoph Bockhacker
Contact:

Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by Alleinunterhalter »

Hi folks,
I am looking for a feature or solution.
I need to make a backup of all vms to a HDD in a USB-Case. Used software is Veeam Backup and Replication 11.

Veeam-Host is a Hyper-V-VM on a dell-server, that has no usb3-ports. So I connect the USB-Drive to a Windows-10-PC and configure it as Backup-Repository. (Backup runs fine).
When I edit the Backup Job, I cannot find a checkbox to eject the usb-drive from the target-pc after the backup.
I thought about using a script after the job, but it looks like, as if the script runs on the veeam-host and not on the target-pc.
Do you have an idea, how to work around this? Or is it possible to add this as a feature request?

Thanks :-)
Chris
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by PetrM »

Hi Christoph,

Why don't run a post-job script by leveraging this cmdlet to execute commands remotely? For instance, the script itself can be triggered on the backup server but commands are performed on the repository.

Thanks!
Alleinunterhalter
Novice
Posts: 7
Liked: 2 times
Joined: Jul 17, 2019 8:11 am
Full Name: Christoph Bockhacker
Contact:

Re: Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by Alleinunterhalter » 1 person likes this post

Hi Petr,

nice idea, but I didn't make it. Giving up after two hours :-(

Basically it works, but disconnecting the drive always failed.
- I tried "removedrive.exe D: -f" from Uwe Sieber, but it failed with illegaldevicerequest.
- I tried "pnputil.exe /remove-device 'SCSI\Disk&Ven_ICY_BOX&Prod_IB-366StU3+B\6&1f82c5da&0&000000'" but it failed when executed in a ps-script (when executed manually in a powershell, it worked (probably something with escaping some of the special characters) and I didn't find the "right amount" of escaping ;-)

So thanks for the hint, but I would like a checkbox more ;-)
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by PetrM » 1 person likes this post

Hi Chrsitoph,

Ok, thanks for the idea. We can consider the implementation of this functionality in future releases as long as we have enough similar requests.

Thanks!
dlevasseur
Novice
Posts: 4
Liked: 1 time
Joined: Jan 11, 2022 4:52 pm
Full Name: Dan L
Contact:

Re: Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by dlevasseur » 1 person likes this post

PetrM wrote: Nov 29, 2021 11:18 am Hi Chrsitoph,

Ok, thanks for the idea. We can consider the implementation of this functionality in future releases as long as we have enough similar requests.

Thanks!
Small business, no availability of cloud backups. I'd like the ability to eject the rotating USB media after the backup completes. Then any user could bring in the next disk, swap them out, world goes round.
Andreas Neufert
VP, Product Management
Posts: 7081
Liked: 1511 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by Andreas Neufert »

Tandberg RDX has a tool for ejecting their RDX media after backup that is widely used in the Veeam field with post job processing.
mj_klein
Lurker
Posts: 2
Liked: never
Joined: Apr 26, 2022 6:10 am
Contact:

Re: Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by mj_klein »

Hi,

I am new to this forum but I am looking for a solution to reject a RDX drive after a job has finished since a long time.

Downloaded the Tandberg RDX tool but cant get the batch file working.

Which switch need I to append if the drive letter is f?

Code: Select all

start "RDX Eject" "C:\Program Files (x86)\Overland-Tandberg\RDXManager\Manager" RdxCmdLine.exe
Thank you!
Andreas Neufert
VP, Product Management
Posts: 7081
Liked: 1511 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by Andreas Neufert »

I would reach out to Tandberg RDX support. They know their tool better than us.

rdxcmdline.exe f:

should be the command I think.
mj_klein
Lurker
Posts: 2
Liked: never
Joined: Apr 26, 2022 6:10 am
Contact:

Re: Eject USB-Drive from Backup-Repository in Veeam Backup and Replication

Post by mj_klein »

Thanks for your quick reply. I figured out that following line will eject the drive f:\

Code: Select all

start "RDX Eject" "C:\Program Files (x86)\Overland-Tandberg\RDXManager\Manager\RdxCmdLine.exe" --eject f
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 82 guests