Migrations
Partial export API
Using the partial-export API, we can export one or more of our projects and choose to send the package to the destination Octopus Server's package feed.
post/migrations/partialexport
Request body
Example request
{
"DestinationApiKey": "API-YOUR-DESTINATION-KEY",
"DestinationPackageFeed": "https://YOUR_DESTINATION_OCTOPUS_SERVER",
"DestinationPackageFeedSpaceId": "Spaces-1",
"EncryptPackage": true,
"IncludeTaskLogs": true,
"PackageId": "MyAwesomeOctopusMigration",
"PackageVersion": "1.0.0",
"Password": "Demo1234",
"Projects": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1"
}Response
The requested partial export task that has been queued.
Example response
{
"EncryptPackage": true,
"IncludeTaskLogs": true,
"PackageId": "MyAwesomeOctopusMigration",
"PackageVersion": "1.0.0",
"Projects": [
"Projects-1"
],
"SpaceId": "Spaces-1",
"TaskId": "ServerTasks-1234"
}