File talk:Createvtapes.sh.txt: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(Created page with 'createvtapes.sh of 10:31, 16 November 2009 has a bug: The hard coded "linux-ws" in the path in line 37 should be replaced by ${CFGNAME} < VTAPESFOLDER=`grep tpch…')
 
mNo edit summary
 
Line 5: Line 5:


<              VTAPESFOLDER=`grep tpchanger /etc/amanda/${CFGNAME}/amanda.conf|grep -v ^#|cut -d":" -f 2|cut - d '"' -f 1`
<              VTAPESFOLDER=`grep tpchanger /etc/amanda/${CFGNAME}/amanda.conf|grep -v ^#|cut -d":" -f 2|cut - d '"' -f 1`
---
---
>              VTAPESFOLDER=`grep tpchanger /etc/amanda/linux-ws/amanda.conf|grep -v ^#|cut -d":" -f 2|cut -d '"' -f 1`
>              VTAPESFOLDER=`grep tpchanger /etc/amanda/linux-ws/amanda.conf|grep -v ^#|cut -d":" -f 2|cut -d '"' -f 1`
v

Latest revision as of 16:30, 18 March 2011

createvtapes.sh of 10:31, 16 November 2009 has a bug:

The hard coded "linux-ws" in the path in line 37 should be replaced by ${CFGNAME}


< VTAPESFOLDER=`grep tpchanger /etc/amanda/${CFGNAME}/amanda.conf|grep -v ^#|cut -d":" -f 2|cut - d '"' -f 1`

---

> VTAPESFOLDER=`grep tpchanger /etc/amanda/linux-ws/amanda.conf|grep -v ^#|cut -d":" -f 2|cut -d '"' -f 1`