Hi
I’m having a frustrating time now getting vertical backup to work right in the demo before I buy it.
The latest problem is that when I run in the foreground in a shell, if the GUI machine reboots, the remote process stops. This has happened to me twice due to a hardware issue on the GUI machine I’m using to remote log in.
So I have tried to get vertical backup working to run in the background, and have failed so far.
The first sub-problem is that I can’t get it to deal with ssh public keys. I got my private key installed locally and put the pub key on the remote (backup) destination. I can log in via ssh with no password now.
So, I tried to interpret what you meant in the limited documentation by “json key-value pairs” and I put the following in the passwords file under .verticalbackup:
ssh_key : { name : ‘ssh_key’, value : ‘/.ssh/id_rsa’}
Then it threw an error:
Traceback (most recent call last):
File "vertical_main.py", line 141, in <module>
File "vertical_backup.py", line 497, in backupCommand
File "vertical_storage.py", line 38, in createStorage
File "vertical_utils.py", line 239, in retrievePassword
File "vertical_utils.py", line 44, in LOG_WARNING
File "vertical_utils.py", line 75, in log
ValueError: unsupported format character ''' (0x27) at index 30 Failed to execute script vertical_main
Allright, so I tried just running it at the command line and it barfs:
Vertical Backup 1.0.3
Trial license expires on 2017-07-28
host’s password (leave blank to choose public key authentication):
Enter the path of the ssh private key file:/.ssh/id_rsa
Enter the passphrase of the ssh private key file:
Traceback (most recent call last):
File “vertical_main.py”, line 141, in
File “vertical_backup.py”, line 497, in backupCommand
File “vertical_storage.py”, line 43, in createStorage
NameError: global name ‘key’ is not defined
Failed to execute script vertical_main
Ok, back to square one. So I try just doing a plain old direct command line backup using the password:
Storage set to sftp://hostname.com//path-to-store
Listing all virtual machines
Backing up vmname, id: 3, vmx path: vmpath, guest os: centos64Guest
No previous backup found
Virtual machine name is powered on
Removing all snapshots of vmname
Creating a new virtual machine snapshot for vmname
Uploaded file /vmfs/volumes/datastore1/webuzo1/Webuzo.vmdk
Uploaded file /vmfs/volumes/datastore1/webuzo1/owncloudConv.vmdk
Uploading file owncloudConv-flat.vmdk
Uploading ------------------------------------------------------------------------ 6.33MB/s 22:33:49 0.1%
You’ll note that it says “No previous backup found”. Yet it has already put over 44.5G of data onto the destination from previous backup attempts. So now I’m confused about whether it is using this previous data in the de-duplication or not, and why it didn’t find the previous attempts.
Please help get this working right.
Thanks