I would assume so but dealing with cookies is beyond my skillset. @dan.t , @corerootedxb or @btk may possess the knowledge you require. I am but a mere fledgling in the ways of the Node.
See this thread for an awesome setup that @btk did. It does reboots and so much more. Of course, you would also need to include something to deal with passwords for this to work.
I have 3 hubs and using NodeRed to download the latest backups every morning and one of my hubs is taking close to 3 minutes to present itself to NodeRed thus timing out. My other two hubs take less than 30 seconds. If I reboot this hub it works faster. This hub does have a larger backup because it is my "coordinator" hub.
From a size comparison:
Trouble Hub Backup Size: 10 MB
Hub 2 that works: 5 MB
Hub 3 that works: 4.4MB
I am testing the node-red-contrib-http-request-ucg node where I can set a timeout value to see if it will at least work.
Ok, well if you look in past logs you can see if there are any useless entries... I tend to keep things clear so I disable logging on none crucial things if they run well (after a week of testing or so). And if you have a lot of sensors there will always be a lot of data of course no doubt about it and no reason to make that any less.
Yeah its just this one hub and it gets longer over time. If I reboot the hub it downloads quickly. If I navigate to the settings/download page I can download it quickly there too, its just that URL becomes slower over time.
I don't think so because all hubs are hooked up to the same switch and again if I reboot the hub it downloads much quicker.
Backing up can't be easier. FTP is just a protocol of for the transfer. HTTP, the protocol in use today, is quite adequate.
The method to back up the DB is well documented around here, one for each OS type... Linux, Windows, OSX. Recipes for all of them are available in this thread and others.
-1 from me for FTP... instead +1 for fixing the dang slow down/crash/DB corruption problem.
Created a scheduled task in task manager:
C:\wget\wget.exe --content-disposition -P "C:\hubitat backups" http://[YourHubIP]/hub/backupDB?fileName=latest
Set the time for whenever you want it to run daily. Done. No scripting, no magic, one command.