Beginner Wasabi backup script failing

Some years ago I was also a beginner. Not to Linux but to wasabi and restic.

My way to get into things was to do them more by hand and not use scripts. In fact I still don’t use scripts at all. I just call restic directly using cron or by hand when i want to.

I would recommend the following

Create a textfile like “restic-config” with the following contents

export RESTIC_REPOSITORY=“s3:https://WASABI-URL/YOUR-BUCKET-NAME
export AWS_ACCESS_KEY_ID=“YOUR-ACCESS_KEY”
export AWS_SECRET_ACCESS_KEY=“YOUR-SECRET”
export RESTIC_PASSWORD=“PASSWORD-OF-YOUR-RESTIC-REPOSITORY”

Now do a “source restic-config” and you have your variables set and you can use restic in a nice short way.

If you create a new repo you would now do a “restic init”. But since it looks like you already have one, do a “restic snapshots” and look at your already finished snapshots.

You can also play around with “restic list” and “restic stats” just to get to know everything a bit better.

Do a backup with verbosity. Like “restic backup -vvv /your-data-source” and watch how things are going. Take a look at “restic snapshot” when it’s done.

Just some ideas.

3 Likes