diff --git a/dbbackup/management/commands/dbrestore.py b/dbbackup/management/commands/dbrestore.py index e29999cd..dd7ccdd8 100644 --- a/dbbackup/management/commands/dbrestore.py +++ b/dbbackup/management/commands/dbrestore.py @@ -102,6 +102,7 @@ def _restore_backup(self): ) input_file.close() input_file = unencrypted_file + input_file.seek(0) if self.uncompress: uncompressed_file, input_filename = utils.uncompress_file( input_file, input_filename