History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2574
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Justin Georgeson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

archive/restore configuration subtrees with history

Created: 03/Nov/15 04:35 PM   Updated: 03/Nov/15 04:35 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
It would be very handy to have a rest call, or an option under Administration > Database Backup, to archive the complete history of a subtree, rather than the entire server. We do nightly full backups with history for purpose of disaster recovery. But that's a limited rolling window. As configurations run through their lifecycle we want to remove them to reclaim storage folder space, but want to be able to restore them, perhaps for a patch or to recover some metrics from an old release. Something like

curl -u admin http://server/rest/archive/123 -o 123.zip

curl -u admin -X POST --data-binary 123.zip "http://srver/rest/restore?parent_id=122&config_id=123"

If the parent_id or config_id are not specified then whatever is in the supplied zip file is used. Errors would be thrown on restore if the parent_id doesn't exist or the config_id already exists.


 All   Comments   Work Log   Change History      Sort Order:
There are no entries against this issue.