What happens if you choose File > Export > Export All Macros as Folder from Keyboard Maestro Editor's menu, and select the same location you chose to use with MBU?
Those are not variables I use in MBU. Are they massively large, by chance? I still don't see why/how they'd affect your backup, but they're not part of MBU.
hmmmm, when exporting all macros as folder,
I get the same error prompt.
I also tried another location and also the desktop and I get the same error prompt.
But the folder does get made and it seems that macros are all in it...
I would hate to rely on them though...
I don't know what's going on, but it's clearly outside the realm of MBU. Maybe there's something in one of the macros that causes the error on export? Might be worth opening a new topic and asking Peter about it.
Just FYI - the error prompt comes up right after the macros are exported to the tmp folder.
In short, what is that for?
Can I rely on the macros that are created in the destination folder?
thanx
They're exported to the /tmp folder because that's a spot that doesn't require permission to write to, basically.
If you're getting that error, I have no idea if you can rely on what's there or not—that part of the macro is just calling the built-in export command I listed above.
This would actually be a difficult change, because I wrote MBU to work like Time Machine: It backs up everything all the time. The way the files are saved, the way the analysis is done, etc., is all keyed on comparing the last backup to the most recent backup, and having all the files in each one. (And the export itself is a small amount of the total time—8 seconds of my last 134 second backup for my 1400 macros.)
And because MBU is working quite well now, and it's an incredibly complicated macro, I really don't want to dive into trying to make a bunch of low-level changes.
I have mine set to run three times a day—once early in the morning, once around lunch, and once late at night. I just know that when the green box appears, if I'm at the computer, I need to find something else to do for a couple minutes :).
I know it's not a perfect tool for everyone, but it does what I need it to do, and seems to do so quite reliably.
Again, this would go against how I designed the macro, but if that's all you need, and you don't want versioning and comparisons, it's a very simple macro to write. It would need to do the following:
Set a save location
Make sure a group is selected
Execute the File > Export > Export as Folder menu command
Enter the saved location in the dialog box
Assign that to a hot key, then select a group and hit the hot key. Is that what you're trying to accomplish?
Hi, @ronald. One possible approach would be to use MacroBackerUpper at a lower frequency and, then to address your specific requirements, use a macro I recently shared: Zip Smart Group(s)
I'll more specifically address your requirements in that thread.
After reading your reply, I realize that it was a bad idea, and I should never have posted that question, so let's stick to the gem you created.
You are perfectly right that it defeats the purpose.
The only reason I posted the question is that MBU takes 20 mn, during which time I cannot work or either the app I am working in or KBM goes into a spinning ball.
8,000 macros is pretty crazy, but even at nearly 6x what I have, that should still be about 12 minutes, so I'm not sure where it's slowing down. If you enable the detailed timing in the backup report...
...and then send me the backup report from a run, I can see where it's sticking and maybe see if there's anything I can improve there.
One downside of the way I designed the macro is that at least some level of analysis is required, because the macro needs to be able to identify duplicate groups, so it can make those backups hard links, thereby saving lots of drive space. So I can't really add an option to skip all the analysis, but if the time is being taken up by non-required analysis, I could probably figure out how to add a skip option for those things.
It just means that MBU couldn't put them in one of the first buckets it sorts things into (new, deleted, etc.), so it has to analyze each one in turn. As to 7000+ macros, MBU doesn't have anything to do with that, it just counts the number of macros in your exported backup.