korox10m
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 1
Hello everyone, and thanks x10 for your great service.
I've created a small script to be run as a cron job for automatic backup of my blog site. It does a database dump and a full copy of all contents. It also only keeps 2 backup packages at a time, it erases all previous backups to prevent disk usage quota issues.
I have setup this script to run twice a week, on Sunday and Thursday, at 00:00. It takes around 2 minutes to run as today.
I've checked the stats on cPanel while it is supposedly running, but I haven't found anything weird in the resources use.
Also, I must clarify, this is done just as a backup mechanism. I manually download the files whenever it is created (as I check the cron notification email as much as I can).
I'm wondering, can this script get too resource expensive?
Also, I'm wondering if anyone knows of a way to automatically upload the backup to a Dropbox acount of something, that way I can automate the retrieval of the backups. I've heard of www.dropboxwiki.com/dropbox-addons/bash-dropbox-uploader, but it seems it needs curl in the server's shell.
I've created a small script to be run as a cron job for automatic backup of my blog site. It does a database dump and a full copy of all contents. It also only keeps 2 backup packages at a time, it erases all previous backups to prevent disk usage quota issues.
I have setup this script to run twice a week, on Sunday and Thursday, at 00:00. It takes around 2 minutes to run as today.
I've checked the stats on cPanel while it is supposedly running, but I haven't found anything weird in the resources use.
Also, I must clarify, this is done just as a backup mechanism. I manually download the files whenever it is created (as I check the cron notification email as much as I can).
I'm wondering, can this script get too resource expensive?
Also, I'm wondering if anyone knows of a way to automatically upload the backup to a Dropbox acount of something, that way I can automate the retrieval of the backups. I've heard of www.dropboxwiki.com/dropbox-addons/bash-dropbox-uploader, but it seems it needs curl in the server's shell.