Hi all,
New to Urbackup. I have gotten my W11 machine to back up now to my Unraid server and that is working great. Now I have moved onto backing up my Portainer mini server to my Unraid and I can’t seem to locate any good docker yaml’s to do this. The only one I have been able to find it the one below, but as you can see below this looks to be wanting to back up to a cloud location, but in my instance this is just my locate server. Any thought would be helpful
Portainer example yaml:
version: ‘2’
services:
urbackup:
image: uroni/urbackup-client:latest
container_name: urbackup-client
environment:
- TZ=America/NewYork # Enter your timezone
- URBACKUP_SERVER_NAME=example.com
- URBACKUP_CLIENT_NAME=exampleclientname
- URBACKUP_CLIENT_AUTHKEY=secretkey
volumes:
- /path/to/backup:/backup
The “volumes” key/entry specifies where you want your backups to be saved.
There are 2 (possibly 3 if your log file doesn’t get pruned BY YOU and it runs out of space)
Example:
volumes:
- /path/to/your/database/folder:/var/urbackup
- /path/to/your/backup/folder:/backups
network_mode: "host"
----------- end example -----
The database folder contains the sql indexes and SHOULD BE BACKED UP by you. I do mine weekly - to offsite. It’s not very big.
The backups folder is where all your machines drives date gets backed up.
I assume you are using docker on an O/S other than Linux. Which is a shame as Linux supports the BTRFS filesystem (as does docker and urbackup). Urbackup backups folder on a BTRFS volume can (a) be compressed on the fly and (b) de-duplicated. Such that - an Incremental MAY be viewed as the whole disk/filesystem BUT only saved the differences. You’d need to have a read on BTRFS if you want a detailed explanation.
I have been using urbackup with BTRFS for about 18 months and I store physical (real) machines of 1.2Tb, 900Gb and 700Gb USED/occupied space - on a BTRFS volume with 1.7Tb actual physical space and the reported space used is 1.3Tb.
Anyway - good luck.
David