Skip to content

alima-n/backup-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

backup-script

Graded assignment (DevOps course, MDS 2020)

  1. Run in the command line ./backup.sh {DIRECTORY} {COMPRESSION_ALGO} {OUTPUT_FILENAME}
  • DIRECTORY is a directory to back up,
  • COMPRESSION_ALGO is a preferred compression type (or 'none' if you need a backup without compression),
  • OUTPUT_FILENAME is a desired output filename.
  1. You will be suggested to enter an encryption password.

  2. To restore the encrypted backup run openssl enc -d -aes256 -in {OUTPUT_FILENAME} | tar xz -C {DIRECTORY}

  • OUTPUT_FILENAME is a name of the encrypted backup;
  • DIRECTORY is a directory in which you are going to restore the backup.

About

Graded assignment (DevOps course, MDS 2020)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages