Jump to content

Recommended Posts

Posted

Hi all - taking over the network here and fumbling my way around the Linux. In between Googling and my scribbled notes I get most of the way there but I'm a bit stuck on backing up a samba server here with backuppc.

 

I've added the new client in ok, with a bit from the gui (Edit hosts > add) and copied the .pl file from a similar host as I only want to back up a couple of folders and exclude a couple of others.

 

Now, when it tries to back up I get the message:

 

2016-04-04 17:00:02 Output from DumpPreUserCmd: Host key verification failed.
2016-04-04 17:00:02 Output from DumpPreUserCmd: cat: /backups/tmp/errors-remote-MYCLIENT: No such file or directory
2016-04-04 17:00:02 Output from DumpPreUserCmd: INFO: Control: Starting backup-preexec-control for MYCLIENT. Hold on tight!

 

So, I'd expect there to be *something* in the ssh key sharing business that I've not done.

 

Problem is, I'm fairly new to Linux and I do NOT want to go about generating keys with no idea what I'm really doing. My fear is I'll generate a new key having followed some guide somewhere, and then nothing else will back up as I've b0rked something for all the other machines. Or I could be on the wrong track entirely and it's nothing to do with ssh keys.

 

Can anyone patient really really spoon-feed me what to do?

 

Grateful for any and all help. :)

Posted

Hi

 

I use backuppc to backup two linux machines, the second one added quite a bit after the first one. The guide I used is:

 

https://www.debian-administration.org/article/588/Introduction_BackupPC_part_1

 

I can't remember the steps I went through to get the second client working, but I guess I just worked through the relevant parts of the tutorial. I don't remember anything being hard or not working, which means it was probably very simple.

  • Thanks 1
Posted
Hi

 

I use backuppc to backup two linux machines, the second one added quite a bit after the first one. The guide I used is:

 

https://www.debian-administration.org/article/588/Introduction_BackupPC_part_1

 

I can't remember the steps I went through to get the second client working, but I guess I just worked through the relevant parts of the tutorial. I don't remember anything being hard or not working, which means it was probably very simple.

 

Ooh thanks! BIG fan of the novels btw. :)

 

I'll take a look. :)

Posted

Urfh, stupid Linux. That didn't work. I created the user backuppc (am I even meant to do that? I don't think any of the other servers here do have this user, although there IS a user with that name on the backuppc server itself) on my client, but running ssh-copy-id backuppc@MYCLIENT I get error messages when trying to get that key over, and I'm very reluctant to just go and experiment with it.

 

Any ideas what it wants?

Posted

All done. Got help off a mate.

 

(Just in case any lost Googlers read this) Ssh-ed in as backuppc acct, opened bash prompt, copied key over:

 

ssh-copy-id -i ~/.ssh/id_rsa.pub root@MYSERVERIWANTTOBACKTHINGSUPFROM

 

Safe.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...