Update the paths for copying the archive.

DNS Link is a wonderful thing; it simplifies a bunch of things.
Hunter Jozwiak 2024-01-20 15:54:25 -05:00
parent e6dee62899
commit dd1399d37f

@ -58,14 +58,14 @@ In brief, these flags allow for migrating the daemon automatically when you inst
Now that yu have the IPFS node running, you can now get the archive and pin a copy locally by way of its IPNS key. Now that yu have the IPFS node running, you can now get the archive and pin a copy locally by way of its IPNS key.
```bash ```bash
ipfs pin add /ipns/k51qzi5uqu5dg7ndb48x1v9hzp98vg6wncrbhps16a8yn3eh4nqis7v384jh20 ipfs pin add games-archive.stormux.org
``` ```
To ensure you have the latest archive, run the pin on a periodic interval. Additionally, if your node is slow in updating, as mine was, you can resolve the resolve the ipns entry by hand and pipe that into pin add. To ensure you have the latest archive, run the pin on a periodic interval. Additionally, if your node is slow in updating, as mine was, you can resolve the resolve the ipns entry by hand and pipe that into pin add.
```bash ```bash
ipfs name resolve --nocache /ipns/k51qzi5uqu5dg7ndb48x1v9hzp98vg6wncrbhps16a8yn3eh4nqis7v384jh20 | ipfs pin add ipfs name resolve --nocache games-archive.stormux.org | ipfs pin add
``` ```
@ -74,5 +74,5 @@ To automate this process, you can add it to your crontab:
```bash ```bash
crontab -e crontab -e
# ipns update for audiogame-manager once a week # ipns update for audiogame-manager once a week
0 12 * * 1 ipfs name resolve --nocache /ipns/k51qzi5uqu5dg7ndb48x1v9hzp98vg6wncrbhps16a8yn3eh4nqis7v384jh20 | ipfs pin add 0 12 * * 1 ipfs name resolve --nocache games-archive.stormux.org | ipfs pin add
``` ```