വേഗത്തിലുള്ള പോയിന്റ്-ഇൻ-ടൈം പുനഃസ്ഥാപനത്തിനായി സെർവർ സ്നാപ്പ്ഷോട്ടുകൾ കൈകാര്യം ചെയ്യുക. സ്നാപ്പ്ഷോട്ടുകൾ നിങ്ങളുടെ സെർവറിന്റെ പൂർണ്ണമായ അവസ്ഥ പകർത്തുന്നു.
എൻഡ്പോയിന്റുകൾ4 endpoints
ബേസ് പാത്ത്/api/v1/snapshots
നേടുക/api/v1/snapshots/
എല്ലാ സ്നാപ്പ്ഷോട്ടുകളും ലിസ്റ്റുചെയ്യുക
നിങ്ങളുടെ സെർവറുകളിലുടനീളമുള്ള എല്ലാ സ്നാപ്പ്ഷോട്ടുകളുടെയും ഒരു ലിസ്റ്റ് വീണ്ടെടുക്കുക.
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ
ടൈപ്പ് ചെയ്യുക
ആവശ്യമാണ്
വിവരണം
server_id
integer
ഇല്ല
സെർവർ ഐഡി പ്രകാരം സ്നാപ്പ്ഷോട്ടുകൾ ഫിൽട്ടർ ചെയ്യുക
{
"id": 802,
"server": {
"id": 12345,
"name": "web-server-01"
},
"name": "before-update-snapshot",
"status": "in_progress",
"size_mb": null,
"created_at": "2025-01-16T16:15:00Z",
"description": "Snapshot before system update",
"message": "Snapshot is being created. This may take 3-10 minutes depending on server size."
}
പ്രതികരണ സ്റ്റാറ്റസ് കോഡുകൾ
201
സ്നാപ്പ്ഷോട്ട് സൃഷ്ടിക്കൽ വിജയകരമായി ആരംഭിച്ചു.
400
Bad Request - Invalid parameters or snapshot limit reached
401
അംഗീകൃതമല്ല - പ്രാമാണീകരണ ടോക്കൺ അസാധുവാണ് അല്ലെങ്കിൽ നഷ്ടപ്പെട്ടിരിക്കുന്നു.
404
Not Found - Server does not exist
കുറിപ്പ്: You can have a maximum of 5 snapshots per server. Creating a snapshot while the server is running may result in filesystem inconsistencies. For best results, stop the server before creating a snapshot.
പോസ്റ്റ്/api/v1/snapshots/{snapshot_id}/restore/
സ്നാപ്പ്ഷോട്ടിൽ നിന്ന് പുനഃസ്ഥാപിക്കുക
Restore a server to the state captured in a snapshot. This will overwrite all current data on the server.
{
"status": "success",
"message": "Server is being restored from snapshot. This may take 5-15 minutes.",
"snapshot": {
"id": 801,
"name": "pre-migration-snapshot",
"created_at": "2025-01-15T18:30:00Z"
},
"server": {
"id": 12345,
"name": "web-server-01",
"status": "restoring"
}
}
പ്രതികരണ സ്റ്റാറ്റസ് കോഡുകൾ
200
പുനഃസ്ഥാപിക്കൽ വിജയകരമായി ആരംഭിച്ചു.
400
Bad Request - Server is not in a valid state for restoration
401
അംഗീകൃതമല്ല - പ്രാമാണീകരണ ടോക്കൺ അസാധുവാണ് അല്ലെങ്കിൽ നഷ്ടപ്പെട്ടിരിക്കുന്നു.
404
കണ്ടെത്തിയില്ല - സ്നാപ്പ്ഷോട്ട് നിലവിലില്ല.
മുന്നറിയിപ്പ്: Restoring from a snapshot will overwrite all current data on the server. This action cannot be undone. The server will be automatically stopped before restoration begins.
ഇല്ലാതാക്കുക/api/v1/snapshots/{snapshot_id}/
സ്നാപ്പ്ഷോട്ട് ഇല്ലാതാക്കുക
ഒരു സ്നാപ്പ്ഷോട്ട് ശാശ്വതമായി ഇല്ലാതാക്കുക. ഈ പ്രവർത്തനം പഴയപടിയാക്കാൻ കഴിയില്ല.