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
#!/bin/bash | |
# Backup the Microk8s directory | |
mkdir -p /var/snap/backup/microk8s-current | |
cp -r /var/snap/microk8s/current/ /var/snap/backup/microk8s-current | |
if [ $? != 0 ]; then | |
echo "[ ERROR ] happened during backing up microk8s directory " | |
exit 1 | |
else | |
echo "[ OK ] Successfully backed up microk8s directory" |
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
### Keybase proof | |
I hereby claim: | |
* I am vahagnmian on github. | |
* I am vahagnmian (https://keybase.io/vahagnmian) on keybase. | |
* I have a public key ASAZQO5lsyeFbliVMTx3MdWHq4YeQQE0q8qe8OaCTicf-Qo | |
To claim this, I am signing this object: |