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.
I've been trying to make a three stage backup with stage 0 being a full monthly back up, stage 1 being a weekly backup, and stage 2 being a daily backup. I've been trying very hard to use rsync for this but sorting files by date is proving to be problematic.
I use rsnapshot to create hourly/daily/weekly/monthly backups of my "work"-share.
I am in the process of installing 11.2 (X86-64). By default the root partition was formatted as ext4. I am also thinking of possibly using raid 1 for some partitions (disks). While doing some research for this I discovered an item that stated the dump package (dump restore) does not support ext4 and worse may appear to dump but not be able to restore.
I'm trying to setup a backup script on Ubuntu. Every day I want to copy my local source directory to a backup directory on a remote server uniquely named with the date. (e.g., backup-jan1/, backup-jan2/, etc) It should store a mirror of the earliest state and use difference files to recreate the new backup points.
This is pretty simple with rsync.
I have a linux box that has a Windows 7 share mounted. The Linux box has a cron job to copy the contents of the Win7 share to another location on the Linux box -- a backup.
The script run is simply rsync -a etc....
I have another Linux box outside the LAN that runs the same rsync command between the Linux box in the LAN back to the Linux box outside the LAN -- a second backup.
Is there a way to pause rsync via command line, if it transfers data for over X minutes? I'm working on using it as a backup and would like it to pause every once in a while to prevent the hard disks from overheating or network throttling. I am currently using a Windows batch file to start a Linux bash script via cygwin to do this.
So the script below comes from Brian Coogan to create a rotate schedule of the cpanel backups. That way I'm keeping multiple days, weeks, and months. Works perfectly.
After his script, I added a couple lines at the end to rsync the contents of the cpbackup folder (and all the various daily, weekly, monthly backups) to another folder on the server. this isn't working.
I want to use rsync to move my 512GB Mac OS X TimeMachine backup from one USB disk to another.
I'm trying running rsync -aPEv source destination to do so.