単体リカバリポイントのバックアップスケジュールを作成したので、今回はリカバリポイントセットのバックアップスケジュールを作成してみます
Scheduling a backup of Independent recovery point with SSR 2013 Linux Edition
http://www.rootlinks.net/2014/03/21/scheduling-a-backup-of-independent-recovery-point-with-ssr-2013-linux-edition/
リカバリポイントセットはベースとなるバックアップファイルと増分リカバリポイントで構成されます。シマンテックはこちらのバックアップを推奨しています
■ Independent recovery point
Creates a complete, independent backup of the specified volumes or comma
separated multiple volumes.
■ Recovery point set
Creates a base recovery point and additional recovery points that contain the
incremental changes that are made to the specified volumes or comma
separated multiple volumes.
symsr -createjobコマンドを実行してバックアップスケジュールウィザードを開始します
- バックアップ元の指定
- バックアップ先の指定
- コンピュータ固有のフォルダの作成
- バックアップタイプの指定
- 圧縮レベルの指定
- パスワード保護と暗号化
- 新しいリカバリポイントセットの作成
- 曜日指定
- 開始時刻
- 増分リカバリポイントのスケジュール
- 1日に複数回実行
- バックアップファイルの検証
- スケジュールジョブの作成
カンマ(,)区切りで複数のパーティションを指定できます
1 2 3 4 5 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home |
バックアップ先のフォルダが無い場合は作成するか問合せがあるので[y]で作成します
1 2 3 4 5 6 7 8 9 10 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]:y |
バックアップ先にコンピュータ名でフォルダを作成してそこにバックアップファイルを保存する場合は[y]にします。デフォルトは[n]です
1 2 3 4 5 6 7 8 9 10 11 12 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n |
今回は[1]Recovery point setを選択します
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 |
圧縮レベルを指定します。デフォルトは[1]で標準(推奨)になり圧縮率は約40%だそうです
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 SELECT COMPRESSION LEVEL Use [1] Standard, [2] Medium, [3] High, [4] No compression for the recovery points. Select compression level [1/2/3/4] [1]: 1 |
今回も暗号化は行いません
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 SELECT COMPRESSION LEVEL Use [1] Standard, [2] Medium, [3] High, [4] No compression for the recovery points. Select compression level [1/2/3/4] [1]: 1 SELECT ENCRYPTION TYPE Encrypt recovery point data using password to add another level of protection to your recovery points. [1] No password and no encryption [2] Password protected without any encryption. [3] Standard 128-bit (8+ character password). [4] Medium 192-bit (16+ character password). [5] High 256-bit (32+ character password). Select encryption type [1/2/3/4/5] [1]: 1 |
ベースとなるリカバリポイントセットを作成するスケジュールを指定します
デフォルトは[2]毎月です。今回は動きを見るために毎週にしてみます
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 SELECT COMPRESSION LEVEL Use [1] Standard, [2] Medium, [3] High, [4] No compression for the recovery points. Select compression level [1/2/3/4] [1]: 1 SELECT ENCRYPTION TYPE Encrypt recovery point data using password to add another level of protection to your recovery points. [1] No password and no encryption [2] Password protected without any encryption. [3] Standard 128-bit (8+ character password). [4] Medium 192-bit (16+ character password). [5] High 256-bit (32+ character password). Select encryption type [1/2/3/4/5] [1]: 1 START A NEW RECOVERY POINT SET Run the base backup [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly. Choose the recurrence option [1/2/3/4] [2]: 1 |
毎週土曜日に新しいリカバリポイントセットを作成するように指定します
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 SELECT COMPRESSION LEVEL Use [1] Standard, [2] Medium, [3] High, [4] No compression for the recovery points. Select compression level [1/2/3/4] [1]: 1 SELECT ENCRYPTION TYPE Encrypt recovery point data using password to add another level of protection to your recovery points. [1] No password and no encryption [2] Password protected without any encryption. [3] Standard 128-bit (8+ character password). [4] Medium 192-bit (16+ character password). [5] High 256-bit (32+ character password). Select encryption type [1/2/3/4/5] [1]: 1 START A NEW RECOVERY POINT SET Run the base backup [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly. Choose the recurrence option [1/2/3/4] [2]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 7 |
作成開始時刻です。毎週土曜日22:00に作成開始を行うように設定します
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 SELECT COMPRESSION LEVEL Use [1] Standard, [2] Medium, [3] High, [4] No compression for the recovery points. Select compression level [1/2/3/4] [1]: 1 SELECT ENCRYPTION TYPE Encrypt recovery point data using password to add another level of protection to your recovery points. [1] No password and no encryption [2] Password protected without any encryption. [3] Standard 128-bit (8+ character password). [4] Medium 192-bit (16+ character password). [5] High 256-bit (32+ character password). Select encryption type [1/2/3/4/5] [1]: 1 START A NEW RECOVERY POINT SET Run the base backup [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly. Choose the recurrence option [1/2/3/4] [2]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 7 Specify backup start time [HH:MM] [21:30] :22:00 |
ベースリカバリポイントを基準にして増分をバックアップするスケジュールを作成します。指定した曜日に毎週実行します
今回は日曜日から金曜日まで増分バックアップを行います
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 SELECT COMPRESSION LEVEL Use [1] Standard, [2] Medium, [3] High, [4] No compression for the recovery points. Select compression level [1/2/3/4] [1]: 1 SELECT ENCRYPTION TYPE Encrypt recovery point data using password to add another level of protection to your recovery points. [1] No password and no encryption [2] Password protected without any encryption. [3] Standard 128-bit (8+ character password). [4] Medium 192-bit (16+ character password). [5] High 256-bit (32+ character password). Select encryption type [1/2/3/4/5] [1]: 1 START A NEW RECOVERY POINT SET Run the base backup [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly. Choose the recurrence option [1/2/3/4] [2]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 7 Specify backup start time [HH:MM] [21:30] :22:00 CREATE RECOVERY POINTS Do you want to schedule recovery points [y/n] [y] :y Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 1,2,3,4,5,6 |
1日に複数回実行するか指定します。デフォルトは[n]です
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 SELECT COMPRESSION LEVEL Use [1] Standard, [2] Medium, [3] High, [4] No compression for the recovery points. Select compression level [1/2/3/4] [1]: 1 SELECT ENCRYPTION TYPE Encrypt recovery point data using password to add another level of protection to your recovery points. [1] No password and no encryption [2] Password protected without any encryption. [3] Standard 128-bit (8+ character password). [4] Medium 192-bit (16+ character password). [5] High 256-bit (32+ character password). Select encryption type [1/2/3/4/5] [1]: 1 START A NEW RECOVERY POINT SET Run the base backup [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly. Choose the recurrence option [1/2/3/4] [2]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 7 Specify backup start time [HH:MM] [21:30] :22:00 CREATE RECOVERY POINTS Do you want to schedule recovery points [y/n] [y] :y Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 1,2,3,4,5,6 ~ Run more than once a day [y/n] [n] : n |
バックアップ完了後にバックアップファイルが正常か検証するオプションを選択します。[y]でより確実にバックアップを検証できますがバックアップ時間はそれだけ長く掛かります。デフォルトは[n]です
設定一覧が表示されます。間違いが無ければ[y]作成します。ここで[n]にすると保存しないで終了します。戻ってジョブ設定を修正できないです
[y]の後にジョブ名を指定します。今回はFull_Backupとしました
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
[root@co65 ~]# symsr -createjob Warning: Application license will expire on Mon May 19 16:58:27 2014. SELECT SOURCE Specify the devices that need to be backed up :/dev/sda1,/dev/mapper/vg_co65-lv_root,/dev/mapper/vg_co65-lv_home SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test/RecoveryPointSet The folder does not exist. Do you want to create it Now (y/n) [y]: Create a computer specific folder in the destination path [y/n] [n]: n SELECT RECOVERY POINT TYPE [1]Recovery point set: Creates a base recovery point and subsequent incremental recovery points. [2]Independent backup: Creates a complete standalone backup. Select the recovery point type [1/2] [1]: 1 SELECT COMPRESSION LEVEL Use [1] Standard, [2] Medium, [3] High, [4] No compression for the recovery points. Select compression level [1/2/3/4] [1]: 1 SELECT ENCRYPTION TYPE Encrypt recovery point data using password to add another level of protection to your recovery points. [1] No password and no encryption [2] Password protected without any encryption. [3] Standard 128-bit (8+ character password). [4] Medium 192-bit (16+ character password). [5] High 256-bit (32+ character password). Select encryption type [1/2/3/4/5] [1]: 1 START A NEW RECOVERY POINT SET Run the base backup [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly. Choose the recurrence option [1/2/3/4] [2]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 7 Specify backup start time [HH:MM] [21:30] :22:00 CREATE RECOVERY POINTS Do you want to schedule recovery points [y/n] [y] :y Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 1,2,3,4,5,6 ~ Run more than once a day [y/n] [n] : n Verify recovery point after creation (this will increase the backup time) [y/n] [n]: n You have selected the following options SOURCE DEVICE NAMES /dev/sda1 /dev/dm-0 /dev/dm-2 DESTINATION FOLDER /backup/bk_test/RecoveryPointSet/ RECOVERY POINT TYPE Recovery Point Set START A NEW RECOVERY POINT SET At 22:00 every Saturday Next Run on 22-Mar-2014 CREATE RECOVERY POINTS At 22:00 every Sunday Monday Tuesday Wednesday Thursday Friday Next Run on 21-Mar-2014 COMPRESSION LEVEL Standard Compression ENCRYPTION TYPE AND PASSWORD No Password Save Job [y/n] [y]:y Provide Job Name : Full_Backup Job information saved. |
各ボリュームに定義できるはリカバリポイントセットのスケジュールは1つのみで複数のスケジュールは設定できないようです
さて、ここでも気になるのがリカバリポイントセットのファイルはどのタイミングで消えるのかってことです
Windows版のようにリカバリポイントセットの数を指定できないのが気になります