Last active
August 21, 2019 16:01
-
-
Save pwilken/4321ae3602ea11329f3dde1097c5ef62 to your computer and use it in GitHub Desktop.
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 | |
USERNAME=root | |
ssh -l ${USERNAME} server-name " | |
sudo apt-get install nfs-common; | |
cd ..; | |
sudo mkdir -p /remote-backups; | |
sudo chmod 777 remote-backups; | |
sudo mount -t nfs "backup-storage-id:/export/ftpbackup/ovh-server-name" /remote-backups; | |
exit; | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment