ports-mgmt/pkg: 411.pkg-backup overwrites previous backup
Scott Allendorf
scott-allendorf at uiowa.edu
Wed Jun 11 15:16:59 UTC 2014
After upgrading to pkgng, I noticed that the 411.pkg-backup periodic
script was not maintaining a second copy of the database. The following
code looks like it was intended to do so at one time:
=====
[ -e "${bak_file}.txz" ] && \
mv -f "${bak_file}.txz" "${bak_file}.txz.2"
=====
It looks like removing the .txz extension everywhere would do what
appears to have been intended.
Compression of the database would also be nice, but would add a step to
any restore that needed to be done.
Thank you for all of your efforts maintaining and enhancing the ports
infrastructure.
Cheers,
Scott
--
Scott C. Allendorf Email: scott-allendorf at uiowa.edu
Senior Systems Administrator Office: 210B Van Allen Hall
Department of Physics and Astronomy Voice: (319) 335-0003
The University of Iowa FAX: (319) 335-1753
Iowa City, Iowa 52242-1479 ICBM: 41 39 43.6 N 91 31 55.1 W
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3760 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20140611/f4276a93/attachment.bin>
More information about the freebsd-ports-bugs
mailing list