Browse Source

update Urbackup

master
VirtuBox 2 months ago
parent
commit
c59f75e340
Signed by: virtubox GPG Key ID: 22EB296C97BAD476
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      mybashrc

+ 6
- 2
mybashrc View File

@ -668,9 +668,12 @@ _BACK_FILE() {
fi
}
_URBACKUP_CLIENT() {
_URBACKUP_CLIENT_INSTALL() {
TF=$(mktemp) && wget "https://hndl.urbackup.org/Client/2.4.9/UrBackup%20Client%20Linux%202.4.9.sh" -O "$TF" && sudo sh "$TF"
rm -f "$TF"
}
_URBACKUP_CLIENT_CONF() {
sed -i 's/RESTORE=disabled/RESTORE="server-confirms"/' /etc/default/urbackupclient
wget -O "$HOME/mysqldump.sh" vtb.cx/mysqldump
chmod +x "$HOME/mysqldump.sh"
@ -907,7 +910,8 @@ alias zabbix-update=_ZABBIX_UPDATE
alias bak=_BACK_FILE
alias update-wo-fast='python3 -m pip install -I "git+git://github.com/WordOps/WordOps.git@updating-configuration#egg=wordops"'
alias clone-wordops='git clone https://github.com/WordOps/WordOps.git -b updating-configuration'
alias urbackup-client-setup=_URBACKUP_CLIENT
alias urbackup-client-install=_URBACKUP_CLIENT_INSTALL
alias urbackup-client-conf=_URBACKUP_CLIENT_CONF
alias delete-all-site=_DELETE_WO_SITES
alias stabilise-video=_STABILISE_VIDEO
alias yt-encode=_YOUTUBE_ENCODE


Loading…
Cancel
Save