Be Your Own Cloud code · PART 5 — GOING FURTHER
Chapter 26 Scaling Out: Multiple Machines and Off-Site Nodes
The Simple Version: Two Independent Machines
# p. 120
# On the off-site machine, an independent Restic repository that
# both machines can push to, giving you geographic redundancy
# without either machine depending on the other to function:
export RESTIC_REPOSITORY=sftp:user@offsite-machine:/backups/primary
restic backup /opt/stacks --exclude-caches Reproduced exactly from Be Your Own Cloud, Chapter 26. The book explains what each line does and what to do when it doesn't work. About the book
Something here not working as the book describes? Tell the author.