範例:ca_backup
下列是 ca_backup 指令語法的範例:
ca_backup -source machine1 -filesystem C:\DIR1 -filesystem D:\DIR2 -username Administrator -password abc ca_backup -source machine1 -filesystem C:\DIR1 -filelist File1.TXT -filelist File2.TXT -filelist FILE3.TXT -Group GROUP1 -tape TAPE1 -username Administrator -password abc
ca_backup -cahost machine1 -source machine1 -filesystem D:\DIR1 -username Administrator -password abc
ca_backup -source machine1 -filesystem C:\Folder1 -Filesystem D:\Folder2 -filelist file.TXT -username Administrator -password abc
ca_backup -source machine1 -filesystem "C:\Program Files\Back me up dir"(路徑中若含空格,必須加上兩個引號 "") -tape TAPE1 -runjobnow -username Administrator -password abc
範例:ca_backup -filter
下列是使用 ca_backup -filter 時的語法範例:
ca_backup [-filter include|exclude file|dir <模式>] -username Administrator -password abc ca_backup -source machine1 -filesystem c:\DIR -filter include file "*.doc" -username Administrator -password abc ca_backup [-filter include|exclude date modify|create|access onorbefore|onorafter <mm/dd/yyyy>] -username Administrator -password abc ca_backup -source machine1 -filesystem c:\DELL -filter exclude dir khan -username Administrator -password abc ca_backup -source machine1 -filesystem c:\DELL -filter exclude file ltrhd.doc -username Administrator -password abc
範例:ca_backup -on -at
下列是使用 ca_backup -on -at 時的語法範例:
ca_backup -source machine1 -filesystem c:\DIR -filter include file "*.doc" -at 12:50 -on 2002/8/8 -username Administrator -password abc
範例:ca_backup 工作階段密碼鍵
下列是使用 ca_backup ‑sessionpassword 時的語法範例:
ca_backup -source machine1 -filesystem c:\DIR -username Administrator -password abc ca_restore -tape TAPE1 -session 2 -dest C:\DIR -sessionpassword xyz -username Administrator -password abc
範例:ca_backup 輪換工作
下列是使用 ca_backup 輪換工作選項時的語法範例:
ca_backup -source machine1 -filesystem c:\DIR1 -mediapool testingpool -exception full append 2010/12/12 -username Administrator -password abc
ca_backup -source machine1 -filesystem D:\DIR2 -username Administrator -password abc -gfsrotation -mpoolprefix GFSpool -jobunit full -jobunit incr -jobunit incr -jobunit incr -jobunit incr -jobunit incr -jobunit incr -description GFSpoolJob
ca_backup -source machine1 -filesystem c:\dell -gfsrotation -mpoolprefix machine1 -jobunit full -jobunit full -jobunit full -jobunit full -jobunit incr -jobunit incr -jobunit full -description pool -username Administrator -password abc
附註:在下列範例中,星號 * 表示您可以使用任何磁帶。
ca_backup -source machine1 -filesystem C:\ca_lic -rotation -mediapool khan -jobunit off -jobunit incr append * -jobunit incr append * -jobunit incr append * -jobunit incr append * -jobunit full overwrite * -jobunit off -username Administrator -password abc
ca_backup -source machine1 -filesystem c:\temp -rotation -mediapool hello -jobunit off overwrite -jobunit full overwrite -jobunit incr append -jobunit incr append -jobunit incr append -jobunit full overwrite -jobunit off -username Administrator -password abc
ca_backup -source machine1 -filesystem C:\ca_lic -rotation -mediapool khan -username Administrator -password abc
範例:ca_backup 到刪除重複裝置
下列範例顯示用於某個刪除重複裝置的 ca_backup 指令語法,以設定清除原則,在工作完成時間的 4 週、3 天、2 小時及 1 分鐘之後進行完整備份。
ca_backup -cahost hostname -source -filesystem c:\temp -group Dedupegroup -dddpurgedata full 4 3 2 1 -username administrator -password caworld
Copyright © 2013 CA.
All rights reserved.
|
|