espidev / ebackup

An easy and reliable plugin for backups on Spigot servers! Supports SFTP!
https://www.spigotmc.org/resources/ebackup-simple-and-reliable-backups-for-your-server-supports-ftp-sftp.69917/
GNU General Public License v3.0
54 stars 16 forks source link

SFTP Backups Not working #10

Closed Legit4K closed 4 years ago

Legit4K commented 4 years ago

Sftp backups aren't being stored, I've made sure it was configured properly, I've even manually sshed into it successfully from current machine but the plugin doesn't want to. Below is partial config snippet:

ftp:
    enable: true
    path: '~/4/backups/'
    type: sftp # ftp for ftp, sftp for ftp over ssh
    host: 'HIDDEN'
    port: 57928
    user: 'backups'
    pass: 'HIDDEN'
    use-key-auth: false # use key based authentication for sftp (ignores password)
    private-key: '~/.ssh/id_rsa'
    private-key-password: '' # leave blank if the private key has no password
espidev commented 4 years ago

Is there an error when you run a backup?

espidev commented 4 years ago

maybe try using an absolute path in the SFTP path

Legit4K commented 4 years ago

There are no error logs, I'll try using absolute path

Legit4K commented 4 years ago

After switching to absolute path, the sftp backup initiated as expected, thanks!