Creating snapshots on Android box with external drive

Asked by Chris Huby

I am trying to set up BIT to create snapshots of my linux mint system on an android box with an attached external drive. I can SSH to the backup folder using RSA keys but when I set the options in BIT I get the following:-

Remote host 10.0.0.2 doesn't support 'chmod u+rw FILE':
SSHDroid
Use 'root' as username
Default password is 'admin'
ls: Unknown option '-i'. Aborting.
ls: Unknown option '-i'. Aborting.
Bad mode

Look at 'man backintime' for further instructions

I have added busybox to my android box thinking that it was a chmod problem but I still get the same error message. Any suggestions?
Thanks Chris

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Germar
Solved:
Last query:
Last reply:
Revision history for this message
Best Germar (germar) said :
#1

When you say you added busybox did you check if the new busybox is used for commands like chmod and ls?
I assume the new busybox is installed in /opt/bin/. So you should add a line 'PATH=/opt/bin:$PATH' at the end of the .bashrc for your remote backup user.

BTW it is not only chmod which is causing troubles. 'ls -i' doesn't work either. This is not so important for the snapshot process but BIT uses this to check if the remote filesystem support hard-links and will not work without.

Regards,
Germar

Revision history for this message
Chris Huby (chris-huby) said :
#2

Thanks Germar, that solved my question.

Revision history for this message
Chris Huby (chris-huby) said :
#3

Thanks Germar for the quick response.

You were quite right I hadn't checked if busybox was being used for chmod and ls. Now that I've fixed that BIT is working beautifully.
I have spent quite a long time trying to find a good backup program for linux mint and I'm not sure why I didn't come across BIT before. It addresses all the issues I had with the other solutions.
Thank you very much.

Chris