GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wiefunkdai/ShellLinuxAutoBackupFile: A simple helper script to backup all file and directory in GNU/Linux

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
.gitattributes
.gitattributes
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Stephanus Dai

ShellLinuxAutoBackupFile

A simple helper script to backup all file and directory in GNU/Linux

GitHub watchers GitHub Repo stars GitHub forks GitHub contributors GitHub pull requests GitHub issues GitHub Discussions GitHub last commit (by committer)

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.


Use Bash Shell Script Linux Guidelines

Feature:

  1. Backup All Directory and File Path Selection
  2. Backup Firebird/MySQL Database File
  3. Auto Backup File with Schedule (Crontask) Linux

How to install:

Copy and paste this commands to your terminal:

  1. cd /tmp
  2. git clone https://github.com/wiefunkdai/ShellLinuxAutoBackupFile.git
  3. cd ShellLinuxAutoBackupFile
  4. sudo mkdir /opt/auto-backup
  5. sudo cp bin/runner.sh /opt/auto-backup/runner.sh
  6. cd /opt/auto-backup
  7. sudo chmod +x runner.sh
  8. sudo chown root:root runner.sh

Preparation:

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)"

Create New Task Schedule for running script crontask.sh:

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.

Preview of Crontask:

preview

Support the project

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. Static Badge
  • Starring and sharing the project ⭐
  • You can make one-time donations via PayPal. I'll probably buy a coffee ☕ or tea 🍵 or cake 🍰
    paypal.me/wiefunkdai
  • It’s also possible to support mine financially by becoming a backer or sponsor through
    opencollective.com/wiefunkdai

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:
wiefunk@stephanusdai.web.id t.me/wiefunkdai linkedin.com/in/wiefunkdai

🙏 Thanks for your contribute and support! 😍 ❤️

Any Questions & Other Supports? see Support please.

Author Description

@wiefunkdai

• Name : Stephanus Bagus Saputra ( 戴 Dai 偉 Wie 峯 Funk )
• Email : [email protected]
• Link : https://stephanusdai.web.id


Visit Website · Global Issues · Global Discussions · Global Wiki

Copyright © ID 2023 by Stephanus Bagus Saputra (www.stephanusdai.web.id)

All rights reserved.

About

A simple helper script to backup all file and directory in GNU/Linux

stephanusdai.web.id/2022/03/fedora-3x-backup-mysql-firebird-any.html

Topics

autobackupbackupbackup-managerbackup-scriptbackup-solutionsbackup-toolbash-scriptfedorafedora-scriptslinuxlinux-fedoralinux-scriptlinux-ubuntushell-scriptubuntu-scripts

Resources

Readme
BSD-3-Clause license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.