Why don't you simply return the backup file descriptor?