Page 1 of 1

Increased of Disk usage after restore

Posted: Wed 6. Dec 2023, 00:15
by Chalipa
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 12.2 (64-bit)


Server virtualization technology used
XEN


KeyHelp version + build number
23.2.1 (Build 3125)


Problem description / error messages
I have restored only users after server migration to the new host, I had 250GB of data but when I restored users now I see the used disk size 520GB

Expected result
250GB disk space used

Actual result
520GB disk space used

Steps to reproduce


Additional information

Code: Select all

[02-Dec-2023 01:34:02] INFO | Create repository lock
[02-Dec-2023 01:34:03] INFO | Looking for pending operations for repository: restore (FTP(S)) / #1
[02-Dec-2023 01:34:03] INFO | Operation found: check
[02-Dec-2023 01:34:03] INFO | Integrity check
[02-Dec-2023 01:34:07] INFO | Update snapshot data / stats
[02-Dec-2023 01:34:16] INFO | Update repository stats
[02-Dec-2023 01:34:21] INFO | Size 'raw': 234.98 GiB
[02-Dec-2023 01:34:21] INFO | Size 'restore': 468.34 GiB
[02-Dec-2023 01:34:22] INFO | All finished, releasing lock.
====
[02-Dec-2023 01:48:01] INFO | Create repository lock
[02-Dec-2023 01:48:03] INFO | Looking for pending operations for repository: restore (FTP(S)) / #1
[02-Dec-2023 01:48:03] INFO | Operation found: restore
[02-Dec-2023 01:48:03] INFO | Prepare restore...
[02-Dec-2023 01:48:03] INFO | Restore paths...
[02-Dec-2023 02:53:06] INFO | Final cleanup
[02-Dec-2023 02:53:13] INFO | All finished, releasing lock.
====

Where do I find these extra 250GB backup and delete them?

Re: Increased of Disk usage after restore

Posted: Wed 6. Dec 2023, 09:35
by Alexander
Hello,

these remaining data could be databases or emails.

Have you checked the real consumption on the disk of webspace, emails and databases?

Re: Increased of Disk usage after restore

Posted: Thu 7. Dec 2023, 01:32
by Chalipa
Alexander wrote: Wed 6. Dec 2023, 09:35 Hello,

these remaining data could be databases or emails.

Have you checked the real consumption on the disk of webspace, emails and databases?
Hi,

There were no emails or databases, just backup files (.tar.gz extensions).

Re: Increased of Disk usage after restore

Posted: Thu 7. Dec 2023, 09:49
by Alexander
You can use "KeyHelp Admin Area -> General -> System Status -> Disk Usage" to investigate where your files are.

Where did you have these numbers from: "I had 250GB of data but" and "I see the used disk size 520GB".

You may also want to check via the CLI tools of you operating system, how big your folders are etc.


You will sure understand, that it is hard to investigate as no one on this forum knows, what is happening on your disk. You need to provide as much information as possible. Post screenshots etc...

Re: Increased of Disk usage after restore

Posted: Thu 7. Dec 2023, 11:34
by pandinusimperator
Chalipa wrote: Wed 6. Dec 2023, 00:15
Problem description / error messages
I have restored only users after server migration to the new host, I had 250GB of data but when I restored users now I see the used disk size 520GB

Code: Select all

[02-Dec-2023 01:34:16] INFO | Update repository stats
[02-Dec-2023 01:34:21] INFO | Size 'raw': 234.98 GiB
[02-Dec-2023 01:34:21] INFO | Size 'restore': 468.34 GiB


Uncompressed, restored data 468 GB plus operating system and stuff - 520GB disk usage sounds somehow reasonable to me.