Re: [BackupPC-users] Unable to ping [Solved] /workaround/
I was able to get the server connected and backing up. In the 'ClientNameAlias' field, I entered the servers IP address. Although the other change I still need to make is to reapply Windows firewall and see if it's still good. Terry -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Tuesday, November 11, 2014 4:37 PM To: Les Mikesell Cc: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Unable to read 4 bytes Hi, Les Mikesell wrote on 2014-11-10 15:08:49 -0600 [Re: [BackupPC-users] Unable to read 4 bytes]: > On Mon, Nov 10, 2014 at 2:41 PM, Holger Parplies wrote: > > > > > actually, "host not found" is a failure to resolve the host name (by > > DNS and netbios). > > Which might - or might not - still have something to do with a > firewall blocking the netbios response. yes, sorry. I was thinking about DNS and missed the netbios case. I added that after checking the code to make sure the message actually means what it says and failed to realize the implication. Regards, Holger -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/ -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
[BackupPC-users] rsync --exclude options - why are they stripped?
This question has been asked before (http://sourceforge.net/p/backuppc/mailman/message/22459100/, http://sourceforge.net/p/backuppc/mailman/message/31066154/), but I haven't seen any answers, so I ask again, because this is something I really want to understand. The Documentation of RsyncArgsExtra (http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_rsyncargsextra_) mentions explicity its usefulness for defining rsync-style include/exclude rules (which are much more flexible than BackupPC's own rules). However, looking at the XFerLog, any --exclude options used in RsyncArgsExtra are never actually used by BackupPC. The code explicity removes these options with the following line in Rsync.pm: $argList = File::RsyncP->excludeStrip($argList); This code has been added before the 3.0.0beta0 release, in Rsync.pm 1.25 (http://backuppc.cvs.sourceforge.net/viewvc/backuppc/BackupPC/lib/BackupPC/Xfer/Rsync.pm?r1=1.24&r2=1.25), in the course of implementing support for rsync hardlinks. There is no comment or changelog entry explaining the specific purpose of this call. Personally, I don't understand what suppressing --exclude options may have to do with hardlink support. It would be an easy hack to just comment out the code line above and get support for --exclude/include. However, maybe I am overlooking something highly important, thus the question here again: Why does BackupPC strip the rsync exclude options? +-- |This was sent by martin.wi...@ts.fujitsu.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
[BackupPC-users] rsync --exclude options - why are they stripped?
Got it, finallly - the include/exclude options are sent to the client via the rsync protocol. From the XferLog: Sent exclude: /trash Sent exclude: /tmp Sent exclude: *.iso Sent exclude: *.rpm This happens to both the RsyncExtraArgs and backupExclude / BackupInclude options. So it's all fine. Sorry for the noise. +-- |This was sent by martin.wi...@ts.fujitsu.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
Re: [BackupPC-users] rsync --exclude options - why are they stripped?
Hi, mwilck wrote on 2014-11-12 05:29:23 -0800 [[BackupPC-users] rsync --exclude options - why are they stripped?]: > [...] > The Documentation of RsyncArgsExtra [...] mentions explicity its usefulness > for defining rsync-style include/exclude rules [...]. The code explicity > removes these options with the following line in Rsync.pm: > [...] > Why does BackupPC strip the rsync exclude options? I'd have to look at the current code closely to be sure, but from memory, rsync sends the in-/excludes via the rsync protocol exchange rather than on the command line. Your XferLOG should contain lines starting with "Sent exclude" (or include, I suppose). I remember the code moving also in-/excludes from the RsyncArgsExtra (or was it RsyncArgs?) and not only applying this to the in-/excludes it generates itself. I don't recall the order in which they are sent, but putting the ones from RsyncArgsExtra first would seem to make most sense. This may have been changed by the patch you mention. I'll look into it, when I find the time. Does your XferLOG include any "Sent exclude" lines? Aside from RsyncArgsExtra, you should also be able to put arbitrary rsync style in-/exclude rules in the BackupFilesExclude list, as these are passed verbatim to rsync (also via the protocol exchange, I believe). RsyncFilesOnly, on the other hand, is used to generate sets of includes and excludes. Regards, Holger -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
[BackupPC-users] rsync --exclude options - why are they stripped?
... this works for both the rsync and rsyncd protocols. +-- |This was sent by martin.wi...@ts.fujitsu.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
[BackupPC-users] rsync --exclude options - why are they stripped?
Holger Parplies wrote: > > I'd have to look at the current code closely to be sure, but from memory, > rsync sends the in-/excludes via the rsync protocol exchange rather than on > the command line. Your XferLOG should contain lines starting with > "Sent exclude" (or include, I suppose). I remember the code moving also > in-/excludes from the RsyncArgsExtra (or was it RsyncArgs?) and not only > applying this to the in-/excludes it generates itself. I don't recall the > order in which they are sent, but putting the ones from RsyncArgsExtra > first would seem to make most sense. > You are right. I found this out myself, unfortunately after writing my post. RsyncArgsExtra comes first. I'm not sure why I overlooked this in the XferLog in the first place. Thanks, Martin +-- |This was sent by martin.wi...@ts.fujitsu.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
[BackupPC-users] ssh-keygen on Ubuntu 14.04
Hi all on an Ubuntu 14.04 server I've installed backuppc afresh, moved /var/lib/backuppc to /mnt/raid (a raid1 soft raid setup) and am in the process of configuring the last steps. Web access is fine and I can add hosts etc but I've reached a stumbling block with the ssh-key setup. Following the backuppc install notes on the site I do: su - backuppc and would then expect to follow the prompts after doing ssh-keygen (which I've done successfully on another box, albeit on 12.04). However, I hit a snag with this: No directory, logging in with HOME=/ Permissions are such that backuppc cannot create a home directory for itself. So when I try and run ssh-keygen I get permission error if I try and save to default location from the command. Enter file in which to save the key (/home/backuppc/.ssh/id_rsa): Could not create directory '/home/backuppc/.ssh': No such file or directory Enter passphrase (empty for no passphrase): I've therefore tried to save to /var/lib/backuppc/.ssh/id_rsa as I know backuppc is the owner of /var/lib/backuppc but get this error: open /var/lib/backuppc/.ssh/id_rsa failed: No such file or directory. So I took the plunge and created /var/lib/backuppc/.ssh/ and created the public key there. And then run ssh-keygen -t rsa which completes with no error and an ls /var/lib/backuppc/.ssh/ shows the 2 files id_rsa an id.rsa.pub there If it then try and copy the file from backuppc to my target client with $ ssh-copy-id -i /var/lib/backuppc/.ssh/id_rsa.pub root@remoteserver I get this (this is sending to a Mac 10.5 server in case thats relevant) mktemp: failed to create file via template ‘//.ssh/ssh-copy-id_id.XX’: No such file or directory mktemp failed I suspect I'm making this more complicated and difficult than it really needs to be. And perhaps a simple tweak right at the outset to sort my lack of home directory on backuppc user or similar may be the solution. Or perhaps I need to enable root on the server? I've been banging my head against this metaphorical wall for some time now so anyone who has any suggestions please let me know. best. -- Tom -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
Re: [BackupPC-users] web GUI downloading BIN file Ubuntu 14.04
Hey Les as usual you were spot on. It definitely was the Firefox cache at play - I had connected to this box from Firefox previously before rebuilding it so something must have hung around from previous config. Cleared cache and all ok once more. Cheers. On 08/11/14 16:40, Les Mikesell wrote: > On Sat, Nov 8, 2014 at 9:22 AM, Holger Parplies wrote: >> Hi, >> >> Carl Wilhelm Soderstrom wrote on 2014-11-07 09:54:01 -0500 [Re: >> [BackupPC-users] web GUI downloading BIN file Ubuntu 14.04]: >>> On 11/07 12:20 , Tom Fallon wrote: The problem appears to be one of PEBKAC :( I tried accessing the GUI on another browser and it's fine. My (normally reliable) Firefox install appears to be the culprit not the backuppc installation as I can access in Chromium absolutely fine. Should really have tried that first So sorry to trouble everyone with a non-issue however hopefully my admission of stupidity here may help someone else with the same problem from making the same mistake as I did >>> well, that's different. >>> Thanks for the update at least! >> while I'm no web server configuration guru, to me, this actually does sound >> like a web server configuration issue as the root cause (or possibly the CGI >> that generates the page, though I suspect we'd have heard of the problem >> frequently before). Something like an incorrect MIME type that Chromium >> handles differently than Firefox, an incorrect character encoding, an >> incorrect or missing HTTP header field, strange characters in the generated >> page ... > Maybe firefox has cached the static script file contents from a > previous misconfiguration and isn't even requesting it again now that > the issue is fixed. I'd try a 'clear cache' or using the same browser > from another machine. In any case the apache log file entry might be > interesting if you can still get it to return the script text instead > of executing it. > -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
Re: [BackupPC-users] ssh-keygen on Ubuntu 14.04
On 13/11/14 09:46, Tom Fallon wrote: > Hi all > > on an Ubuntu 14.04 server I've installed backuppc afresh, moved > /var/lib/backuppc to /mnt/raid (a raid1 soft raid setup) and am in the > process of configuring the last steps. > > Web access is fine and I can add hosts etc but I've reached a stumbling > block with the ssh-key setup. Following the backuppc install notes on > the site I do: > > su - backuppc > > and would then expect to follow the prompts after doing ssh-keygen > (which I've done successfully on another box, albeit on 12.04). However, > I hit a snag with this: > > No directory, logging in with HOME=/ > Change the home directory for the user backuppc to /var/lib/backuppc/ See this page (especially the comments about usermod for details) http://nixtechnica.blogspot.com.au/2007/04/how-to-change-your-home-directory-in.html Regards, Adam -- Adam Goryachev Website Managers www.websitemanagers.com.au -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
Re: [BackupPC-users] ssh-keygen on Ubuntu 14.04
On Wed, Nov 12, 2014 at 4:46 PM, Tom Fallon wrote: > Hi all > > on an Ubuntu 14.04 server I've installed backuppc afresh, moved > /var/lib/backuppc to /mnt/raid (a raid1 soft raid setup) and am in the > process of configuring the last steps. > > Web access is fine and I can add hosts etc but I've reached a stumbling > block with the ssh-key setup. Following the backuppc install notes on > the site I do: > > su - backuppc > > and would then expect to follow the prompts after doing ssh-keygen > (which I've done successfully on another box, albeit on 12.04). However, > I hit a snag with this: > > No directory, logging in with HOME=/ Is this installed from a package? Normally that would create the user with the right home directory for you. Does the /etc/passwd file show a home directory?Or did it someone get lost in your move to /mnt/raid? Basically the home field in /etc/passwd for the backuppc user needs to exist, and that's where the .ssh directory should be. > > And then run ssh-keygen -t rsa which completes with no error and an ls > /var/lib/backuppc/.ssh/ shows the 2 files id_rsa an id.rsa.pub there > > If it then try and copy the file from backuppc to my target client with > > $ ssh-copy-id -i /var/lib/backuppc/.ssh/id_rsa.pub root@remoteserver > > I get this (this is sending to a Mac 10.5 server in case thats relevant) > > mktemp: failed to create file via template > ‘//.ssh/ssh-copy-id_id.XX’: No such file or directory > mktemp failed Don't know much about ssh'ing into macs as root. There is probably something weird about it. I think it should be doing a mkdir ~/.ssh there (where ~ is expected to expand to the home directory for the user (root). But you can look at the ubuntu version of the ssh-copy-id script to see. > I suspect I'm making this more complicated and difficult than it really > needs to be. And perhaps a simple tweak right at the outset to sort my > lack of home directory on backuppc user or similar may be the solution. I normally mount my storage volume at /var/lib/backuppc before installing the package so anything the installer wants to do happens in the right place, but I'm not sure if that is appropriate for ubuntu. -- Les Mikesell lesmikes...@gmail.com -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
Re: [BackupPC-users] ssh-keygen on Ubuntu 14.04
User backuppc, by default, has the home directory in the same place where the files will be saved, or, if you prefer, files get saved into user backuppc HOME. You relocated the save space (how? if You installed from source it's ok, but otherwise there are a number of problems there), but I guess you forgot to relocate the pointer to the home directory in /etc/passwd. Symptoms say home-dir field in passwd holds an invalid value. backuppc should have a valid home-dir, even if is prevented from logging directly setting shell to something invalid (e.g. /bin/false). Fix that and then you'll be able to proceed with keygen Nella citazione in data mercoledì 12 novembre 2014 23:46:55, Tom Fallon ha scritto: > Hi all > > on an Ubuntu 14.04 server I've installed backuppc afresh, moved > /var/lib/backuppc to /mnt/raid (a raid1 soft raid setup) and am in the > process of configuring the last steps. > > Web access is fine and I can add hosts etc but I've reached a stumbling > block with the ssh-key setup. Following the backuppc install notes on > the site I do: > > su - backuppc > > and would then expect to follow the prompts after doing ssh-keygen > (which I've done successfully on another box, albeit on 12.04). However, > I hit a snag with this: > > No directory, logging in with HOME=/ > > Permissions are such that backuppc cannot create a home directory for > itself. So when I try and run ssh-keygen I get permission error if I try > and save to default location from the command. > > Enter file in which to save the key (/home/backuppc/.ssh/id_rsa): > Could not create directory '/home/backuppc/.ssh': No such file or directory > Enter passphrase (empty for no passphrase): > > I've therefore tried to save to /var/lib/backuppc/.ssh/id_rsa as I know > backuppc is the owner of /var/lib/backuppc but get this error: > > open /var/lib/backuppc/.ssh/id_rsa failed: No such file or directory. > > So I took the plunge and created /var/lib/backuppc/.ssh/ and created the > public key there. > > And then run ssh-keygen -t rsa which completes with no error and an ls > /var/lib/backuppc/.ssh/ shows the 2 files id_rsa an id.rsa.pub there > > If it then try and copy the file from backuppc to my target client with > > $ ssh-copy-id -i /var/lib/backuppc/.ssh/id_rsa.pub root@remoteserver > > I get this (this is sending to a Mac 10.5 server in case thats relevant) > > mktemp: failed to create file via template > ‘//.ssh/ssh-copy-id_id.XX’: No such file or directory > mktemp failed > > I suspect I'm making this more complicated and difficult than it really > needs to be. And perhaps a simple tweak right at the outset to sort my > lack of home directory on backuppc user or similar may be the solution. > Or perhaps I need to enable root on the server? > > I've been banging my head against this metaphorical wall for some time > now so anyone who has any suggestions please let me know. > > best. > > > -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
Re: [BackupPC-users] ssh-keygen on Ubuntu 14.04
Hi all and thanks for the prompt and helpful answers. I installed this via normal Ubuntu packages which I believe installs the backuppc user as part of the install. Les' idea of mounting first to /var/lib/backuppc and *then* installing backuppc makes a lot of sense. So I've unmounted /mnt/raid, done an apt-get purge backuppc, deleted the backuppc user and the /var/lib/backuppc directory. I've created a new empty /var/lib/backuppc directory and mounted this to /dev/md0 which is my Raid1 setup. And then edited the /etc/fstab to read as below to retain mount on reboot: #mount raid set /dev/md0 /var/lib/backuppc ext4defaults1 2 And *then* reinstalled backuppc via apt-get install backuppc. The backuppc user now shows in /etc/passwd as below which looks much healthier: backuppc:x:106:115:BackupPC,,,:/var/lib/backuppc:/bin/sh Now ssh-keygen seems to work as expected. $ su - backuppc $ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/var/lib/backuppc/.ssh/id_rsa): Created directory '/var/lib/backuppc/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /var/lib/backuppc/.ssh/id_rsa. Your public key has been saved in /var/lib/backuppc/.ssh/id_rsa.pub. Lastly running ssh-copy-id -i /var/lib/backuppc/.ssh/id_rsa.pub root@remote-mac-server worked fine too so the issue must have all been to do with the funky backuppc user install on the server. Thanks again everyone, this mailing list rocks. Cheers, Tom On 12/11/14 23:16, Mauro Condarelli wrote: > User backuppc, by default, has the home directory in the same place > where the files will be saved, or, if you prefer, files get saved into > user backuppc HOME. > > You relocated the save space (how? if You installed from source it's > ok, but otherwise there are a number of problems there), but I guess > you forgot to relocate the pointer to the home directory in /etc/passwd. > > Symptoms say home-dir field in passwd holds an invalid value. > backuppc should have a valid home-dir, even if is prevented from > logging directly setting shell to something invalid (e.g. /bin/false). > > Fix that and then you'll be able to proceed with keygen > > Nella citazione in data mercoledì 12 novembre 2014 23:46:55, Tom > Fallon ha scritto: >> Hi all >> >> on an Ubuntu 14.04 server I've installed backuppc afresh, moved >> /var/lib/backuppc to /mnt/raid (a raid1 soft raid setup) and am in the >> process of configuring the last steps. >> >> Web access is fine and I can add hosts etc but I've reached a stumbling >> block with the ssh-key setup. Following the backuppc install notes on >> the site I do: >> >> su - backuppc >> >> and would then expect to follow the prompts after doing ssh-keygen >> (which I've done successfully on another box, albeit on 12.04). However, >> I hit a snag with this: >> >> No directory, logging in with HOME=/ >> >> Permissions are such that backuppc cannot create a home directory for >> itself. So when I try and run ssh-keygen I get permission error if I try >> and save to default location from the command. >> >> Enter file in which to save the key (/home/backuppc/.ssh/id_rsa): >> Could not create directory '/home/backuppc/.ssh': No such file or >> directory >> Enter passphrase (empty for no passphrase): >> >> I've therefore tried to save to /var/lib/backuppc/.ssh/id_rsa as I know >> backuppc is the owner of /var/lib/backuppc but get this error: >> >> open /var/lib/backuppc/.ssh/id_rsa failed: No such file or directory. >> >> So I took the plunge and created /var/lib/backuppc/.ssh/ and created the >> public key there. >> >> And then run ssh-keygen -t rsa which completes with no error and an ls >> /var/lib/backuppc/.ssh/ shows the 2 files id_rsa an id.rsa.pub there >> >> If it then try and copy the file from backuppc to my target client with >> >> $ ssh-copy-id -i /var/lib/backuppc/.ssh/id_rsa.pub root@remoteserver >> >> I get this (this is sending to a Mac 10.5 server in case thats relevant) >> >> mktemp: failed to create file via template >> ‘//.ssh/ssh-copy-id_id.XX’: No such file or directory >> mktemp failed >> >> I suspect I'm making this more complicated and difficult than it really >> needs to be. And perhaps a simple tweak right at the outset to sort my >> lack of home directory on backuppc user or similar may be the solution. >> Or perhaps I need to enable root on the server? >> >> I've been banging my head against this metaphorical wall for some time >> now so anyone who has any suggestions please let me know. >> >> best. >> >> >> -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk __
Re: [BackupPC-users] web GUI downloading BIN file Ubuntu 14.04
Hi, Tom Fallon wrote on 2014-11-12 23:03:27 + [Re: [BackupPC-users] web GUI downloading BIN file Ubuntu 14.04]: > On 08/11/14 16:40, Les Mikesell wrote: > > On Sat, Nov 8, 2014 at 9:22 AM, Holger Parplies wrote: > >> [...] > >> to me, this actually does sound like a web server configuration issue > >> [...] > > Maybe firefox has cached the static script file contents from a > > previous misconfiguration and isn't even requesting it again now that > > the issue is fixed. [...] > Hey Les > > as usual you were spot on. It definitely was the Firefox cache at play - > I had connected to this box from Firefox previously before rebuilding it > so something must have hung around from previous config. Cleared cache > and all ok once more. so it was a *cached* web server configuration issue ;-). Yes, that's the way web page expiry dates work. They're always too low, until you need them low. Then they're too high. Another hint for the web page trouble FAQ: Reload. I wish we still had a wiki with contents. Regards, Holger -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ 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/
Re: [BackupPC-users] web GUI downloading BIN file Ubuntu 14.04
Morning Holger Was going to ask about that separately actually. Most older posts refer to the wiki. But links to it don't seem to work. Has it been abandoned? Tom. On 13 Nov 2014 00:57, "Holger Parplies" wrote: > Hi, > > Tom Fallon wrote on 2014-11-12 23:03:27 + [Re: [BackupPC-users] web > GUI downloading BIN file Ubuntu 14.04]: > > On 08/11/14 16:40, Les Mikesell wrote: > > > On Sat, Nov 8, 2014 at 9:22 AM, Holger Parplies > wrote: > > >> [...] > > >> to me, this actually does sound like a web server configuration issue > > >> [...] > > > Maybe firefox has cached the static script file contents from a > > > previous misconfiguration and isn't even requesting it again now that > > > the issue is fixed. [...] > > Hey Les > > > > as usual you were spot on. It definitely was the Firefox cache at play - > > I had connected to this box from Firefox previously before rebuilding it > > so something must have hung around from previous config. Cleared cache > > and all ok once more. > > so it was a *cached* web server configuration issue ;-). > Yes, that's the way web page expiry dates work. They're always too low, > until > you need them low. Then they're too high. > > Another hint for the web page trouble FAQ: Reload. I wish we still > had > a wiki with contents. > > Regards, > Holger > > > -- > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > ___ > 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/ > -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk___ 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/