added an option to restore from a postgresql custom format dump