We want to backup a server once a week on the same day each week.
I am currently using rsync to backup my cPanel Full Backups (compressed, not incremental) to another sever.
I'm using this command-line on the source server (push method):
Code:
nice -n19 ionice -c2 -n7 rsync -tr -e "ssh -p 1234" /backup/cpbackup/daily rsbackup@server.domain.com:/rsbackup/SERVERNAME
This in itself works fine and the server load on the source server stays below
Hi
I have been trying to sort out some issues that occur in my backup logs to no avail, and I was wondering if anybody else has had/got the same issues.
The start of the log file is as follows:
[cpbackup] Started at Fri Jul 6 22:29:18 2012
[cpbackup] Mount found (********-backups.vps-10.com:/backups/**.**.***.** on /backups type nfs (rw,noexec,noatime,hard,intr,rsize=8192,wsize=8192,n
Hi!
I look at ls -ltr /backup/cpbackup/monthly and I see those backups are three months old, two months old and the like across all of my Cpanel servers.
I renamed monthly to monthly.0 and then created an empty monthly hoping that would flush something wrong with the backup system.
Ran backups this morning, but the logs say...
I am trying to figure out what is the utility or "wrapper" that helps backups to only run when load is below a certain amount.
I remember reading about this somewhere but I can't recall....
Basically, we have a cron job (maldet) that uses a very high amount of disk io ("find" command) and it is causing iowait% to go to 99% for the duration of the run.
We are looking at getting a new server, and we are thinking about getting 4 drives in a Raid 1+0 array (mirrored and striped).
However, we cannot get more than 4 drives, so we can't get a 5th drive as an "onsite" backup.
Hi,
I've set up my cpanel to remote backup to an ftp.
Everything is fine and I have set up daily,weekly,monthly backup retention.
A backup once a day.
Now the backup for monthly is ok always just one backup for the last month.
But for the weekly's and daily's it is just one backup from the day or week before.
I would like to have 7 daily's, I can't seem to figure out how that is possible i'm gu
i have created a file named "backups.sh" to take a backup of mysql db.
/usr/bin/mysqldump -A -u [username] -p[password] | gzip > /backups`date +%m_%d_%y`.gz
And set crontab.
10 * * * * /root/backups.sh
But didnt take backup.
i had run /etc/init.d/cron start.
i use ubuntu
what the problem with me????????any help...
I've been looking at the backup option in cPanel while it would be great to have it able to do versioning, for now I think a small change would make it even better.
When backup is scheduled for Daily, Weekly and Monthl. cpbackup does the daily first then copy it over to weekly and monthly.
This means, there is at least once a week when daily = weekly and once a month daily = monthly.