* tar & CGI
@ 2004-03-01 9:02 Luca Ferrari
2004-03-01 15:08 ` Scott Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Luca Ferrari @ 2004-03-01 9:02 UTC (permalink / raw)
To: linux-admin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: tar & CGI
2004-03-01 9:02 tar & CGI Luca Ferrari
@ 2004-03-01 15:08 ` Scott Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Scott Taylor @ 2004-03-01 15:08 UTC (permalink / raw)
To: fluca1978REMOVE_THIS_STRING; +Cc: linux-admin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-01 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-01 9:02 tar & CGI Luca Ferrari
2004-03-01 15:08 ` Scott Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).