dbBackupCopies
Retrieve backup copy records for an environment.
dbBackupCopies(
environmentId: Int
fileNames: [String]
): DBBackupCopyList
Example
- Query
- Variables
- Response
query ($environmentId: Int, $fileNames: [String]) {
dbBackupCopies(environmentId: $environmentId, fileNames: $fileNames) {
nextCursor
nodes {
filePath
id
}
total
}
}
{
"environmentId": 42,
"fileNames": [
"fileNames"
]
}
{
"data": {
"dbBackupCopies": {
"nextCursor": "nextCursor",
"nodes": [
{
"filePath": "filePath",
"id": 42
}
],
"total": 42
}
}
}
Arguments
dbBackupCopies.environmentId ● Int scalar common
The environment ID to query.
dbBackupCopies.fileNames ● [String] list scalar common
The backup file names to filter by.
Type
DBBackupCopyList object common
A paginated list of copied database backups.