.\" Automatically generated by Pandoc 3.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "backup.sh" "1" "March 14, 2023" "Marco Cetica" "General Commands Manual" .hy .SH NAME .PP \f[B]backup.sh\f[R] is a POSIX compliant, modular and lightweight backup utility to save and encrypt your files. .SH SYNOPSIS .IP .nf \f[C] Syntax: backup.sh [-b|-e|-h] options: -b|--backup SOURCES DEST PASS Backup folders from SOURCES file. -e|--extract ARCHIVE PASS Extract ARCHIVE using PASS. -h|--help Show this helper. \f[R] .fi .SH DESCRIPTION .PP \f[B]backup.sh\f[R] is a POSIX compliant, modular and lightweight backup utility to save and encrypt your files. This tool is intended to be used on small scale UNIX environment such as VPS, small servers and workstations. \f[B]backup.sh\f[R] uses \f[I]rsync\f[R], \f[I]tar\f[R] and \f[I]openssl\f[R] to copy, compress and encrypt the backup. .SH OPTIONS .PP \f[B]backup.sh\f[R] supports two options: \f[I]backup creation\f[R] and \f[I]backup extraction\f[R]. The former requires root permissions, while the latter does not. Let us see them in details: .SS Backup creation .PP To specify the directories to backup, \f[B]backup.sh\f[R] uses an associative array defined in a text file(called sources file) with the following syntax: .IP .nf \f[C]