Re: Working star backup script
Joerg Schilling <[email protected]> Thu, 03 Nov 2005 12:59:02 +0100
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <4369FB86.nailKRK619PA5@burner> |
"Zoran Ljubisic" <[email protected]> wrote: > Hi all, > > I found out this script that use star for backup. Maybe somebody here find > it usefull also. > Original is locate on > http://homepage.sunrise.ch/mysunrise/joerg.hau/linux/#backup2tape > > Here it comes: > > #!/bin/sh > > # 'backup2tape.sh' It is unfortunately non portable: - The script is neither compliant with /bin/sh nor with the POSIX shell (ksh93). e.g. "function checkfor()" is not accepted by either sh or ksh. - mt has no option --version - mt has no function "eod" - date has no option --iso-8601=sec And please note: this script creates a "standard" tar archive but nothing that could be called a "backup". If you like to "backup" things, you should use the -dump or level=xxx option. Then star puts more into the archive.... It may make sense if I did publish some of my scripts as a base for a discussion. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily