Backups Setup¶
PikaPods offers incremental backups to an S3-compatible host using Restic. The overview of setting up backups is described in the PikaPods documentation[1]; this guide goes into detail on setting up backups using our preferred storage provider.
Set up S3 bucket¶
Create the S3 bucket¶
Restic requires a unique, empty S3 bucket to store the backups. To create a new bucket in Tigris:
Log in to the Tigris console at console.storage.dev.
Check the dropdown with your username in the top right corner, and make sure the
Figure13organization is selected.Click Buckets in the left menu, and then click Create Bucket.
In the window that appears, fill out the following settings:
Bucket Name:
f13-pika-backup-<your pika pod name>(must be lower case characters) (So, if your pod was namedF13-ByteStash-01, the bucket name would bef13-pika-backup-f13-bytestash-01.)Enable Snapshot: off
Public: off
Enable Soft Delete: off
Open Advanced Settings and set the following:
Bucket locations: Global
Storage tiers: Infrequent Access
Click the Create button.
Create an access key¶
Now, create an access key that PikaPods can use to push backups to the S3 bucket.
Click Access Keys in the left menu.
Click Create New Access Key.
Name the key the same as the bucket name (for example,
f13-pika-backup-f13-bytestash-01)Once the key is created, make note of the Access Key ID and Secret Access Key in the
Restic1Password vault. You can duplicate this 1Password record and change the name and values.In the Key Created window, click Manage Key Permissions.
Under Bucket Permissions, click in the Add Buckets field and type or select the bucket you just added.
Set the permission level to Editor.
Click Update.
Set up Pika backups¶
Now that you’ve created the S3 bucket, let’s set up backups through PikaPods.
Log in to PikaPods and go to the My Pods menu.
Find the pod you want to back up.
Click the
gear and select Backups. Fill out the form as follows:
S3 Endpoint:
t3.storage.devBucket:
<bucket name you created above>(for example,f13-pika-backup-f13-bytestash-01)S3 Access Key ID:
tid_abc123(replace with the value you created above)S3 Secret Key:
tsec_abc123(replace with the value you created above)
Check the agreement box and click on Apply.
Trigger your first manual backup by clicking More → Backup.
Wait a few minutes, and then navigate back to
→ Backups. Copy the password shown in Repository Password and save it in the
Restic1Password vault. You can duplicate this 1Password record and change the name and values.Check the date/time shown under Last successful backup and make sure it’s the backup you recently triggered.
Switch Enable daily automated backups to on.
Switch Prune old backups after 60 days to on.
Click Apply.