Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2014 10:15:34 -0500
From:      Scott Allendorf <scott-allendorf@uiowa.edu>
To:        <freebsd-ports-bugs@freebsd.org>
Subject:   ports-mgmt/pkg: 411.pkg-backup overwrites previous backup
Message-ID:  <53987296.9000106@uiowa.edu>

next in thread | raw e-mail | index | archive | help
--------------ms060100090600030200090101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

After upgrading to pkgng, I noticed that the 411.pkg-backup periodic=20
script was not maintaining a second copy of the database.  The following =

code looks like it was intended to do so at one time:

=3D=3D=3D=3D=3D
                 [ -e "${bak_file}.txz" ] && \
                         mv -f "${bak_file}.txz" "${bak_file}.txz.2"
=3D=3D=3D=3D=3D

It looks like removing the .txz extension everywhere would do what=20
appears to have been intended.

Compression of the database would also be nice, but would add a step to=20
any restore that needed to be done.

Thank you for all of your efforts maintaining and enhancing the ports=20
infrastructure.

Cheers,

Scott

--=20
Scott C. Allendorf                     Email:  scott-allendorf@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


--------------ms060100090600030200090101
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKVjCC
BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV
BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoT
FVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3d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WFu
Y2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQx
OTA3BgNVBAMTMENPTU9ETyBDbGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFp
bCBDQQIRAP1MAundMK5a77a+hG2LVqMwDQYJKoZIhvcNAQEBBQAEggEAFqXfhOaWYTkudVyT
5iNhb5+sFONhyLfB/Y7a9IdmjloEf4cYfKJW0HipMEw9tLarRDtaXLwCpWfzPW2oQboBdNXq
OgaBPO0nsZBlvLDCt9EQ52quuYMYYik8+MSU0A9VZ7rMTfcu6p1t+Ydb5csy3oKNf0unDTnJ
wiXk3UjuTpbivfkxr6On2BbQ+dSKEgFSQyzkm/hy8GoSikjOy9DmJNgzieNWR3WH9jHVfkFF
Lc0SQcGHlDe+cYIFKwUIpgbo0ucDm98pe6I999G+QO0puPvkns5u5xwnrkYvC4OfYUiBIogA
az90USdp4529ZFDNArYj0wlbova+JMnFE64WSwAAAAAAAA==
--------------ms060100090600030200090101--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53987296.9000106>