On 3/26/17 6:30 PM, Richard Shaw wrote: > On Sun, Mar 26, 2017 at 10:08 AM, Alexander Moisseev <mois...@mezonplus.ru > <mailto:mois...@mezonplus.ru>> wrote: > > But you have specified --config-dir instead of --config-path . > > Probably https://github.com/backuppc/backuppc/pull/79 > <https://github.com/backuppc/backuppc/pull/79> would help with your issue if > you have to use --config-dir . > > > Perhaps... I tried just changing the dir to path and got the following: > > Is this a new installation or upgrade for BackupPC? If this is > an upgrade please tell me the full path of the existing BackupPC > configuration file (eg: /etc/BackupPC/config.pl <http://config.pl>). > Otherwise, just > hit return. > > --> Full path to existing main config.pl <http://config.pl> [/etc/BackupPC/] > The file '/etc/BackupPC/' is not a regular file. > Need to specify a valid --config-path for upgrade > error: Bad exit status from /var/tmp/rpm-tmp.eRP9qR (%install) > It won't work. The configure.pl expects a full path including configuration file name as a value of the --config-path option. You can't specify a directory. But there is a special case: an empty string. That's why Craig suggested to use "--config-path ''" <-- empty string It is an equivalent of "hit return" in interactive mode.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ BackupPC-devel mailing list BackupPC-devel@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/