On Android, navigate to Settings, then Google, and then Backup. Simply enable the backup for SMS messages. It syncs automatically with your Google Drive storage.