Web service backup script using tar incremental and rclone for remote backup. supports backup for the following:
- /home/<directories>
- /var/log
- MariaDB Databases (with mariadb-dump)
- install rclone.
- configure rclone and letsbackup
$ rclone config
$ ./letsbackup.sh config
Important: Must be the same "remote name of rclone config" and "bucket name of remote storage"
- set execute permission to letsbackup.sh.
$ ./letsbackup.sh backup
$ ./letsbackup.sh restore [path with tgz backup files]
restored in [path with tgz backup files]/restore
path.
$ ./letsbackup.sh restore [new download path] [remote path with tgz backup files]
restored in [new download path]/restore
path, if only exist tgz backup files in the remote path.
MIT License
https://conory.com/ (korean)