/sheckup

Shell backing-up software to backup-files.

Primary LanguageShell

Sheckup

A shell based file backing-up software.

Usage

Below are some of the features of the sofware and how to use them.

Parameters

There are two main parameters required by the software, mainly

  1. An input directory to zip
  2. An output filename to zip it in
$ ./main.sh src_folder_path dest_path/dest_filename
  • src_folder_path is the absolute path of the folder you want to back-up.
  • dest_path/dest_filename is the absolute path of the folder followed by the filename (without an extension) you want to back-it-up in.

NOTE: The software automatically saves it as a bz2 zipped format, for efficiency purposes and thus, you don't need to provide a file extension.

Example

$ ./main.sh /var/www /opt/backups/websites

In case if an output file name is not provided, it will automatically save it with the current timestamp.

Logging

The software automatically saves a .log file along with the bz2 zipped file. This will contain the paths of the files copied/zipped.

Skip Files and Folders

The software also allows you to omit/skip files and folders which you might not want to zip. This can be mentioned in the .gitignore file.