Improved database backup and added file-backup for non-core elements.