2. Apart from graphs, what else is not backed up? Presumably the httpdocs?
You may want to brush up your use of terminology...
, the system
So... when you do export, the file system in general, be it HTTP docs or just script files laying around, won't be exported. Also, passwords and modules.
A backup AFAIK includes also files, passwords and modules, but is intended to be restored on the same system (except, potentially, a new HDD). In contrast, an export can be used on a different system, and a different version even, as long as the commands used are compatible.
> how to do you backup using the API?
The answer to this question is still of interest to me.
Following the CLI command:
And for exporting, you have the syntax shown above.