Files
file-backups/README.md
John Lancaster c91acb7864 more notes
2024-02-04 11:07:28 -06:00

39 lines
1.4 KiB
Markdown

# File Backups
## Targets
- Joplin data
- InfluxDB data
## Implementation
- 1 restic repo per service getting backed up
- NFS share from NAS is mounted at `/mnt/backups` into the LXC
- Reference: [[Tutorial] Mounting NFS share to an unprivileged LXC](https://forum.proxmox.com/threads/tutorial-mounting-nfs-share-to-an-unprivileged-lxc.138506/)
- Make mount directory on Proxmox host
- Set up `/etc/fstab` to mount NFS share to it
- Add mountpoint for that folder in the LXC config on the Proxmox host in `/etc/pve/lxc/<vmid>.conf`
- Needed to create the repo with the `restic/restic` image before running the `autorestic` service
- Create at `/mnt/backups/<repo>` with `create_restic_repo.sh`
## Tools
### [restic / **restic**](https://github.com/restic/restic)
- [Documentation](https://restic.readthedocs.io/en/stable/index.html)
- [DockerHub](https://hub.docker.com/r/restic/restic)
### [cupcakearmy / **autorestic**](https://github.com/cupcakearmy/autorestic)
[Documentation](https://autorestic.vercel.app/)
### [rclone / **rclone**](https://github.com/rclone/rclone)
[Documentation](https://rclone.org/docs/)
### [offen / **docker-volume-backup**](https://github.com/offen/docker-volume-backup)
> Backup Docker volumes locally or to any S3, WebDAV, Azure Blob Storage, Dropbox or SSH compatible storage.
[Documentation](https://offen.github.io/docker-volume-backup/)