External disk space for backups
Hello,
I have 200GB space on a VPS server, currently I'm using 140GB, so the disk space is enough, but when the server run the daily backup process it fails because of disk space.
How can I solve this issue ? is there a way to use external drive ? or maybe delete the previous backup "before" the new backup process begin ? or something else..
Thanks :)
-
Hi! You can always add an extra/external drive to the server for the backup storage. That should work just fine. I'd recommend that you use remote storage though. There are plenty of providers offering S3 or rsync/ssh storage - we are one of them ;-) 0 -
Do you know what size your daily backup is? 0 -
Do you know what size your daily backup is?
Around 70GB0 -
Since that's the case, you'd need to have more room free on the system, or have a separate disk just for backups. 0 -
Since that's the case, you'd need to have more room free on the system, or have a separate disk just for backups.
How can I have separate disk just for backup ? My hosting provider can only upgrade the vps plan, disk, memory and cpu. Usually when the backup process complete, the retained backups delete ? can i set an option to delete the retained backup before the new backup start ? this way ill allow more space for the process.0 -
There is not an option to delete the old backups before the new ones complete. That would allow the possibility of no backups being in place if something were to go wrong. You could always upgrade the VPS plan if you wanted to keep additional backups. 0 -
There is not an option to delete the old backups before the new ones complete. That would allow the possibility of no backups being in place if something were to go wrong. You could always upgrade the VPS plan if you wanted to keep additional backups.
I don't want to pay lots of money to upgrade unnecessary resources like CPU, bandwidth and Memory. Any way to mount external drive ? What possible solution cPanel offers ?0 -
Thank you for the information. Still want to make sure if this option is available: Is there a way to backup account database and public_html but exclude the emails ? because i have some users with 1GB website size but 30GB emails. 0 -
Thank you, the mail exclusion helped a lot with disk space. Just 1 more question. Any SSH command to check the whole backups size ? 0 -
Sure! You could run something like this to check the backup size: du -h --max-depth 1 /backup/xxxx-xx-xx
where "xxxx-xx-xx" is the date of the backup you want to examine.0
Please sign in to leave a comment.
Comments
14 comments