.\" Automatically generated by Pandoc 3.5 .\" .TH "backup.sh" "1" "October 21, 2024" "Marco Cetica" "General Commands Manual" .SH NAME \f[B]backup.sh\f[R] \- POSIX compliant, modular and lightweight backup utility. .SH SYNOPSIS .IP .EX Syntax: ./backup.sh [\-b|\-e|\-c|\-V|\-h] options: \-b|\-\-backup SOURCES DEST PASS Backup folders from SOURCES file. \-e|\-\-extract ARCHIVE PASS Extract ARCHIVE using PASS. \-c|\-\-checksum Generate/check SHA256 of a backup. \-V|\-\-verbose Enable verbose mode. \-h|\-\-help Show this helper. General help with the software: https://github.com/ceticamarco/backup.sh Report bugs to: Marco Cetica() .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], \f[I]sha256sum\f[R] and \f[I]gpg\f[R] to copy, compress, verify and encrypt the backup. .SH OPTIONS \f[B]backup.sh\f[R] supports three options: \f[B]backup creation\f[R], \f[B]backup extraction\f[R] and \f[B]checksum\f[R] to verify the integrity of a backup. The first option requires root permissions, while the second one does not. The checksum option must be used in combination of one of the previous options. .SS Backup creation To specify the directories to back up, \f[CR]backup.sh\f[R] uses an associative array defined in a text file(called \f[I]sources file\f[R]) with the following syntax: .IP .EX