Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/beyondmayowo/backup-password

Script to automatically back up any encrypted password files that have been updated in the past 24 hours
https://github.com/beyondmayowo/backup-password

backup-password bash scripting shell-scripting

Last synced: 16 days ago
JSON representation

Script to automatically back up any encrypted password files that have been updated in the past 24 hours

Awesome Lists containing this project

README

        

# backup-password
This is the final project for IBM DevOps and Software Engineering Professional Certificate.

## Scenario
Imagine that you are a lead Linux developer at the top-tech company ABC International Inc. ABC currently suffers from a huge bottleneck: each day, interns must painstakingly access encrypted password files on core servers and back up any files that were updated within the last 24 hours. This process introduces human error, lowers security, and takes an unreasonable amount of work.

As one of ABC Inc.'s most trusted Linux developers, you have been tasked with creating a script called backup.sh which runs every day and automatically backs up any encrypted password files that have been updated in the past 24 hours.

## What I Learned
- Check if the number of arguments is correct
- Check if argument 1 and argument 2 are valid directory paths
- Go into the target directory
- Create the backup files
- Move the backup files to the destination directory
- Compress and archive the files
- Backup the important-documents folder every 24 hours to the project directory