Page 1 of 2

Remote Backup - [RESOLVED]

Posted: Fri Aug 07, 2015 8:45 pm
by Felix
I'm trying to setup a remote backup (admin user logged in > Server > Configure > Backup > Remote backup) using SFTP and I get the strange error: Error: expect utility not found

Does anyone know what this error mean and how to correct it?

It's worth mentioning that I can configure Remote Backup using the other protocol option (ftp), though I don't know yet if it's actually working (sending the actual backup to the remote server via ftp).

Re: Remote Backup

Posted: Sat Aug 08, 2015 7:54 am
by Felix
By the way, I get the same error when I try to run the following command on ssh
v-add-backup-host sftp HOST USER PASS DIR

Re: Remote Backup

Posted: Mon Aug 17, 2015 9:05 pm
by Felix
OK I found it! The expect package should be installed before using sftp. The command to install it is:

Code: Select all

apt-get install expect

Re: Remote Backup - [RESOLVED]

Posted: Tue Sep 01, 2015 11:57 am
by skurudo
Nice!
What was your OS? I don't see not installed expect package.
(hosting provider too in PM, if this not secret or private info)

Re: Remote Backup - [RESOLVED]

Posted: Tue Sep 01, 2015 1:50 pm
by Felix
Ubuntu 14.04 64bit
Hosting provider: VPS from Prometeus

This problem could be resolved in two ways:
  • VESTA install script checks the presense of expect package and installs if needed
  • The backup script checks the presense of expect package and installs if needed

Re: Remote Backup - [RESOLVED]

Posted: Sat Jul 30, 2016 8:06 am
by khampol
.... > Server > Configure > Backup > Remote backup
Hum.... Really I dont find... Where is it ?? Please can you show ?

Re: Remote Backup - [RESOLVED]

Posted: Sat Jul 30, 2016 8:28 am
by Felix
Login with admin and click Server > Configure (cog icon) > Backup > Remote backup

Image

Re: Remote Backup - [RESOLVED]

Posted: Sat Jul 30, 2016 8:43 am
by khampol
:O!
I do not have this !.. How u do that? Install some kind of package, or....?
I really want this : save on sFTP.

Re: Remote Backup - [RESOLVED]

Posted: Sat Jul 30, 2016 8:45 am
by Felix
Should be there on the default VESTA installation.

Re: Remote Backup - [RESOLVED]

Posted: Sat Jul 30, 2016 8:59 am
by khampol
Lol ! I miss the little green button ! (Beginner sorry !)

Image

Thanks a lot for your quick answer !

Ps : I choose ftp finally. Easier for me...