Virtual Box Shared folders on Mac backup to external harddrive - macos

So I found out how to share folders using Virtual Box and running Windows 8.
I was wondering, if I save files or projects from Windows 8 to the shared folder on my Mac, will TimeMachine backup those files onto my external harddrive? The hard drive is of course formatted for Mac because of that whole debockel, but that is besides the point. Even though the files were made in Windows.
Also...My assumption is that I would not be able to access the files on my external formatted hard drive from Virtual Box running Windows 8. Is this true?

To my knowledge, you cannot access the files on a journaled formatted hard drive from Windows without extra software. If I understand you correctly, you are trying to backup files created in the Windows VM within your Time Machine backup hard drive?
I'm sure you have solved this by now, but you should consider backing up the VM itself. If the files on the Windows Machine are important you can leave them in a shared folder and have time machine back up that folder.

Related

File lock between host and guest

I'm struggling with a niche case that should be simple...
I'm running mint on virtualbox on a windows host. There is a third-party remote server running windows server (2012 or 2016) and writing files to a NAS folder.
The remote server will write a large file and save it on the NAS folder, then my guest (linux) will be probing the folder for any changes and move the files to another folder and run a script.
Probing for the folder and running my script all works fine.
The issue is, how do I check if the server is still writing (file lock) to the file from within my guest OS?
I know file locks are OS dependent, and even implementation dependent, but is this behavior completely impossible? Should I just re-write my code for windows (probably Java) and forget about shell-script (was going to re-use previous code already working).
thank you for your help in advance.

How to copy files into a virtual box oracle box

I am using oracle box with windows and I have to keep re-plugging in my usb for it to recognise. I want to copy files into the virtual machine but it does not let me do this so this is what I have resorted to.
In general settings I Have enabled shared clipboard and drag n drop.
I've found it's easier just using my laptop for testing but this is just not as convenient. Strangely, my linux OS in my VM works fine and can copy and paste into it from my main os. How do I allow copy and paste for windows? I'm current doing a reinstall of windows os on vm and seeing if that helps.
My question, how do I copy and paste into virtual box with windows. Failing that, how can I get my virtual box to recognise my usb without replugging it in and out all the time. Either workaround is useful.
Thanks.
A nice solution could be to share a directory on your host machine with the virtual machine, so you can copy your files in and out.
Look at:
How to share your computer files with a virtual machine
Just create ISO file from folder and then mount, or copy files to USB Stick and then mount to VM
Folder2Iso
The most easy way I found is to use Google Drive. Other options include: OneDrive, Dropbox, Email, etc.

iCloud Drive prevent offloading certain files

I am running macOS High Sierra and using iCloud Drive. My mac recently ran low on storage so it automatically offloaded a bunch of my documents. This should always be seen as a good thing, it is working as expected. However my Mac offloaded my 20GB Windows Virtual Machine, forcing me to re-download the entire file before I could use Parallels again.
Is there a way to stop iCloud from offloading certain files?
You will need to create a folder one level up to store your VMs. In Finder, click Macintosh HD, then Users, Then your profile (your login name). This is your home folder. Once there, Click on the gear and creat a new folder named Virtual Machines (or just VMs) and move your VMs there.
You can create many different folders here and whey will not sync. Only Desktop and Documents will sync. For example, I have a folder called TEMP that has my draft documents for projects only on my local machine.
Hope that helps!

Is it possible to recover encrypted files/folders?

I've found some remnant documents on one of my hard drives that were somehow encrypted (appearing green in Windows 7 Ultimate x64).
I've attempted to uncheck Encryption in their properties, but I get access denied. I've figured this to be because the files were from a previous format/iteration of my desktop setup, and must have somehow inadvertently gotten encrypted. (I now believe it had something to do with transferring them at one point onto a Mac machine/drive, and then back, not realizing that they were encrypted until post-format).
I originally posted in this question that I thought I had a VMware image from the same time period as the files, and that perhaps it'd be possible to transfer the key from that image to my current machine, but that image is not the right one! :/ I don't have an image that goes back further.
I've tried copying the files to a FAT32 USB drive (as it would strip the encryption), but Windows 7 denies that (understandably). And as expected, trying to drag/copy the files from my current machine onto the VMware running machine also gets denied, as VMware is running within Win7's domain and rules.
Any ideas? What about booting my current machine off of a linux live USB stick, and then attempting to copy the NTFS encrypted files onto a FAT32 partition (thus removing the encryption) -- Would that work, seeing as how Windows wouldn't be "awake" to prohibit copying?
I found a zip archive where these files originated from. Whenever I extracted them, however, they'd appear green. Sure enough, there's also a MACOSX folder in the zip file (no idea why Windows decides to encrypt anything that's coming from a Mac).
I was able to copy the zip file onto the old VMware image of mine and extract the zip file there. It still came up as encrypted, but right clicking the folder, clicking properties, and unchecking Encryption fully decrypted the folder and files!
I'd assume that even though this VMware image's machine name was different from the user record within the file's encryption information, it likely was actually the same, originating machine and subsequent encryption certificates.
Anyway, I was able to copy the decrypted files back, and now the problem's solved!

p4v getting files as writable

Perforce is downloading files to the external hard-drive connected to my MacBookPro as writable ("777"). It's as if the "allwrite" option is set in my workspace, but it's not.
I thought Perforce was supposed to mark the files read-only until I check them out. Is there a setting somewhere I missed?
Rev. P4V/MACOSX104U/2009.2/236331
MacBookPro OSX 10.5.8
Is your external hard-drive formated as hfs+? If it's FAT32, it will be 777 anyway.
Have you checked if Windows thinks the files are read only after syncing with the Mac client?
Perforce does not like it when you access the same disk location from two different workspaces, nor the same workspace from two different hosts. This is because the server tracks the state of the files on the client; you're begging for your local store to lose synchronization with the depot.
What are you really trying to accomplish here?
I would recommend that you forget about FAT32; put your Windows workspace on an NTFS volume and your Mac workspace on an HFS+ volume. Submit & sync to share the data. Storage is cheap.

Resources