Skip to content

Commit

Permalink
docs: use --links flags to ensure link files are backed up in s3 (#2761)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Jul 31, 2024
1 parent 48b4ec4 commit 0eba56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/quick-start/installation/bentoml/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def download_tabby_dir(username: str) -> None:

def upload_tabby_dir(username: str) -> None:
"""Upload the tabby directory for the given user."""
if os.system(f"rclone sync ~/.tabby r2:/tabby-cloud-managed/users/{username}") == 0:
if os.system(f"rclone sync --links ~/.tabby r2:/tabby-cloud-managed/users/{username}") == 0:
print("Tabby directory uploaded successfully.")
else:
raise RuntimeError("Failed to upload tabby directory")

0 comments on commit 0eba56f

Please sign in to comment.