Backup osmo-hlr/msc databases
This commit is contained in:
parent
729ca5e428
commit
dbb6c1926c
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
#Where the SQLite file is located
|
||||
DATABASE_FILE=/var/lib/osmocom/hlr.sqlite3
|
||||
DATABASE_FILE=/var/lib/osmocom/hlr.db
|
||||
|
||||
#Name of the database backup
|
||||
DATABASE_NAME=hlr
|
||||
|
@ -85,3 +85,6 @@ find $BACKUP_DIR -maxdepth 1 -mtime +$DAYS_TO_KEEP -name "*-daily" -exec rm -rf
|
|||
|
||||
perform_backups "-daily"
|
||||
|
||||
DATABASE_FILE=/var/lib/osmocom/sms.db
|
||||
DATABASE_NAME=sms
|
||||
perform_backups "-daily"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue