Re: [BackupPC-users] CGI Script Fails to Run But Actual Text of Script Displays Instead

2020-04-26 Thread Greg Harris
Apache is not reading the .php files as php, but text. Thanks, Greg Harris On Apr 26, 2020, at 8:22 PM, Akibu Flash wrote:  I am running an Arch Linux server (5.6.6) for the purpose of backing up several Windows 10 machines on a home local area network. I have installed the package

[BackupPC-users] CGI Script Fails to Run But Actual Text of Script Displays Instead

2020-04-26 Thread Akibu Flash
I am running an Arch Linux server (5.6.6) for the purpose of backing up several Windows 10 machines on a home local area network. I have installed the package distribution and also Apache with mod_perl support. Backuppc along with Apache are listed as running when I check systemctl status

Re: [BackupPC-users] full backup ok, incremental fails

2020-04-26 Thread Graham Seaman
That worked. Thanks for the help! Graham On 26/04/2020 17:35, Craig Barratt via BackupPC-users wrote: Sorry, the correct form should be "$@": #!/bin/sh -f exec /bin/tar -c "$@" (Note that you want to force tar to have the -c option, not exec). Craig On Sun, Apr 26, 2020 at 5:14

Re: [BackupPC-users] full backup ok, incremental fails

2020-04-26 Thread Craig Barratt via BackupPC-users
Sorry, the correct form should be "$@": #!/bin/sh -f exec /bin/tar -c "$@" (Note that you want to force tar to have the -c option, not exec). Craig On Sun, Apr 26, 2020 at 5:14 AM Graham Seaman wrote: > Hi Craig > > I set sudoers to allow backuppc to run tar as root with no password, and >

Re: [BackupPC-users] full backup ok, incremental fails

2020-04-26 Thread Graham Seaman
Hi Craig I set sudoers to allow backuppc to run tar as root with no password, and incremental backups work fine. This is only marginally less secure than the old setup, which allowed backuppc to run the script which called tar, so I guess I can live with this. But in case you have any