Browse Source

sysmocom-backup: Backup all of /etc/default

Additional applications might store files in /etc/default and it
is the easiest to backup up all of them. This has the danger that
after an upgrade the default file is not compatible/optimal but
we will need to deal with that once it occurs.
hfreyther/master-next
Holger Hans Peter Freyther 9 years ago
parent
commit
03fd342e14
  1. 4
      recipes-apps/sysmocom-backup/files/sysmocom-backup
  2. 2
      recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb

4
recipes-apps/sysmocom-backup/files/sysmocom-backup

@ -13,9 +13,7 @@ FILES="\
etc/osmocom/osmo-pcu.cfg \
etc/osmocom/osmo-sgsn.cfg \
etc/ggsn.conf \
etc/default/osmo-nitb \
etc/default/osmo-bsc \
etc/default/osmocom-tcpdump \
etc/default \
var/lib/osmocom/hlr.sqlite3 \
"
DATE=`date +%Y%m%d`

2
recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb

@ -1,7 +1,7 @@
DESCRIPTION = "sysmocom config backup and restore scripts"
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r4"
PR = "r5"
SRC_URI = "file://sysmocom-backup file://sysmocom-restore"
RDEPENDS_${PN} = "tar"

Loading…
Cancel
Save