It appears that when backing up using FTP that the overrides are not being
used. This worked in version 3.x but appears to have broke after upgrading to
4.1.3.
For example, here is the error from the host log:
2017-11-05 00:15:04 xfer start failed: Can't open ftp connection to
192.168.1.109: Connection refused
Here is the config:
cat /etc/BackupPC/pc/192.168.1.109.pl
$Conf{XferMethod} = 'ftp';
$Conf{FtpShareName} = [
'/sdcard'
];
$Conf{FtpUserName} = 'someuser';
$Conf{FtpPasswd} = 'somepassword';
$Conf{FtpPort} = 42546;
Here is the tcpdump (.104 is where BackupPC is running and .109 is what I want
to backup):
tcpdump: listening on ens32, link-type EN10MB (Ethernet), capture size 262144
bytes
00:15:04.832970 IP (tos 0x0, ttl 64, id 53945, offset 0, flags [DF], proto TCP
(6), length 60)
192.168.1.104.39280 > 192.168.1.109.21: Flags [S], cksum 0x8454 (incorrect
-> 0x9476), seq 336259106, win 29200, options [mss 1460,sackOK,TS val
3976542875 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c d2b9 4000 4006 e3dc c0a8 0168 E..<..@.@......h
0x0010: c0a8 016d 9970 0015 140a e822 0000 0000 ...m.p....."....
0x0020: a002 7210 8454 0000 0204 05b4 0402 080a ..r..T..........
0x0030: ed05 3a9b 0000 0000 0103 0307 ..:.........
00:15:04.837357 IP (tos 0x0, ttl 64, id 6730, offset 0, flags [DF], proto TCP
(6), length 40)
192.168.1.109.21 > 192.168.1.104.39280: Flags [R.], cksum 0x95f7 (correct),
seq 0, ack 336259107, win 0, length 0
0x0000: 4500 0028 1a4a 4000 4006 9c60 c0a8 016d E..(.J@.@..`...m
0x0010: c0a8 0168 0015 9970 0000 0000 140a e823 ...h...p.......#
0x0020: 5014 0000 95f7 0000 0000 0000 0000 P.............
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel
Notice that it is trying to connect on port 21 instead of using the override of
42546 which is leading to the connection refused error.
Any thoughts on why the override isn't being used?
Thanks.
Adam
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/