On 10/10/2016 00:20, [email protected] wrote: > There is plenty of traffic showing in the archives here, but it does > appear that there is no-one willing to help newbie-level problems. > > I asked a similar question a few months ago here and got no response then > either. > > Sometimes with these online communities I guess it happens that there is > currently no-one on the list willing to help. It's a bit crap for newbies > especially since the documentation doesn't help - at least not in my case. > > For instance now my problem is with the documentation about restores which > says "You can optionally change the target host name, target share name, > and target path prefix for the restore, allowing you to restore the files > to a different location." > > However it doesn't say what to enter when there is no target share name > (I'm restoring to a local file system, not a share). If I leave the field > blank, the restore fails. >
Follow the documentation, trust the docs, they are right. If you really know what you are doing, then you can use the CLI tools to do a restore to the local filesystem (or even a remote one). If you don't know how to use the basic Linux tools like tar, ssh, etc, then you should stick to the amazing GUI that is provided. Except, you will also need to live with the restrictions that the GUI imposes (like only being able to restore to a directory that is under a share which is on a host that is already setup/working (or download the restore as a tar/zip file, and then restore it yourself, but that comes back to knowing how to use basic Linux CLI tools). I understand that being a newbie is tough, we have all been there once, and still come across new things that we are not experts in. However, when you are a newbie, at least read the documentation that is provided, and when you have problems, remember how to ask for help (http://www.catb.org/~esr/faqs/smart-questions.html#rtfm for all the gory detail, lots of very helpful guidance there). Again, apologies for my rant. Regards, Adam > > >> Hi, >> I am new here and I am still experimenting with BackupPC, but I am worried >> too about this problem... >> >> This is a common scenario where a machine goes down, nobody can help? >> >> >> ----- >> Alain Mouette >> >> >> >> A 7 de outubro de 2016 14:16:37 [email protected] escreveu: >> >>> One of my hosts died completely and needs replacing, but in the meantime >>> I >>> had to restorer some of the files to the localhost where backuppc is >>> running. >>> >>> I used the GUI to set up the restore job, but it immediately failed with >>> the usual suspect: ssh problems. Since I'd had to solve that problem >>> before, making sure that the passwordless ssh login between host and >>> client worked. >>> >>> In this case, backuppc is trying to ssh to localhost. >>> >>> I went back to the command line and set up ssh so that it can now >>> passwordless-ssh to itself either as root or as backuppc. I tested both >>> cases with all combinations: >>> >>> sudo -u backuppc ssh [email protected] whoami >>> sudo -u backuppc ssh backuppc@localhost whoami >>> sudo -u backuppc ssh backuppc@gondor whoami >>> >>> and they all work nicely. >>> >>> However this seems to have made backuppc's problems worse, and now I get >>> the error appearing not just once as before, but 3 times as copied from >>> the log file below: >>> >>> Contents of file >>> /media/adam/WDPassport2T/backuppc/pc/localhost/RestoreLOG.8.z, modified >>> 2016-10-07 16:34:22 >>> >>> Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x >>> -p >>> --numeric-owner --same-owner -v -f - -C >>> Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h fangorn -n 72 -s >>> /cygdrive/d/Documents -t -r / -p /home/adam/fangorn/ / >>> Xfer PIDs are now 25659,25660 >>> No protocol specified >>> >>> (ssh-askpass:25663): Gtk-WARNING **: cannot open display: :0.0 >>> No protocol specified >>> >>> (ssh-askpass:25664): Gtk-WARNING **: cannot open display: :0.0 >>> No protocol specified >>> >>> (ssh-askpass:25665): Gtk-WARNING **: cannot open display: :0.0 >>> Tar exited with error 65280 () status >>> tarCreate: Unable to write to output file (Connection reset by peer) >>> restore failed: BackupPC_tarCreate failed >>> >>> So has anyone seen this before? Is there some backuppc-foo that I need >>> to >>> do, or is ssh just not set up properly still? >>> >>> Regards >>> 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 >>> [email protected] >>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users >>> Wiki: http://backuppc.wiki.sourceforge.net >>> Project: http://backuppc.sourceforge.net/ >> >> >> >> ------------------------------------------------------------------------------ >> 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 >> [email protected] >> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users >> Wiki: http://backuppc.wiki.sourceforge.net >> Project: http://backuppc.sourceforge.net/ >> > > > ------------------------------------------------------------------------------ > 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 > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ 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 [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
