- 物理ホスト
ジョブネット退避
export JP1_USERNAME=jp1admin
/opt/jp1ajs2/bin/ajsprint -F AJSROOT1 "/*"
/opt/jp1ajs2/bin/ajsprint -F AJSROOT1 "/*" > /root/unitbackup.txt
cat /root/unitbackup.txt
ジョブネット削除
/opt/jp1ajs2/bin/ajsleave -F AJSROOT1 "/jg1/*"
/opt/jp1ajs2/bin/ajsdelete -F AJSROOT1 -R "/*"
/opt/jp1ajs2/bin/ajsprint -F AJSROOT1 "/*"
ジョブネット回復
/opt/jp1ajs2/bin/ajsdefine -F AJSROOT1 -f -d / /root/unitbackup.txt
/opt/jp1ajs2/bin/ajsprint -F AJSROOT1 "/*"
ジョブネット実行
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg1/jobnet1
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -R /jg1/jobnet1
- 論理ホスト
ジョブネット退避
export JP1_USERNAME=jp1admin
/opt/jp1ajs2/bin/ajsprint -F AJS3SCHEDULE001 "/*"
/opt/jp1ajs2/bin/ajsprint -F AJS3SCHEDULE001 "/*" > /root/unitbackup.txt
cat /root/unitbackup.txt
ジョブネット削除
/opt/jp1ajs2/bin/ajsleave -F AJS3SCHEDULE001 "/jg1/*"
/opt/jp1ajs2/bin/ajsdelete -F AJS3SCHEDULE001 -R "/*"
/opt/jp1ajs2/bin/ajsprint -F AJS3SCHEDULE001 "/*"
ジョブネット回復
/opt/jp1ajs2/bin/ajsdefine -F AJS3SCHEDULE001 -f -d / /root/unitbackup.txt
/opt/jp1ajs2/bin/ajsprint -F AJS3SCHEDULE001 "/*"
ジョブネット実行
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg1/jobnet1
/opt/jp1ajs2/bin/ajsshow -F AJS3SCHEDULE001 -R /jg1/jobnet1