Hi, thanks to Altrea's help on vhosts ( https://community.apachefriends.org/f/viewtopic.php?f=16&t=75303 ) (and also Akeeba's support on their Backup system), I have now managed to move my testing stuff from one PC to another on my local network and also setup vhosts for multiple sites.
I then started to think about backups in general. Copying the vhosts folder is only a partial solution (doesn't backup the joomla database). Using Windows 10 File History doesn't cover where XAMPP default is, backing up the whole PC is a bit overkill just to get XAMPP and my dev sites backed up (yes, I do have PC backup overall but that's a different question).
And for my Joomla site overall, I can use AKB locally for the dev sites (live sites already have backup routine). But is there a day-to-day regular way to have some backup on my dev?
I wondered what would happen if I installed XAMPP in a folder within my locally sync'ed OneDrive folder? (Note, this is not intended as a sharing thing or for use between 2 PCs as in this thread https://community.apachefriends.org/f/viewtopic.php?f=16&t=72710&p=248078&hilit=OneDrive#p248078 ).
So I tried it. Uninstalled XAMPP entirely then fresh download/install into c:/users/myname/onedrive/xampp and in simple terms although it's not in the default root of C: it seems to work. Fire up XAMPPP (as administrator as usual), start Apache and MySQL in XAMPP panel, no issues. Type localhost in the browser and there is the dashboard as you'd expect.
Before I now setup vhosts following what I learned before adapted for the new folder, is there anything I missed? Is there a fundamental reason why this approach won't work and is a stupid thing to try - or should it be OK as long as I get paths right.
Again, I don't expect this to substitute for proper backups or to be able to use the copy saved in the cloud as a webserver (I have one of those for Live) but just as a belt/braces in case the cat tapdances format c: on my keyboard.