BackupPC-users

[BackupPC-users] [PATCH] 4.0.0alpha3 Simple JSON APIs

2015-04-24 14:15:15
Subject: [BackupPC-users] [PATCH] 4.0.0alpha3 Simple JSON APIs
From: Nicholas Hall <ngharo AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 24 Apr 2015 18:12:55 +0000
Not sure if this is useful to anyone else but I've implemented Implemented three new SCGI actions that return JSON.  I use it to control my hosts via some proprietary software that interprets JSON.

- ?action="">
If host is not specified we return JSON object of the BackupPC
%Status hash.  If host equals "server" we return the BackupPC
%Info hash.  If host equals a valid backup host, we return
the BackupPC $Status{$host}.

- ?action="">
Creates a new host config and reloads the server configuration.

- ?action="">
Modifies host ClientNameAlias and BackupsDisable configuration items.  Could easily be extended to set more attributes.

Attachment: 0001-Simple-API-methods-that-return-JSON.patch
Description: Text Data

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] [PATCH] 4.0.0alpha3 Simple JSON APIs, Nicholas Hall <=