git clone instead of wget/tar

This commit is contained in:
Matthew Saunders Brown 2024-03-14 15:26:44 -07:00
parent 26a13d0f63
commit d946245f30

View File

@ -14,7 +14,7 @@ The systemd timer runs the desired "backup" scripts once per day. The scripts ca
The "restore" scripts can be run interactively. If you do not specify options for the restore then you will be prompted with menus of options to help you select what to restore. If the appropriate options are specified on the command line then the restore will be completed without prompts. The "restore" scripts can be run interactively. If you do not specify options for the restore then you will be prompted with menus of options to help you select what to restore. If the appropriate options are specified on the command line then the restore will be completed without prompts.
Built and tested on Ubuntu 20.04 these scripts should run fine on any current Debian or Debian based distro without any modifications. It should be trivial to expand support for other distros too, please contact the author if there is interest in this. Built and tested on Ubuntu 20.04 these scripts should run fine on any current linux distro with bash & systemd.
## Quickstart ## Quickstart
@ -23,8 +23,7 @@ Create a backup directory or mount. For example, make a directory named /mnt/bac
```bash ```bash
# download and install the bashup scripts # download and install the bashup scripts
cd /usr/local/src/ cd /usr/local/src/
wget https://git.stack-source.com/msb/bashup/archive/master.tar.gz -O bashup.tar.gz git clone https://git.stack-source.com/msb/bashup.git
tar zxvf bashup.tar.gz
cd bashup cd bashup
cp sbin/bashup*.sh /usr/local/sbin/ cp sbin/bashup*.sh /usr/local/sbin/
chmod 755 /usr/local/sbin/bashup*.sh chmod 755 /usr/local/sbin/bashup*.sh