--#完整備份資料庫並壓縮
backup database AdventureWorks2017 to disk='/sqlbackfile/AdventureWorks2017_20190825_full.bak'
with init,compression

--#差異備份資料庫並壓縮(一定要有一次完整備份)
backup database AdventureWorks2017 to disk='/sqlbackfile/AdventureWorks2017_20190825_diff.bak'
with init,compression,differential