Symantec System Recovery 2013 Linux Editionについて動作の検証を行っています
今回は単体リカバリポイントのスケジュールバックアップを設定してみます
スケジュールの作成はsymsr -createjobで行います
symsr -createjobコマンドを実行してバックアップスケジュールウィザードを開始します
- バックアップ元の指定
- バックアップ先の指定
- コンピュータ固有のフォルダの作成
- バックアップタイプの指定
- 圧縮レベルの指定
- パスワード保護と暗号化
- スケジュール
- 実行曜日
- 実行時間
- バックアップファイルの検証
- スケジュールジョブの作成
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 |
1 2 3 4 5 6 7 8 |
[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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test |
バックアップ先にコンピュータ名でフォルダを作成してそこにバックアップファイルを保存する場合は[y]にします。デフォルトは[n]です
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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y |
今回は単体リカバリポイントのバックアップスケジュールを作成しますので[2]を選択します
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
[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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y 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]: 2 |
圧縮レベルを指定します。デフォルトは[1]で標準(推奨)になり圧縮率は約40%だそうです
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
[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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y 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]: 2 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]暗号化無しになります。暗号化を行えばそれだけ負荷がかかってバックアップに時間が掛かるようになると思います
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 |
[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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y 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]: 2 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 |
単体リカバリポイントの作成を行うスケジュールを指定します
[1]毎週 [2]毎月 [3]四半期 [4]毎年 [5]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 31 32 33 |
[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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y 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]: 2 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 SPECIFY INDEPENDENT RECOVERY POINT SCHEDULE Create a schedule to run independent backup at regular intervals. [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly, [5] Run only once. Enter schedule choice. [1/2/3/4/5] [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 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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y 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]: 2 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 SPECIFY INDEPENDENT RECOVERY POINT SCHEDULE Create a schedule to run independent backup at regular intervals. [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly, [5] Run only once. Enter schedule choice. [1/2/3/4/5] [1]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 6 |
検証なので取り敢えずすぐに実行するように直近の時間を指定してみます
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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y 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]: 2 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 SPECIFY INDEPENDENT RECOVERY POINT SCHEDULE Create a schedule to run independent backup at regular intervals. [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly, [5] Run only once. Enter schedule choice. [1/2/3/4/5] [1]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 6 Specify backup start time [HH:MM] [16:15] :16:15 |
バックアップ完了後にバックアップファイルが正常か検証するオプションを選択します
デフォルトは[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 |
[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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y 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]: 2 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 SPECIFY INDEPENDENT RECOVERY POINT SCHEDULE Create a schedule to run independent backup at regular intervals. [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly, [5] Run only once. Enter schedule choice. [1/2/3/4/5] [1]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 6 Specify backup start time [HH:MM] [16:15] :16:15 Verify recovery point after creation (this will increase the backup time) [y/n] [n]: n |
設定一覧が表示されます。間違いが無ければ作成します
[y]の後にジョブ名を指定します。今回はsda1_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 |
[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 SELECT DESTINATION Specify the path where you want to store the recovery points :/backup/bk_test Create a computer specific folder in the destination path [y/n] [n]: y 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]: 2 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 SPECIFY INDEPENDENT RECOVERY POINT SCHEDULE Create a schedule to run independent backup at regular intervals. [1] Weekly, [2] Monthly, [3] Quarterly, [4] Yearly, [5] Run only once. Enter schedule choice. [1/2/3/4/5] [1]: 1 Recur every week on [SUNDAY,MONDAY...] or [1,2,...7] [SUNDAY]: 6 Specify backup start time [HH:MM] [16:15] :16:15 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 DESTINATION FOLDER /backup/bk_test/ RECOVERY POINT TYPE Independent Backup BACKUP SCHEDULE At 16:15 every 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 : sda1_backup Job information saved. |
これでスケジュールバックアップジョブが作成されました
作成されているバックアップジョブを確認してみます
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
[root@co65 ~]# symsr -info job Warning: Application license will expire on Mon May 19 16:58:27 2014. Name : sda1_backup Guid : aa90fc56-2991-e211-abbf-aabb10580c8d JobID : job-1 Status : Active Volume : /dev/sda1 Job Schedule : Create independent full recovery point every Friday Job Added : 21-Mar-14 16:13 Destination : /backup/bk_test/ Last Backup : 21-Mar-14 16:15 Last Result : SUCCESS Next Backup : 28-Mar-14 16:15 Next BackupType: Independendent Full |
さて、ここで気になるのが単体リカバリポイントファイルはどのタイミングで消えるのか…ってことです
ウィザードでは保存するリカバリポイント数の指定が無いので、”取るだけ”で消すのはユーザーでシェルでも組んでやってねってことのように思えるんです
ユーザーが消す処理を行わないと延々にファイルが作成されてバックアップ先容量を圧迫してしまいそうでなんだかなぁ~って思いです
どなたか情報がありませんかね