Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send log as compressed attachment if it is large #1

Open
ghost opened this issue Dec 6, 2017 · 1 comment
Open

Send log as compressed attachment if it is large #1

ghost opened this issue Dec 6, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 6, 2017

Backups that add a lot of new files cause there to be a log which is so large that MTAs reject the email. It would be nice to have the log file gzipped and sent as an attachment in this case, or just make this a configurable option so this can be the default.

I have some thoughts here, but sending email attachments from a Unix shell is Not Fun^TM.

@fti7
Copy link
Owner

fti7 commented Dec 28, 2017

Thats a nice idea, i had already the same Problem when backupping a lot of changing RRD database files which caused a really hugh log.
(For now i just disabled the whole Borg output)

Sending an Attachment with Sendmail-Compatibility is indeed a pain... We need to build the multipart header by our own :-) but i guess there are already examples for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant