Hi,
I have migrated almost fully to using portable apps for most of my software, and I use it in my PC.
I wanted to write a backup script to generate automated periodic backup of the data. Is there any way to use the portable apps platform's backup from the commandline?
-------
I will also be happy with a 7zip script, and I almost got one -
7z.exe a -ms=off -mtc=on -up0q0z1 -r PortableAppsData "D:\Programs\PortableApps\*\*\Data"
Problem is that it also backs up any other data folder that might be present with an application (eg. with Inkscape).
A workaround is to exclude the nested data folders -
7z.exe a -ms=off -mtc=on -up0q0z1 -r PortableAppsData "D:\Programs\PortableApps\*\*\Data" -x!"D:\Programs\PortableApps\*\*\*\Data"
But in this case, it also excludes data folder inside the Data folder (eg. with Stellarium).
I've been tearing my hair on this the whole morning, any solution will be appreciated!
Thanks
The PortableApps Backup is a pretty simple system, but Toucan (according to the description) includes the ability to create automated backup scripts.
https://portableapps.com/apps/utilities/toucan
I made this half-pony, half-monkey monster to please you.
Thanks - downloaded it, though I didn't find an automated way there too which would backup only the data folder of all installed apps.
Ok I solved it.
7z.exe a -ms=off -mtc=on -up0q0z1 -r PortableAppsData -i!"D:\Programs\PortableApps\PortableApps\*\Data" -x!"D:\Programs\PortableApps\PortableApps\*\App"
This works because it excludes the App folder, and so for programs which have a data folder, it will be automatically ignored.