restic failing because of local store filling up  [SOLVED]

Have you discovered a bug? Tell us about it.
Post Reply
stinpriza
Posts: 2
Joined: Mon 2. Mar 2026, 14:41

restic failing because of local store filling up

Post by stinpriza »

I'm sure the cause of the problem is within KeyHelp
Yes, restic can be set to not store anything locally.


Server operating system + version
Debian 13.8


Server virtualization technology used
KVM


KeyHelp version + build number
26.2 (Build 3756)


Problem description / error messages

hey,
got a VPS where user email size is bigger than available free disk space. this causes restic backup to fail. we've split up the backup to not include email accounts in order to bypass that, but we need full backups..
how do we disable local storage of cache/tmpdir for restic operation? remote storage (repository) has tons of free space, we don't want to keep any cache locally..
can this be set from keyhelp? (haven't found anything)

Expected result
full backup completes succesfully

Actual result
backup fails, needs "troubleshooting|" to recover repo . no backup taken.

Steps to reproduce
VPS 50GB of total disk space, with less than 10G of free disk space. most of taken space in email accounts (>30G)

thanks in advance,



.
User avatar
Florian
Keyweb AG
Posts: 1983
Joined: Wed 20. Jan 2016, 02:28

Re: restic failing because of local store filling up  [SOLVED]

Post by Florian »

Hallo,

create a user defined backup. In this backup definition do not activate e-mail accounts to be backuped, but add the path /var/mail/vhosts

So you have backups of all mail accounts with the advantage of the incremental restic backup methode.

Of course when restoring such a backup it you must restore the path of the mailbox and you cannot use the option to restore a mail account.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
stinpriza
Posts: 2
Joined: Mon 2. Mar 2026, 14:41

Re: restic failing because of local store filling up

Post by stinpriza »

nice! that works!

thanks!!!
Post Reply