First page Back Continue Last page Summary Graphics
Building Blocks
- rpm -qa > ${bakDir}/rpmlist.${dateStamp}.txt
This gives us a complete list of packages
As the first step, back up /etc/ :
- tar -cvz -f ${bakDir}/etc.${dateStamp}.tar.gz /etc/ | \ tee -a ${log}
I use "tee" to create a log file
instead of "tar" option "-z" I could use:
- --use-compress-program bzip2
which provides better (but slower) compression
Notes: