Hello Pim,

using jumphost here for backing up a remote host and it's VMs without any problems. What BackupPC version do you use?
I am using BackupPC 4.3.1-3 from the yum repository for CentOS 7. Very good to hear that you got it working on your installation.

ok, so I'll try it on an 4.3.2 installation, too, and give you some information if it works there.

working here without any clue as described. No changes in BackupPC configuration needed.

So, the differences seem to be:

* you're using sudo and a special backup user

* as your DumpPreUserCmd errors out, did you try without?

> DumpPreUserCmd returned error status 65280... exiting
  *  what is this errorstatus from?
  *  does the backup work without DumpPreUserCmd?

May be this helps, too:

On Tue, 11 Jun 19, Adam Goryachev wrote:
> Finally, the one single command I've found to be the *most* helpful in
> debugging any such issues is this:
>
> /usr/lib/backuppc/bin/BackupPC_dump -f -vvv hostname
>
> Which will just try to do a full backup, but show you on the console
> what it is doing through each step. You should make sure there is no
> scheduled backup for this host, and no in-progress backup for this host
> when you run this command. Under normal operation, you shouldn't use
> this command.

(on Debian, this is in another location:
  /usr/share/backuppc/bin/BackupPC_dump
 don't know about CentOS)


> Also, not trying to be cheeky here: for added security you don't
> actually need AgentForwarding
Yes, you're right - this was an copy&paste leftover.

> nor root logins when using a jump host.
Yes, you can use another user. Is it a normal sshd what you use for jump host, or something like sshportal or ssh-bastion?

There are different ways for ssh proxy/jump, too:
https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts#Jump_Hosts_--_Passing_Through_a_Gateway_or_Two

Best regards,
Falko


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to