This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
bash-shell-network/645.kebler.net/function/ssh-mounts/backup-645-lights

13 lines
443 B
Bash

#!/bin/bash
function mnt645lightsbu(){
smount sysadmin@backup.lights.645.kebler.net:/home/sysadmin /mnt/645/lights/backup/sysadmin -p 22
smount sysadmin@backup.lights.645.kebler.net:/opt /mnt/645/lights/backup/opt -p 22
smount root@backup.lights.645.kebler.net:/ /mnt/645/lights/backup/root -p 22
}
function umnt645lightsbu(){
usmount /mnt/645/lights/backup/opt
usmount /mnt/645/lights/backup/root
usmount /mnt/645/lights/backup/sysadmin
}