Page 1 of 1

Canceled backup to external FTP.

Posted: Mon 2. May 2022, 16:55
by mistvan91
I'm sure the cause of the problem is within KeyHelp
(Problems not related to KeyHelp belong in the Offtopic forum)


Server operating system + version
Debian 11.3 (64-bit)


Server virtualization technology used
KVM


KeyHelp version + build number
22.0 (Build 2393)


Problem description / error messages
Backup worked fine until Apr 3, 2022, but after this time, fallback with this message:

Code: Select all

Failed to create backup: Fatal: nothing to backup, please specify target files/dirs

Expected result
Backup everything to external backup server with SFTP connection.

Actual result
Canceled backup with error message.

Steps to reproduce
Backup schedule management, every day at 3:00AM.


Additional information
Total used: 83.62 GB. External backup server have 300 GB space.

Local server will be 50% free space to make backup to external FTP? I read on this forum that it is not neccessary 50% free space. Backup system will cache and save directly to the FTP.

Re: Canceled backup to external FTP.

Posted: Tue 3. May 2022, 08:49
by Alexander
Hello,

can you please post the backup settings (or screenshots) for this backup task.

Local server will be 50% free space to make backup to external FTP? I read on this forum that it is not neccessary 50% free space. Backup system will cache and save directly to the FTP.
This was only relevant for the old backup system, the new one does not have such high demands (some free space is still necessary)

Re: Canceled backup to external FTP.  [SOLVED]

Posted: Tue 3. May 2022, 13:33
by mistvan91
Hello,

expanded space +50 GB yesterday. Now: Free: 57.21 GB Used: 80.11 GB Total: 144.69 GB

Changed backup snapshot from 5 to 2. Backup ran successfully as last night. The snapshot was the fault or the space?
Repository management
Repository management
Event log
Event log

Re: Canceled backup to external FTP.

Posted: Tue 3. May 2022, 14:38
by Alexander
Are you backing up a lot of email data? For this purpose there is a significant amount of disk space, which needs to be available during backup.

Re: Canceled backup to external FTP.

Posted: Tue 3. May 2022, 14:50
by mistvan91
Yes. ~55-60 GB was email data. So if i will backup these datas, server may have more free space than 55-60 GB?

Re: Canceled backup to external FTP.

Posted: Tue 3. May 2022, 14:58
by Alexander
Unfortunately yes, this is is necessary due to file permissions.

The email data is prepared and stored internally as tar.gz archive, before it gets backed up.
As email data is only text, it should compress rather good, but with 55-60GB in emails it will still take a big chunk of disk space.

Re: Canceled backup to external FTP.

Posted: Tue 3. May 2022, 15:04
by mistvan91
I got it. Thank you for reply.

Have a nice day!

Re: Canceled backup to external FTP.

Posted: Thu 17. Nov 2022, 09:00
by DocMacFoxx
Hi Alexander,

I found this issue, because I ran into the same problem some days ago.

I have one additional question. Is it possible (e.g. with some special configuration on the server), that Keyhelp is creating the tar.gz archive not on the primary drive but on an additional drive (maybe sdb).

Best regards,
Andi

Re: Canceled backup to external FTP.

Posted: Thu 17. Nov 2022, 09:58
by christian.john
You can set a mountpoint for the backup temp directory so that its stored on sdb.

https://askubuntu.com/questions/154180/ ... on-startup

Re: Canceled backup to external FTP.

Posted: Thu 17. Nov 2022, 10:10
by Alexander
Hello,

The directory, where all the data will be prepared is /backup-keyhelp/
So if you put this on a separate drive, you should be good to go.


Additional info: Default location for local backups is /backup/.

Re: Canceled backup to external FTP.

Posted: Thu 17. Nov 2022, 10:22
by DocMacFoxx
Thank you very much for your tipps. I will give it a try!!

Best regards,
Andi