Snapshot return 504 error

Local Snapshot backup returns 504 error while compression Media folders.