Skip to content

Latest commit

 

History

History
35 lines (32 loc) · 965 Bytes

README.md

File metadata and controls

35 lines (32 loc) · 965 Bytes

Let's Backup!

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)

Usage

  1. install rclone.
  2. 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"
  1. set execute permission to letsbackup.sh.

backup

$ ./letsbackup.sh backup

restore

$ ./letsbackup.sh restore [path with tgz backup files]

restored in [path with tgz backup files]/restore path.

restore after get backup files at remote

$ ./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.

License

MIT License

Blog

https://conory.com/ (korean)