mirror of https://github.com/portainer/portainer
958a8e97e9
* fix(migration): close the database before running backups On certain filesystems, particuarly NTFS when a network mounted windows file server is used to store portainer's database, you are unable to copy the database while it is open. To fix this we simply close the database and then re-open it after a backup. * handle close and open errors * dont return error on nil |
||
---|---|---|
.. | ||
log | ||
migrator | ||
test_data | ||
validate | ||
backup.go | ||
backup_test.go | ||
datastore.go | ||
datastore_test.go | ||
init.go | ||
migrate_data.go | ||
migrate_data_test.go | ||
migrate_dbversion29_test.go | ||
migrate_dbversion33_test.go | ||
services.go | ||
teststore.go |