/lazy_backup

lazy_backup is simple and lean backup script. Back up your folders and databases in no time! Restore them just as quickly and easily.

Primary LanguageShellMIT LicenseMIT

lazy_backup

lazy_backup is simple and lean backup script. Back up your folders and databases in no time! Restore them just as quickly and easily.

Please remember to create your own config file and save it in the /cfg folder, where you will also find sample configurations.

Usage

./lazy_backup.sh <option> <config file>

There are several options you can choose.

    Options:
       -e  --export <config>		export files
       -i  --import <config>		import files
       -h  --help       		show help

lazy_rclone

lazy_rclone helps you upload your backups to external storage e.g. AWS, Dropbox, Onedrive, etc and ensures that older backups are automatically deleted after a defined time.

Please remember to edit the /rclone.cf in the /cfg folder and make sure you allready installed and configured rclone to your personal need. In combination with daily, weekly or monthly cronjobs definitely useful.

Usage

./lazy_rclone.sh <server> <minimal/full>

The options are tailored to my needs, but can also be adjusted in the rclone and backup config files. Personaly I use the following syntax:

for my config files:

/cfg/<server>_<minimal/full> 

for my backup files:

<date>_<server>_<minimal/full>.tar.bz2 

the folder structure:

storage:<remote_root>/<backup_server>/<minimal/full>

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • feel free to copy and adjust the scripts for your need
  • feel free to improve the scripts - maybe you could also notice me - haha
  • feel free to contact me, if you have any question