summaryrefslogtreecommitdiff
path: root/docs/ref/backup_schedules.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/backup_schedules.rst')
-rw-r--r--docs/ref/backup_schedules.rst60
1 files changed, 60 insertions, 0 deletions
diff --git a/docs/ref/backup_schedules.rst b/docs/ref/backup_schedules.rst
new file mode 100644
index 0000000..cbd69e3
--- /dev/null
+++ b/docs/ref/backup_schedules.rst
@@ -0,0 +1,60 @@
+Backup schedules
+================
+
+.. currentmodule:: cinderclient
+
+Rackspace allows scheduling of weekly and/or daily backups for virtual
+servers. You can access these backup schedules either off the API object as
+:attr:`OpenStack.backup_schedules`, or directly off a particular
+:class:`Server` instance as :attr:`Server.backup_schedule`.
+
+Classes
+-------
+
+.. autoclass:: BackupScheduleManager
+ :members: create, delete, update, get
+
+.. autoclass:: BackupSchedule
+ :members: update, delete
+
+ .. attribute:: enabled
+
+ Is this backup enabled? (boolean)
+
+ .. attribute:: weekly
+
+ The day of week upon which to perform a weekly backup.
+
+ .. attribute:: daily
+
+ The daily time period during which to perform a daily backup.
+
+Constants
+---------
+
+Constants for selecting weekly backup days:
+
+ .. data:: BACKUP_WEEKLY_DISABLED
+ .. data:: BACKUP_WEEKLY_SUNDAY
+ .. data:: BACKUP_WEEKLY_MONDAY
+ .. data:: BACKUP_WEEKLY_TUESDAY
+ .. data:: BACKUP_WEEKLY_WEDNESDA
+ .. data:: BACKUP_WEEKLY_THURSDAY
+ .. data:: BACKUP_WEEKLY_FRIDAY
+ .. data:: BACKUP_WEEKLY_SATURDAY
+
+Constants for selecting hourly backup windows:
+
+ .. data:: BACKUP_DAILY_DISABLED
+ .. data:: BACKUP_DAILY_H_0000_0200
+ .. data:: BACKUP_DAILY_H_0200_0400
+ .. data:: BACKUP_DAILY_H_0400_0600
+ .. data:: BACKUP_DAILY_H_0600_0800
+ .. data:: BACKUP_DAILY_H_0800_1000
+ .. data:: BACKUP_DAILY_H_1000_1200
+ .. data:: BACKUP_DAILY_H_1200_1400
+ .. data:: BACKUP_DAILY_H_1400_1600
+ .. data:: BACKUP_DAILY_H_1600_1800
+ .. data:: BACKUP_DAILY_H_1800_2000
+ .. data:: BACKUP_DAILY_H_2000_2200
+ .. data:: BACKUP_DAILY_H_2200_0000