* run -> executes the backups planned for today * dry-run -> simulates the backup operations but doesn't do anything. * list-$xxx -> using one of the following words in the place of $xxx you can ask to the scheduler to list what is planned for today (list-today), tomorrow (list-tomorrow), wednesday (list-wednestay), and so on. If no instance is specified it lists them all. * list -> lists the status of the instances/instances specified: last backup, policy, next planned backup. * help -> Prints the usage of the command The possible commands for gnt-bkscheduler.sh are:
#Sedlex backup scheduler manual#
The scheduler can be also used to list and check the status of the schedules and execute manual backups. In this way it will only reschedule the selected instance without modify the already programmed schedules.įor exmaple: gnt-bkscheduler.sh reschedule my.daily.instance Scheduler Commands if you need to change the schedule of some instances just add to it the appropriate and then run again the scheduler in reschedule mode adding the modified instance as parameter. NOTE: If you do not set any tag or OS parameter for your machines it will assume that you want to do weekly backups in cold mode for the instances. Once you accepted the schedule you're done, the scheduler will execute the backups as it promised. This will run for a while depending by the number of VM on your cluster and in the end it will show you the calculated backups plan asking you to confirm the scheduling. Then you have to "generate" the new backup plan with a single command:
![sedlex backup scheduler sedlex backup scheduler](https://i.ytimg.com/vi/23Snok_-85k/maxresdefault.jpg)
This file will run the scheduler everyday at the 1:00 AM. You need to copy the "ganeti-bkscheduler" crontab file into your "/etc/cron.d" directory.
![sedlex backup scheduler sedlex backup scheduler](http://help.collab.net/topic/csvn/images/screenshots/backgroundjobs.png)
* instances that needs monthly backups are made every sunday with the same logic of the weekly approach. (for example if you have 14 instances to backup weekly, it will backup 2 instances per day) * instances that needs weekly backups are made a few per day in order to split up the job in 7 days. * instances that needs daily backups are made every day. The scheduler can plan daily, weekly and monthly backups following this logic: The new Backup scheduler is a command-line tool that will help you to automatically plan and execute the daily backups of your precious Virtual Machines.