Add optional backup value to the --backup command

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Minor code formatting fix

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>