iac/ansible/inventory/group_vars/all/vault.yaml
Sergei Poljanski 59b5b4468a ansible: nightly restic backups to both object storage regions
Hetzner's server backups cost 20% of each server's price and only
restore whole disks. Back up what matters with restic instead, into the
backup buckets we already pay for: one repository per host in hel1
(asxpio-backups-main) and one in fsn1 (asxpio-backups-repl), written
independently so either region alone is a full copy.

Postgres goes in as a dump, Forgejo's and vhpbot's SQLite databases
through the online backup API, Garage with a fresh metadata snapshot,
ejabberd through its own backup command. Keeps 7 daily, 4 weekly and
6 monthly snapshots, prunes on Sundays, and mails the journal when a
run fails.

restic is the pinned upstream release, so its version is tracked in
the repo like everything else. The vault gains the restic password
and the Xray config for the role that follows.

Assisted-by: Claude:opus-5-5
2026-11-12 20:53:44 +04:00

154 lines
12 KiB
YAML

$ANSIBLE_VAULT;1.1;AES256
32356366663237323730376532393462356237346236616131303336623262653236356331333330
3035633139313236643830343031323136363663383338350a613731626164323234656637653630
61613839303334303866613762346363373731333962323066666132313664616438373365613635
3139633033346437390a643430646134376364393737343234386661353938623531353937666430
65366364613362393262313863346432306265353264353464313335646365326233376631373732
63666661363462663633633461323635633065613633636664383233353661643638316662386633
61626635386463323230366565386163393063383436636666643037353337343339373035366539
31353561386565383232306263333231326261633132303036666562326635313365346633636634
32353739633631666134373963383865363935326130336336333739393130353831646632623562
61373038376462363864333061626564623239396135626537366439373063313039313966363439
39363837356434356166353839363035373233656665663838346563623433346333643038323130
35333239313863303066366265373365636535313339616238343435613737356635643833633066
39613835306532383930303130633535666238323864386466336131313637336361313137306161
61653063663131666539363463326332383763643064653133343633633066366362373235663736
65376239316364666161323661613661333265366432366137386538646333653166646538626364
30636263336235336363646136663266376538646631323665636561313537393834336565313033
65663339626638303365333438393261653432373438373065343862373339623361383530343232
64333964643837333666663434356534653561313864383137303761346364633461653635656566
32613434373365616132353061333864333063386335653638623165333765653230313939353037
38633966323032623937376565383134383034376539383632393064666464313439633330666335
34313038333366353433646236666265366235373439626162306435663364643333316562346439
32653466613966303933633538366466636461373930353364323030646436316436383562646664
62626230363830306366613530633363653265623531383936396539356132393634323434356437
66636661626335323737643538343834303238346631666334393934343134366331346532396137
39396662396437656138626230343438336637663163303735653335663134343862373862386465
63643362643462663961663165306533623931313133636365616665333537643365623833303439
30656338323062366263636666333636356565653338323366346431396434633261623833376635
62346563373163663163643036383730663939613032663161396432653039373561663264646135
36303836656563333431633565383130616335356539333934313065333638363739393930393232
65366537623836356361393865396534376238663264643834333230636636666139643734336161
63333164303132373136623834666566663864336331666533646130393465613039613166306135
63373334346134396566656233393666333063313435626561356464363064643966373561346465
30346334383766623539386338363363343938343166633834326261396637333963656437663137
65633233383138666538663933303337623130613166373632623334386236313765633037613165
65653565623264623965303133653938383261636163373238353632313365613264643834656330
34383965666337663334333362623266356666643565626432383861366131336564353732356634
62316164663463326539316264323433346430363431383131393832383530333634643065376536
32616132626332623132333061353961396331366666326631303165303261326465303062323863
34656164613132616138383537336466353461363233393161366566356664336331313661383835
38393938633537313731626132376636343234336431393939643438363634326434333236333335
36356538653465616663633337626439366132383434326539663434333133356364653133336639
33313331373761643662313431386364303262383566333462323532343135376666333363333432
61656234643666343531646665336534343533346530326265643335383962376662326631653638
32626439303562623364353263316535646134363736323133393832653536353262306334393439
32306531623134656438613738643562663339336438353537343837393164386338363263323762
63333162316365323964313663383863363836643636326237626432623738323063303639373639
65363330353736333831333431393332616264353263316338383165303237343037396362346265
62663330643964663833346561363661613137646563396164383236633135343136653338353664
35616164646332333338626336376138303133323335353031333566613732386335386365626635
62353138343165346437666233633736646332313132396462633235323563636338333662636466
37343364343533623034653165633263343238666265636365636162646262383834613238366635
62656233653162346530393236343437623137313766306466646136643962343062643732306164
38633432363365613864376436393566363239343761623838623232613033363438656136633231
39303366623764616137646136353336343765353266363161343638303532356261666166616138
64373865303035643866666335356639656134353339383666373332363631393030346433316466
39663535393238613537343764316634633632616465343539643938313134653437386132336166
32636365353161313030393830653565623933313165323661376635643638646237313661336566
31323533353536306561663735383639353539663835366632333232343038646432666438326263
35386162663264396562613338386336623536306530366266346336643763656532653733366534
64393436313962356233323164383639363435656639303563393336623735613363373933313139
37353930396531633531336333656339336264353864396461393162316365343261653939313039
61653164646466613562386566663031356363383836633661373566386235626339646139393234
61323237383131386531616463663465613731306636356230306530623261613838633562333031
61326131393631633161386363386635633465613430616336356537616664383763333566363033
35363634643537646337363639333039343761363032633934633339633765643330613035633939
38353133646461653038383837656431306239306366323866623539383561316432626135386234
63353533336330643263346338353538383663656161616162363538323061613237396332303866
35326466663762616138373839383865316131346438353038626134313861613139336162616138
33393665396439323738613030366439323136653164616163643433343438373131393666633638
36333236323434376533626435353264663930663130343037616462306663616139363565313732
32666166643830303536633439353130303235323166626634313139613565323235666131303432
33316531623736333832356563383234346338663634366436306533366464366663646137396566
31393034366439646161643361663436383437623839323366616537353436366366363036373565
37396439633238313266383635623665396636333431313734303435323134356163656462323964
39313335356133623234393536346539333231373035396233343832633566643337656237623465
35623764343934646261333266613562363630396532653764303531383666363766383765363734
37663537613633643830326237363335623566376639633065363330313462633566653832643866
35633434303665656462653438313838636638333734376539383931396535333837393330333739
34313434653366663737616331626136626634646333303637363563336466303938363630333334
30656264633065333137643865633030643230636363396565383530653734653134303032376231
30643834636361313131653266303633626565666234336638386538633739376238343831343035
35373265343966666462633261323538633531653238346466616234313537323938316239383162
35326438313065313534313534626535313738323035386163663666653339613166373837346532
65623235353136323961623631636437656234633337653036353461313939373464383431343163
39333836336462636562396161303636666238663432343838383833306130633639663262616361
30323331386363373262356666303036343836343636353865613965643365396238313564333966
36363031386637313230303536303232613331666334393535363365653733353965396436373561
63636137313836346164383239363862353830333038363562396133343536633335633235333133
32636263633635366664363235666330633364303531376166666530646336346664323338636262
39643534353535323534366164633435343963333331353233633432623738313038326132363962
63316563376163386139656566656661396664666231373433613337326238303362383563623661
63353762336336303362383132643766663138313739366634666531616363616161613836666665
31396265353033663166366137393030366265333232663161356636343863333633646166313466
61636238613366623835383633346538306130626132346239346166653736343138613633373765
39623437623531313138313731313934623837313039363233653930646336393934373361303834
66373464323066303735663862383266346131323365313932356132633037366337373136313434
39373832346264363633306535623733363666393032353031373336353239646461306162653534
63323132626362316538323264316362656233346130326165333334333834643333636234626530
35633531663034636637373762333632336262373066356530613631343664633764643765613131
66353036356664646264336131323539633038373438623261313335663763386334336662376634
35376661316333363539633239653337663064613033363931653362323633386664366138363137
30336536343430333936656536663331656631613733396632343764363163313862373936323663
36306432663539336531663738363365376431616262346664613134366664373536386433333566
31346133643639613934383964656162623037373462633031353561623238636230633731323536
31326562343339376664653065656635353662663634386263363330356566336661313536666265
66666165356534306163326137336331306430336536663965323964656233396638636563356365
31366161363366656463373063636433343039303037646533626633613362393639323736623437
30386665326534623266633463643535356633303639346632666633363464306230653837333937
32636538353431633963366132366331323838393639613535613237646466666532386535323966
38323363353764313332336137653364343232323164353733646631343565316133356436343936
35636132663964633135363335383062663464346330666164396330616435663663363664643064
38306162616232633239313565383836356566376238303164393539666265313066346632303165
62393866346363653831623063346631396631653863303038373239643964666238333461303734
33343136333535616332633038646663623232663730376438386538633936323033356534356532
30313638326633396261343937333464386135646231653262646162303739613232326139303034
39326633383937313536636466373561393866303664653264353033363039613664656637656539
32616230663138323964663236363763643833373161313066363434636334636337323035643131
63636131663537313438316632376134313666393437303031356662626531653639303363346335
36393862366433343365643738666132666130303331303837306432623731383863613230373130
65623030366661653439303561356533336465656636356164646636373765336239353461636566
35616335643430663666653363666431356436343439643464356635313764663335613335396161
62393661353733336535633436626366653031323663383133383930383034313236353362376637
35323438633761383366383066363663373563656465316134373162396130616463333634376431
32323465356535653938303732663464653966613834313463616161343637306236393266656565
64666465313665633064343639656532633331663362366434393566643630333732346465626237
38373433623037396364663165623263326262323962616636613865393536626661356133613764
66633036623335646166356537313337353634326239646262303964633836636463343735313966
34386335393564613961623231336638313835613935316335306438343565333330303866646636
31663731663762643136323062643433636666626330376364396230663765613466373336303730
65326434393465336532353236366139633935666130653735346265643463366563306266666537
34636662386238343032616263363736643435313839393038643934313263613635366537623666
33623034386166663831616563343733653866326263396261636635363337663239366261623538
31363132356166363664653466626238636565633265346631626632356337303631613432346435
39666137653636393135306135313465313035656538336434393233663361326139643237626439
39613461333766333939636461323430623137383434343563333734336236346336626337313736
31396535633136623333336465366166376338376235623537366636636331653737346165656364
62663831323530626133323138393231306534323166643430656237336537306231623131383839
65306661326533326539646266363461373461646464366264393364333232653535333934623738
66343266333530613032316633323662356339366635373166623833646130643337613436363537
39353737303862666234323230303137623434633636303263653762393937613234383862313561
39613138356237373639663565653664643265373133356436343332363961616438643937393735
31653461353030626664393137343431663264636263326535646665373130313961316639636631
33626533336362356631366133636666343236396263626133626132343762633163633339313663
65643930383164353931646538653065616362636335333236353764643864613338623465633066
31333135633963383361623533316636346434316137633235343134663266373234383664323539
31306233303234336130346665356133326431306430366364636662663630663833303664356632
36633263653435333261313065653634653736393837306633393936386561613838343736326331
65613233343866313835313733613630363736613064366138326364636566343961663338376231
30636538303030303038353637663732336136656263303737623664376165393861643831616464
37643433316634336238333432643039643334366632326234646339356333663739633934323632
36626230653437303762343039643235646432663831363338643466396439376537353964663464
31353433363037363135316535643336653430383333633465376631653162373630323636636365
35376531633239393636396363626432306565656432653938396535663739386239