A simple helper script to backup all file and directory in GNU/Linux
Guide · Report Bug · Request Feature · Provide Feedback · Ask Question
Love the project? Please consider donating or give ⭐ to help it improve!
Copyright © ID 2023 Stephanus Bagus Saputra (www.stephanusdai.web.id)
All rights reserved.
- Backup All Directory and File Path Selection
- Backup Firebird/MySQL Database File
- Auto Backup File with Schedule (Crontask) Linux
Copy and paste this commands to your terminal:
cd /tmp
git clone https://github.com/wiefunkdai/ShellLinuxAutoBackupFile.git
cd ShellLinuxAutoBackupFile
sudo mkdir /opt/auto-backup
sudo cp bin/runner.sh /opt/auto-backup/runner.sh
cd /opt/auto-backup
sudo chmod +x runner.sh
sudo chown root:root runner.sh
Before continue, please open and edit this script according to your needs to your terminal:
sudo vi /opt/auto-backup/runner.sh
edit bellow script according to your needs:
import1="0,(change with file source folder location)"
dirforsave="(change with the location of the backup folder)"
usersql=(username mysql)
userpass=(kata sandi mysql)
dbmysqlname="(nama database mysql)"
dirsavedsql="(mysql database backup folder location)"
dirfirebirdimport="(change with firebird database folder source location)"
dirfirebirdsaved="(change with the location of the firebird database backup folder)"
fbuser="(change with firebird database login name in here)"
fbpass="(change with database password in here)"
Copy and paste this commands to your terminal:
sudo vi /etc/crontab
End then insert bellow code at crontab window:
00 00 * * * root /usr/bin/sh /opt/auto-backup/runner.sh > /tmp/crond-auto-backup.log
At midnight, the computer will automatically back up your data.
I open-source almost everything I can and try to reply to everyone needing help using these projects. Obviously, this takes time. You can use this service for free.
If you are using this project and are happy with it or just want to encourage me to continue creating stuff, there are a few ways you can do it:
- Giving proper credit on the GitHub Sponsors page.
- Starring and sharing the project ⭐
- You can make one-time donations via PayPal. I'll probably buy a coffee ☕ or tea 🍵 or cake 🍰
- It’s also possible to support mine financially by becoming a backer or sponsor through
However, I am available for hire. You can also give me career opportunities to help your business in developing the software you need. Please contact me at:
Any Questions & Other Supports? see Support please.
Author | Description |
---|---|
@wiefunkdai |
• Name : Stephanus Bagus Saputra ( 戴 Dai 偉 Wie 峯 Funk ) |
Visit Website · Global Issues · Global Discussions · Global Wiki
Copyright © ID 2023 by Stephanus Bagus Saputra (www.stephanusdai.web.id)
All rights reserved.