From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ferrari Subject: tar & CGI Date: Mon, 1 Mar 2004 10:02:31 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: <200403011002.31267.fluca1978@virgilio.it> Reply-To: fluca1978REMOVE_THIS_STRING@virgilio.it Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org 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? Any suggestions are accepted. Thanks, Luca -- Luca Ferrari, fluca1978@virgilio.it