add backup for luffy

master
HgO 2020-11-30 21:07:54 +01:00
parent 6c898544c0
commit dfc74dbeb9
2 changed files with 32 additions and 13 deletions

View File

@ -0,0 +1,19 @@
borgmatic_config:
location:
source_directories:
- /var/www/wordpress
- /etc
repositories:
- "{{ borg_repository }}"
storage:
umask: "{{ borg_umask }}"
encryption_passphrase: "{{ vault_borg_passphrase }}"
compression: zlib,7
retention:
keep_hourly: 24
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
hooks:
mysql_databases:
- name: wordpress

View File

@ -1,14 +1,14 @@
$ANSIBLE_VAULT;1.2;AES256;62a40f49-7deb-45e3-8c17-639277033357
65623932623736623961633664613731383837313338336165366333343763646235316163653836
6130643962393231643262353065653130326566613363630a346138396532663733383133666635
30373362393636363833333530333762666164306436393263336164366637313132356464333931
3861643330306337300a643330613364663861623564356535343035393966383161383739626234
65313335316636646664396433393736386133343765643038663334666462333366353639363061
65303230303132366366343734336462653764613836396531613235393837326532626330636134
63643935323163356462343730633939303537656539336461666139323066366136343262326534
62316332313137626463643964646630663631313464663365313066623934393665306665303031
39613166626639663639623365343364396161656662333134303432656338393333323232366232
63633937343165633638326234386231336637326237336636343830363661376236353939366634
35653962393865616262366433663562333430643465613861643631323035626636343065336636
62613464613462346436353636323035316665313866616535363833393033623339343136653063
3363
65653537316335626632316363363730613962313238336436653836613163323833373035616137
3566613331383131306563623139323234386232383064320a303434643930616332326636313039
31663834393539653732646363646461633730663236633330333837343631613535336531623434
3465343936616333340a303965613733306331313662393930613133643738336131313066313965
65376236616536616565656331353865393334323530646265326464346337663130373637643136
62306665366631376237396566393962326433303464663666336135373464383239346162323861
38623865613038353939363835653733646331313761626434343837303866343636363639323366
35333866336230373464363437363062353230306465643739643339303563366137366561353261
63306635303462386466383961653562356437653765393939653731666138356365646538656130
30643337666130363135633465396235303866313233303735323039623731613136386165343532
33623437356238383537636232643266383737663735653330366262623335393931343135353138
62326463343038316439366162653662313737323533383138356630376163333438626330333735
6462