.\" Automatically generated by Pandoc 3.1.8 .\" .TH "backup.sh" "1" "February 27, 2024" "Marco Cetica" "General Commands Manual" .SH NAME \f[B]backup.sh\f[R] - POSIX compliant, modular and lightweight backup utility to save and encrypt your files. .SH SYNOPSIS .IP .EX 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. .EE .SH DESCRIPTION \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]gpg\f[R] to copy, compress and encrypt the backup. .SH OPTIONS \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 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 .EX