backea/config.yml
2025-03-21 20:10:29 +01:00

75 lines
1.6 KiB
YAML

defaults:
retention:
keep_latest: 10
keep_hourly: 24
keep_daily: 30
keep_weekly: 8
keep_monthly: 12
keep_yearly: 3
common:
sftp_raid_strategy: &sftp_raid_strategy
type: "kopia"
provider: "sftp"
destination:
username: "gevo"
host: "maric.ro"
path: "/raid/backups/"
ssh_key: "/home/gevo/.ssh/kopia_key"
services:
backealocal:
source:
host: "local"
path: "/home/gevo/Images"
hooks:
before_hook: "ls"
after_hook: ""
backup_configs:
1:
backup_strategy:
type: "kopia"
provider: "local"
destination:
path: "/home/gevo/backup/image1"
2:
backup_strategy:
type: "kopia"
provider: "local"
destination:
path: "/home/gevo/backup/images2"
3:
backup_strategy:
type: "kopia"
provider: "sftp"
destination:
username: "gevo"
host: "maric.ro"
path: "/home/gevo/backups/backealocal"
ssh_key: "/home/gevo/.ssh/kopia_key"
4:
backup_strategy: *sftp_raid_strategy
backeaworking:
source:
host: "local"
path: "/home/gevo/Images"
hooks:
before_hook: "ls"
after_hook: ""
backup_config:
1:
backup_strategy: *sftp_raid_strategy
imageslocal:
source:
host: "local"
path: "/home/gevo/Images/"
hooks:
before_hook: "ls"
after_hook: ""
backup_configs:
1:
backup_strategy:
type: "kopia"
provider: "local"
destination:
host: "local"