Canceled backup to external FTP.  [SOLVED]

Have you discovered a bug? Tell us about it.
Post Reply
mistvan91
Posts: 12
Joined: Tue 28. Sep 2021, 17:41

Canceled backup to external FTP.

Post 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.
User avatar
Alexander
Keyweb AG
Posts: 2966
Joined: Wed 20. Jan 2016, 02:23

Re: Canceled backup to external FTP.

Post 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)
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
mistvan91
Posts: 12
Joined: Tue 28. Sep 2021, 17:41

Re: Canceled backup to external FTP.  [SOLVED]

Post 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
User avatar
Alexander
Keyweb AG
Posts: 2966
Joined: Wed 20. Jan 2016, 02:23

Re: Canceled backup to external FTP.

Post 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.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
mistvan91
Posts: 12
Joined: Tue 28. Sep 2021, 17:41

Re: Canceled backup to external FTP.

Post 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?
User avatar
Alexander
Keyweb AG
Posts: 2966
Joined: Wed 20. Jan 2016, 02:23

Re: Canceled backup to external FTP.

Post 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.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
mistvan91
Posts: 12
Joined: Tue 28. Sep 2021, 17:41

Re: Canceled backup to external FTP.

Post by mistvan91 »

I got it. Thank you for reply.

Have a nice day!
DocMacFoxx
Posts: 22
Joined: Thu 3. Aug 2017, 16:43

Re: Canceled backup to external FTP.

Post 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
christian.john
Posts: 207
Joined: Tue 9. Apr 2019, 16:31
Location: Korschenbroich
Contact:

Re: Canceled backup to external FTP.

Post 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
Individuelle Entwicklung webbasierter Datenbanksysteme
https://www.john-softwareentwicklung.de
User avatar
Alexander
Keyweb AG
Posts: 2966
Joined: Wed 20. Jan 2016, 02:23

Re: Canceled backup to external FTP.

Post 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/.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
DocMacFoxx
Posts: 22
Joined: Thu 3. Aug 2017, 16:43

Re: Canceled backup to external FTP.

Post by DocMacFoxx »

Thank you very much for your tipps. I will give it a try!!

Best regards,
Andi
Post Reply