What's in a backup.

We are moving our install to a more powerful machine with more storage because it is saying our 10GB drive is almost full… so I created a backup with all boxes checked and it is only 42MB so I have serious questions what is and is not included in that backup. I suspect things like voicemails and some other recordings are not included which will be a major problem during a restore!

Also related question, and simple way to get the backups off the server automatically? Can’t believe this isn’t an option or plugin as it seems like something everyone would need.

You have different settings. You can define through the GUI if your backup will include voicemails, recordings, and others.

Before doing the backup, make sure you are running the latest version.

About the last question, unfortunately, there’s not an option to backup the backups on an external device.

Thanks, yes we had all choices checked, and the restored file seems to have everything.

I guess the real question is what are the extra 4 Gigs+ of data built up in only 1 month of usage that apparently isn’t needed?

yum install ncdu

Then run ncdu and check yourself.

1.1 GiB [######################] fail2ban.0
422.8 MiB [######## ] fail2ban
361.6 MiB [####### ] full
1.3 MiB [ ] /cdr-custom
1.1 MiB [ ] /cdr-csv

Well a gig of fail2ban logs isn’t a good start

These also don’t look good:

513.3 MiB [######################] /firmware

Here is the top level but not sure how this lines up to other installs.
— / ------------------------------------------------------------------------------------------------------------------------------------------------------
3.5 GiB [######################] /var
2.1 GiB [############# ] /usr
216.8 MiB [# ] /run
105.5 MiB [ ] /boot
40.0 MiB [ ] /etc

You can see inside the folders as well to see more inside ncdu.
If you are under attack the fail2ban logs can get big.

After comparing our new server it seems the fail2ban logs are the big thing compared to a new install, didn’t think it was new enough to be under attack already but its possible. We went off the minimum requirements recommendation (was for testing) and looks like those numbers are close to the default warning alerts.

Thanks for the help.

regarding off-server backups: I use Linode’s object storage (using AWS and s3cmd) along with a cron profile and script to keep a rolling 30-days’ worth of daily and hourly backups, with various options for encryption.

s3cmd sync --recursive /var/lib/vitalpbx/static/backup/* s3://[bucket]/$(hostname)/[path]/

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.