The support forum

Accessing a drive when no drive letter attached

MWorthington :

Nov 04, 2016

Odd question .... can Bvckup 2 make a back up when the target drive letter is not assigned in Windows 10?

Why, you may ask? Well, my daughter's laptop has a 64Gb memory stick "permanently" attached as a second drive, to which I have a real-time job running. I would like to make the drive invisible to her, to avoid problems. There are a number of ways, but the simplest to remove the drive letter assignment.

I'm asking teh question Just in case Bvckup 2 can identify the drive by "other mean".

Mark

Alex Pankratov :

Nov 04, 2016

Not at the moment, no. But I will make sure that we allow accessing volumes without mounting using \\?\Volume{...} notation. Good idea.

MWorthington :

Nov 04, 2016

:)

What's the timescale, do you think?

MWorthington :

Nov 04, 2016

By the way, is device fingerprint of ant value here, considering removable drives, at least .... ?

Alex Pankratov :

Nov 04, 2016

This requires a non-trivial amount of work, because currently the app expects paths to be either in a X:\ or \\server\share formats. So the ETA is certainly not "the next release", but it's a good feature to have so it will be done sooner rather than later.

Re: tracking - not sure, will need to check how volume GUIDs are generated and whether they are persistent. It's possible that they are, so their path should be enough for uniquely identifying them.

MWorthington :

Nov 05, 2016

Interesting! Appreciate the feedback.

edg :

Nov 13, 2016

mountvol must run as an administrator
set up a task to run with the highest privileges to run on demand

C:/Windows/System32/schtasks.exe /Run /TN dismountdrive

echo off
rem how to mount a volume
MOUNTVOL G:\  \\?\Volume{fb32a985-bbda-4277-804f-6060c83001f4}\

echo off
rem how to dismount a volume
mountvol g:\ /d

carlfriedrich :

Jun 07, 2019

Has this feature been implemented meanwhile?

Alex Pankratov :

Jun 07, 2019

No, it has not been.

This requires a substantial amount of work due to an existing assumption, widely used in the code, as to what constitutes a valid path. Plus there's almost no interest in this feature. It is still on a todo list, but on a very low priority.

js040668 :

Dec 08, 2020

I do have the same request.

For the time being I am using Pre-backup and Post-backup commands to mount / unmount the volume before / after the backup, however this works only in interactive mode (explicitly starting the backup via Go button [play triangle] in the UI).

In scheduled mode (backup running per schedule) using the same Windows account, it does not work ("destination not present") - either because mountvol fails or is not executed at all.

I have set-up Bvckup 2 Pro to run with full administrator rights, however it seems that in scheduled more it checks the destination drive presence before the Pre-backup command is executed.

Any way to get this to work in scheduled mode as well?

Froggie :

Dec 08, 2020

@js040668: I use the same setup as you but m y scheduled task runs just fine.  The reason, MOUNTVOL is an asynchronous command.  When executed, it does not wait for the result, it ends immediately.  If used as a pre-backup command, the drive may not be mounted yet when BCCKUP2 takes over the processing, causing the "destination not present" message.

I solved the issue by putting the MOUNTVOL command in a batch file followed by a slight delay to allow for the drive to actually mount using the following command...

timeout /t 2

In my case, 2-sec of delay was just the right amount... depending on the drive, you may need more.

Alex Pankratov :

Dec 08, 2020

I have set-up Bvckup 2 Pro to run with full administrator rights, however it seems that in scheduled more it checks the destination drive presence before the Pre-backup command is executed.


Aye, that's exactly what happens, but this check can be suppressed. Have a look here - https://bvckup2.com/support/forum/topic/502/2960.

It will probably also need the delay too as per Froggie's comment.

Froggie :

Dec 08, 2020

<Jeeeesh...> I totally forgot I had used that setting with the deal solution... sorry.

Froggie :

Dec 08, 2020

...that's "delay solution"

js040668 :

Dec 09, 2020

Great, I will give this a try - many thanks @Froggie and @Alex for the quick reply!

New topic

Create
Made by IO Bureau in Switzerland
Support

Updates Newsletter
Blog & RSS
Follow Twitter
Reddit
Miscellanea Press kit
Testimonials
Company Imprint

Legal Terms
Privacy