15 lines
461 B
Bash
15 lines
461 B
Bash
#!/bin/bash
|
|
giskard_opt_bu () {
|
|
|
|
backup -s -o '\-v3' /opt /backup/opt/
|
|
# trantor host needs to be in config file
|
|
backup -s -o '\-v5' -u sysadmin -h trantor /opt /media/sysadmin/snapshots/giskard/opt
|
|
|
|
}
|
|
|
|
giskard_active_bu () {
|
|
|
|
backup -s -o '\-v3' /mnt/Alldata/hacking/active /backup/active/
|
|
# trantor host needs to be in root's config file
|
|
backup -s -o '\-v5' -u sysadmin -h trantor /mnt/AllData/hacking/active /media/sysadmin/snapshots/giskard/active-hacking
|
|
} |