
UNSOLVED
What is the good syntax for --cmd=existing-file-overwrite-option ??
Hi,
To restore the last backup from one primary server to secondary server, I use this command :
mccli backup restore --name=/clients/my_primary_server --data=/r/ --dest-client-domain=clients --dest-client-name=my_secondary_server --dest-dir=/r/ --plugin=5001 --cmd=existing-file-overwrite-option=always --labelNum=`/usr/local/avamar/bin/mccli backup show --name=/clients/my_primary_server |awk 'NR==4 { print $4 }'`
It's Ok but i have a problem with --cmd !!
The "existing-file-overwrite-option" is not used by Avamar !
In the log file, i can read this :
...
...
Why my cmd option is between with a flag type="int" ??? What is the good syntax ??
Responses (1)
Solutions (0)

Sandeep_Sinha
307 Posts
345
1
Posted December 1st, 2010 08:00
Hello jjay,
Please try using quotes with cmd option in the command as :
--cmd="existing-file-overwrite-option=always"
Thanks,
Sandeep.