From: "Scott Taylor" Subject: Re: tar & CGI Date: Mon, 1 Mar 2004 07:08:20 -0800 (PST) Sender: linux-admin-owner@vger.kernel.org Message-ID: <1630.192.168.99.70.1078153700.squirrel@dctchambers.com> References: <200403011002.31267.fluca1978@virgilio.it> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <200403011002.31267.fluca1978@virgilio.it> List-Id: Content-Type: text/plain; charset="us-ascii" To: fluca1978REMOVE_THIS_STRING@virgilio.it Cc: linux-admin@vger.kernel.org Luca Ferrari said: > Hello, > I'm developing a perl CGI as a front-end to tar. I'd like to use it as > an interface for tape backups on my server, but I've got several > questions that I hope someone can answer to: > 1) how to give root permissions to my CGI, thus it can read all data > it must backup? > 2) since I'd like to use tar in multi volume mode (-M), how to catch > within the CGI the end of a tape, so to require to the user a new tape > and to restart tar on the new tape? > 3) how to keep a trace of all data contained in each tape? In other > words, how to save the output of tar depending on the tape number? Perhaps you want to have a look at how that is all done in Webmin: http://www.webmin.com/ -- Scott