markstos,
@markstos@urbanists.social avatar

Today in , I'm investigating why I got alerted that my aren't running.

The first task is determine if the backups really aren't running or whether there's a problem with monitoring/alerting.

I used to set up to backup to .

I think I'll start by checking in BackBlaze to see how fresh the backups are. 🧵

markstos,
@markstos@urbanists.social avatar

My backup data was last modified today in BackBlaze! That's good. Next thing to check will be the logs for restic to see if I can find any notes about monitoring failing.

markstos,
@markstos@urbanists.social avatar

🧵 From systemctl list-timers I can see I have a service named restic-server-data.service, so those are the logs I'll check.

Cool, the answer is there. It's a syntax issue is now I called the aws binary. Easy fix! On it!

markstos,
@markstos@urbanists.social avatar

🧵 The problem with my syntax seemed to be how I'd lovingly formatted some multi-line , yet it didn't get translated back into valid shell syntax. I abandoned that approach in favor of a super-log and ugly one-liner.

markstos,
@markstos@urbanists.social avatar

🧵 I've got a fresh backup running for the service that wasn't set up before and I'll check my metrics tomorrow.

The role I'm using is: https://github.com/roles-ansible/ansible_role_restic

The backup completed and I see fresh metrics in AWS Cloudwatch Metrics, but not in my Dashboard I just made. Sigh.

vwbusguy,
@vwbusguy@mastodon.online avatar

@markstos That's awesome! I'm also backing up mine with Backblaze via restic, but I'm doing mine old school with a bash script in crontab.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Ansible
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • tester
  • lostlight
  • All magazines