Backup size
-
I have two apps installed: Nextcloud and Discourse. My Cloudron Docker images size is 7.68 GB. Does this sound correct?
My Nextcloud instance says it is using 1.7 GB, on the settings page (edit 2023: files page). Cloudron System Info says it is using 6.92 GB. Is this due to Nextcloud system files that take 4 GB? If not, what is this discrepancy due to?
I have two folders in /var/backups/: 2022-07-04-100002-560/ and snapshot/ . snapshot/ contains the same recent files (mainly the Nextcloud backup) as 2022-07-04-100002-560/ plus a small backup of the Discourse app, whose backups I disabled several months ago. Do I need both folders? If not, which one should I remove, and how do I prevent it from being regenerated?
The size of my /var/backups/ folder is 12.5 GB. Cloudron System Info states 14.56 GB. What accounts for this difference?
-
@zylstra said in Backup size:
I have two apps installed: Nextcloud and Discourse. My Cloudron Docker images size is 7.68 GB. Does this sound correct?
Yes, that seems OK. Note that docker images have a shared based, so this won't grow a lot after the initial size as you install more apps.
My Nextcloud instance says it is using 1.7 GB, on the settings page. Cloudron System Info says it is using 6.92 GB. Is this due to Nextcloud system files that take 4 GB? If not, what is this discrepancy due to?
Nextcloud system files shouldn't take 4GB, that's quite a lot. One reason could be that you have a lot of files in your nextcloud recycle bin. Can you check that - https://docs.cloudron.io/apps/nextcloud/#managing-deleted-files
I have two folders in /var/backups/: 2022-07-04-100002-560/ and snapshot/ . snapshot/ contains the same recent files (mainly the Nextcloud backup) as 2022-07-04-100002-560/ plus a small backup of the Discourse app, whose backups I disabled several months ago. Do I need both folders? If not, which one should I remove, and how do I prevent it from being regenerated?
Yes, snapshot directory is very important, do not remove that. Note that the files are most likley hardlinked, so they don't occupy additional space. As for discourse app, is your goal to remove all backups of discourse? Cloudron does not have a UI to remove backups (we always retain a backup even if the app is stopped or backups are disabled), you can just delete the files manually from the filesystem directly.
The size of my /var/backups/ folder is 12.5 GB. Cloudron System Info states 14.56 GB. What accounts for this difference?
Probably, GiB and GB difference? Not sure, how did you measure the
/var/backups
size? -
@girish said in Backup size:
- Thanks, I deleted files in the Nextcloud recycle bin. Now, after a reboot, Cloudron System Info shows 4.3 GB for the Nextcloud instance. (I had to delete the nginx config of a stopped app to get the system to reboot.)
- Thanks, I'll keep both folders. I have no particular goal to remove Discourse or its backups.
- I measured
/var/backups
size by adding up the three separate folders that FileZilla showed me, but I now understand that some files are hardlinks. And the Backup data shows only 4.87 GB now, so my disk is small enough for me to move on. Thank you!
-
-