1. Backup listing with more than 1000 backups - S3
- Deploy Longhorn on a kubernetes cluster.
- Set up S3 backupStore.
- Create a volume of 2Gi and attach it to a pod.
- Write some data into it and compute md5sum.
- Open browser developer tool.
- Create one backup by clicking LH GUI (It’ll call
snapshotCreate
andsnapshotBackup
APIs). - Copy the
snapshotBackup
API call, right clickCopy
->Copy as cURL
. - Run the curl command over 1k times in the Shell.
- On LH GUI, click the Backup -> Volume Name to display total volume backups, you should see all the backup backups listed on the page.
- Restore any backup and verify the data.
2. Backup listing with more than 1000 backups - NFS
- Repeat the steps from test scenario
1. Backup listing with more than 1000 backups - S3
with NFS backupStore.
3. Backup listing of volume bigger than 200 Gi - S3
- Deploy Longhorn on a kubernetes cluster.
- Set up S3 backupStore.
- Create a volume
vol-1
of 250Gi and attach it to a pod. - Write data of 240Gi.
- Take a backup.
- Go to the backup page and click on the volume
vol-1
to list the backups, you should see the backup getting listed. - Verify the size of data by restoring it.
- Create another volume
vol-2
of 200Gi and attach it to a pod. - Write data of 150Gi.
- Take a backup.
- Go to the backup page, you should be able to see both the backups.
- Click the volume
vol-2
, you should be able to see the backup. - Write 40Gi in the
vol-2
. - Take one more backup and verify the listing of the backup in the backup page.
Note - Use the same cluster from the test scenario-1 where 1k backups are already there to increase the stress on the system.
4. Backup listing of volume bigger than 200 Gi - NFS
- Repeat steps from test scenario
3. Backup listing of volume more than 200 Gi - S3
with NFS backupStore.