Open polubis opened 6 months ago
DoD
Endpoint createBackup:
createBackup
projectId-backups
Endpoint useBackup:
useBackup
backupId
Both endpoints require a specific token, which is a hash that must match the one defined in the environment during deployment.
If no token is provided or if the token is invalid, an error is thrown.
The backup structure stored in the backup bucket is as follows:
[date-stamp]/ ├── db/data.json └── storage/[storage structure taken from the source bucket]
TEsted
DoD
Endpoint
createBackup
:projectId-backups
.Endpoint
useBackup
:backupId
, which is the ID of the backup (timestamp from when it was generated).Both endpoints require a specific token, which is a hash that must match the one defined in the environment during deployment.
If no token is provided or if the token is invalid, an error is thrown.
The backup structure stored in the backup bucket is as follows: