- apt update
- apt -y install net-tools git zip
- run as user in youre home directory
- git clone https://github.com/nitrocon/autobackup-script.git
- cd autobackup-script
- bash backup.sh
- Checks if net-tools, git, and zip are installed.
- Gets a list of IP addresses and prompts the user to select one to use.
- Gets a list of available users and prompts the user to select one to use.
- Creates a backup directory in the user's home directory.
- Performs the backup using rsync, excluding certain directories.
- Compresses the backup directory into a ZIP file & deletes the folder