From 9b48eeba870c82cc210073ca99e2ac6392587186 Mon Sep 17 00:00:00 2001 From: "https://me.yahoo.com/a/yx5Y6EI1t.759Jsu63ZWqYclCmpOmxxd.ramtw--#7114a" Date: Thu, 8 Sep 2016 13:09:22 +0000 Subject: [PATCH] --- ...ction_between_external_HDD_and_server.mdwn | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/forum/manage_repository_connection_between_external_HDD_and_server.mdwn diff --git a/doc/forum/manage_repository_connection_between_external_HDD_and_server.mdwn b/doc/forum/manage_repository_connection_between_external_HDD_and_server.mdwn new file mode 100644 index 0000000000..d5d49e9e88 --- /dev/null +++ b/doc/forum/manage_repository_connection_between_external_HDD_and_server.mdwn @@ -0,0 +1,32 @@ +I have one server, two computers, and one external HDD. + +The git-annex repo on my server (`nhost`) has the following remotes: + +``` +qhost qhost:NIdata (fetch) +qhost qhost:NIdata (push) +zhost zhost:NIdata (fetch) +zhost zhost:NIdata (push) +``` + +The repo on `zhost` has the following remotes: + +``` +data0 /run/media/mee/data0/NIdata/ (fetch) +data0 /run/media/mee/data0/NIdata/ (push) +nhost nhost:NIdata (fetch) +nhost nhost:NIdata (push) +``` + +The repo on my HDD (`data0`) has thefollowing remotes: + +``` +nhost nhost:NIdata (fetch) +nhost nhost:NIdata (push) +qhost /qhost/home/mee/NIdata/ (fetch) +qhost /qhost/home/mee/NIdata/ (push) +zhost /zhost/home/mee/NIdata/ (fetch) +zhost /zhost/home/mee/NIdata/ (push) +``` + +Any ideas how I can set up a remote from `nhost` to `data0`, without making the identity of data0 dependent on which machine I am using on each particular session?