Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose between different servers #25

Closed
gador opened this issue Feb 13, 2023 · 2 comments
Closed

Choose between different servers #25

gador opened this issue Feb 13, 2023 · 2 comments

Comments

@gador
Copy link

gador commented Feb 13, 2023

I'm trying to upload to two separate servers.

I use attic login server1 and then attic push cache_on_server_1 which works just fine.
When I then do: attic login server2 and attic push cache_on_server_2 I get NoSuchCache: The requested cache does not exist.

So, for some reason I'm not loged to the second server.

If I use attic login --set-default server2 the push works fine.

Is this supposed to work like this? Or is there a way to set the upstream server somewhere else?

@zhaofengli
Copy link
Owner

The syntax is servername:cachename if the server isn't the default, like server2:cache_on_server_2.

@gador
Copy link
Author

gador commented Feb 13, 2023

ah ok, thanks!

@gador gador closed this as completed Feb 13, 2023
zhaofengli added a commit that referenced this issue Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants