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-host/giskard/function/backups

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
}