A Storage Provider in Bakup.io is a location where your data will be backed up. The following are a list of currently supported Storage Providers:
- Microsoft Azure Blob Storage
- Google Cloud Storage
- Local Storage
- Backblaze B2
- Linode S3
- AWS S3
Click on the Storage Providers, and press
ADD STORAGE PROVIDER at the top right.
The first choice is which type of Storage Provider you are connecting to. Which one you select determines the set of inputs you will be displayed in the following modal that shows after pressing
For Azure's Blob Storage you'll need the Blob Container's name as well as the Account Name and Account Key for authentication.
GCP Storage takes a bucket name and one of two methods of providing authentication. You can either insert your JSON Token directly or you can specify an absolute path to your JSON Key File, for example
/home/dan/my-key-file. The absolute path method would require that key file to exist in exactly the same place on each server that uses this Storage Provider.
Local Storage works differently to the rest of the Storage Providers because it does not require any connection credentials. This means you could create one instance of your Local Storage and share it between all your servers - whilst being sure to specify the backup location in the Database or File job.
You do have the option of specifying a
Local Root Backup Path. This is a path that would be prepended to any job that uses this Storage Provider. For example, you could set the
Local Root Backup Path to
/home/dan, then in your Database Job you could set the
Storage Provider Backup Path to
/bakup/database/. This would result in a backup path of
If you choose either AWS S3, Linode S3 or Backblaze B2, you will need to provide the name of the bucket, your access key ID and your secret access key. Backblaze name their keys slightly different, but the usage is the same.
SFTP takes the hostname of your server, the user to authenticate as, and the port that SFTP is running on. Then you have four options for authentication:
For this option you can specify a password that should be used.
Key File Path
The absolute path to the unencrypted Private Key File. Please note that any server that uses this Storage Provider will need to keep the Key File in the same absolute path location.
Select this option if you have added your keys to the SSH Agent already and would like the Bakup Agent to use this method.
To use the SSH Agent on your server, you will have to make sure it is accessible to the
bakupagentuser. This is the service user which the bakup agent uses to execute jobs, read the SSH Agent Guide for more details.
Lastly, you can paste your unecrypted Private Key and we will store it encrypted. Make sure to keep the key in the standard format with newlines. For example:-----BEGIN OPENSSH PRIVATE KEY-----b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAACFwAAAAdzc2gtcnNhAAAAAwEAAQAAAgEA4815iU4wBy/gkCEzDj5bB5myI10Vdm5KmZGOR8BAGPC576Fp3h7V0Vlyv0q74E4rdUIJWNYphafu/WnGqu0BNJQR8tsDTdDHxi51/8BLEULHQAkF7+X5vNa8mCX690NEBCZ2sAAAAKZGFuQHBvcC1vcwE=-----END OPENSSH PRIVATE KEY-----
Similarly to SFTP, you must specify the hostname, user, and port for FTP. Your only authentication option with FTP is a password. If your traffic is going over public networks, we strongly recommend that you take advantage of the TLS option to make sure that no one else can read your data.