dear friend i thinks my script has problem
this is my .bat script
"C:\Program Files\Veeam\Backup and Replication\Backup\Putty"\putty.exe -ssh root@172.31.68.74 -pw ******** -m C:\Script\sure.sh
and this is my sure.sh script
#!/bin/bash
mkdir -p /tmp/mysurereplicatestseyed
because when i run 1.bat manually it will be connect to 172.31.68.74 and create a directory with name mysurereplicatestseyed
and my argument filed is empty
what is the problem ?
task wait for scrip check in progress
BR
-
- Veteran
- Posts: 665
- Liked: 4 times
- Joined: Nov 21, 2013 12:02 pm
- Full Name: Babak Seyedi nejad
- Contact:
-
- Veteran
- Posts: 665
- Liked: 4 times
- Joined: Nov 21, 2013 12:02 pm
- Full Name: Babak Seyedi nejad
- Contact:
Re: How can run linux script for surebackup
Dear friend
Hi
above post is my last session and all of things now work except custom script
the custom script just work manually but can not work correctly via sure replica
what is my problem ?
BR
Hi
above post is my last session and all of things now work except custom script
the custom script just work manually but can not work correctly via sure replica
what is my problem ?
BR
-
- Product Manager
- Posts: 6431
- Liked: 729 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: How can run linux script for surebackup
My guess is that it is putty waiting for host key acceptance, because there is a mismatch between masquerade IP and host key.
Please try to do the following:
1. Start the surebackup job and note what masquerade IP the VM gets (you can see that from SureBackup job session log)
2. Try to ssh into that VM and see if putty will ask you to accept host key.
Thanks
Please try to do the following:
1. Start the surebackup job and note what masquerade IP the VM gets (you can see that from SureBackup job session log)
2. Try to ssh into that VM and see if putty will ask you to accept host key.
Thanks
-
- Veteran
- Posts: 665
- Liked: 4 times
- Joined: Nov 21, 2013 12:02 pm
- Full Name: Babak Seyedi nejad
- Contact:
Re: How can run linux script for surebackup
this is log file
is that correct ?
BR
i think my masq ip is 172.31.68.742/1/2018 21:55:23 Publishing
2/1/2018 21:55:10 Backup: created at 1/18/2018 3:29:40 PM, type full
2/1/2018 21:55:22 Backup repository: BukharestRepository (type Windows server, server bakveeam, mount server bakveeam)
2/1/2018 21:55:22 Virtual resources: host 172.20.64.12, datastore VeeamBackup_bakveeam, VM bakaml_1fc32bbab6644ff19df548842f7342d7
2/1/2018 21:55:22 Virtual lab: AMLAML
2/1/2018 21:55:22 VM: bakaml (application group, 4096 MB vRAM)
2/1/2018 21:55:22 OS: Red Hat Enterprise Linux 6 (64-bit)
2/1/2018 21:55:22 Network adapter 1: MAC unknown, type static, network unknown
2/1/2018 21:55:22 Assigned roles: none
2/1/2018 21:55:22 Maximum boot time: 600 second(s)
2/1/2018 21:55:22 Application initialization: 120 sec
2/1/2018 21:55:22 Heartbeat test: enabled
2/1/2018 21:55:22 Ping test: enabled
2/1/2018 21:55:22 Script tests: enabled, 1 tests
2/1/2018 21:55:22 Backup file validation: enabled
2/1/2018 21:55:26 Reconfiguring
2/1/2018 21:55:26 Network 1: production vLAN 682, isolated AMLAML vLAN 682, mapped
2/1/2018 21:55:26 Results: 1/1 network(s) mapped, 0 unmapped
2/1/2018 21:55:26 Summary: 100% total pass rate
2/1/2018 21:55:31 Registering
2/1/2018 21:57:20 Powering on
2/1/2018 21:55:38 Waiting for OS to boot for up to 600 seconds (stable IP algorithm)...
2/1/2018 21:55:38 Note: Will proceed to the next step at 2/1/2018 10:05:38 PM or earlier
2/1/2018 21:57:19 Results: IP address 172.20.68.74 is detected
2/1/2018 21:57:20 Updating virtual lab parameters
2/1/2018 21:57:20 Results: IP address 172.31.68.74, network '172.31.0.0', mask '255.255.0.0', gateway 172.20.68.68
2/1/2018 21:57:20 Summary: OS booted up successfully
2/1/2018 21:57:21 Heartbeat test
2/1/2018 21:57:21 Heartbeat status: green
2/1/2018 21:57:21 Results: heartbeat is green, passed
2/1/2018 21:57:21 Summary: 100% total pass rate
2/1/2018 21:57:37 Running ping test(s)
2/1/2018 21:57:21 Network adapter 1: name vLAN 682, usable
2/1/2018 21:57:36 Network adapter 1: IP address 172.20.68.74, OK
2/1/2018 21:57:37 Network adapter 1: IP address fe80::250:56ff:febd:58eb, skipped - IPv4 supported only
2/1/2018 21:57:37 Results: 1/2 test(s) passed, 0 failed, 1 skipped
2/1/2018 21:57:37 Summary: 50% total pass rate
2/1/2018 21:59:37 Application initialization
2/1/2018 21:57:37 Waiting for 120 more seconds...
2/1/2018 21:57:37 Note: operation will be continued at 2/1/2018 9:59:37 PM
2/1/2018 21:59:37 Summary: application is initialized
2/1/2018 21:59:37 Running test scripts
2/1/2018 21:59:37 Custom script 1: name aml, starting...
is that correct ?
BR
-
- Veteran
- Posts: 665
- Liked: 4 times
- Joined: Nov 21, 2013 12:02 pm
- Full Name: Babak Seyedi nejad
- Contact:
Re: How can run linux script for surebackup
so thanks from all of veeam team
my problem has been solved
so thanks from all of you
BR
Babak
my problem has been solved
so thanks from all of you
BR
Babak
Who is online
Users browsing this forum: Bing [Bot] and 141 guests