This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vsphere_folder.testfolder: Refreshing state... (ID: DC1/TEST/Vms) | |
vsphere_virtual_machine.web: Refreshing state... (ID: TEST/Vms/terraform-web) | |
vsphere_virtual_machine.web: Destroying... | |
vsphere_virtual_machine.web: Destruction complete | |
vsphere_virtual_machine.web: Creating... | |
cluster: "" => "CLU01" | |
datacenter: "" => "DC1" | |
disk.#: "" => "3" | |
disk.0.bootable: "" => "false" | |
disk.0.datastore: "" => "DSCLU-01/SAS-006" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#mysqldump | |
docker exec CONTAINER sh -c 'exec mysqldump -u BKPUSER -pBKPPWD -h localhost DATABASE' | $GZIP -9 > $NOW.gz | |
#tar gz | |
docker cp CONTAINER:/custom/dir - | gzip > $FILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-new certificate in standalone mode | |
certbot certonly --standalone --email my@mail.com --agree-tos -d www.my.domain | |
-renew all certficates in standalone mode | |
certbot renew |