Read more

gpg encrypted backup fails in crontab

Kim Klotz
September 14, 2011Software engineer at makandra GmbH

If you using gpg for your encrypted backup and it fails after you put it in crontab make sure you have the "--no-tty" option enabled for gpg.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

Otherwise you get this error: "cannot open /dev/tty: No such device or address" and the backup size is 0 byte.

Posted by Kim Klotz to makandra dev (2011-09-14 10:58)