On Wed, Sep 11, 2019 at 7:48 AM Mike O'Connor <m...@oeg.com.au> wrote:
>
> Hi All
>
> I'm having a problem running rbd export from cron, rbd expects a tty which 
> cron does not provide.
> I tried the --no-progress but this did not help.
>
> Any ideas ?

I don't think that error is coming from the 'rbd' CLI:

$ (setsid /bin/bash -c 'tty ; ./bin/rbd export-diff --from-snap 1
foo@2 - > export') < /dev/null
not a tty
Exporting image: 100% complete...done.

>
> ---
> rbd export-diff --from-snap 1909091751 rbd/vm-100-disk-1@1909091817 - | 
> seccure-encrypt <public key> | aws s3 cp  - s3://<backup_url>1909091817.diff
> FATAL: Cannot open tty: No such device or address.
> rbd: export-diff error: (32) Broken pipe
> Error in upload
> ---
>
> Thanks
> Mike
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
Jason
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to