Already many years I am using a 'home made' batch routine to copy the entire Firefox profile to a zip file, using 7ZIP. That backup is named the date of the moment of backup.
Before the backup starts, the batch file first removes any available chrome_debugger_profile folder. This folder is created automatically when using the Browser Toolbox to inspect the Firefox UI structure. It contains temporary data, can sometimes increase considerably in size, and can safely be deleted or excluded at the start of a backup routine.
Because such a backup only works if Firefox is not open, I do so immediately after the system start and start Firefox at the end of the batch, so I know the backup is ready.
If the system is restarted during the day, the new backup will overwrite the old one. A maximum of 7 backups are kept, i.e. from the past 7 days. This way I can always go back to an older backup. The backups are saved on a separate data partition, which is backupped to NAS and to cloud every day.
I made a shortcut to the batch, made that start minimized (via file properties) and copied it into the system startup program folder.
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\[link to batch program]
If anybody would want to have a copy of that batch (in order to change it for his own purpose) please see the attached text file. To make it a batch file, remove the extension .txt at the end. It has accompanying texts that are translated into English, but the names of the variables (folder and filenames) still are in Dutch. I did not want to change them because I can't check if the batch still does what it should do.
When some time ago I read about MozBackup I tested that program. Although the advantage of this is that you can use it when Firefox is running, the advantage of my own routine is that the zip files turned out to be much more compact than a backup made with MozBackup.
So I'll stick to my own batch method.
