In Greek mythology, Persephone is the goddess of both the underworld and springtime. This represents cycles of loss and renewal—paralleling the backup and recovery process.
Persephone is a solution designed to simplify and enhance the use of Restic for backups and recovery, providing additional features like centralized management, automated scheduling, and modular configuration.
This will currently work only on debian-based systems (eg. Ubuntu, Debian, Kali). Work is ongoing to expand this to MacOS and Windows.
OPT_DIR='/opt/codeMonkeyCyber'
PERS_USER=$(whoami)
# Ensure the directory exists first
sudo mkdir -p $OPT_DIR
# Change ownership of the directory
sudo chown -R $PERS_USER:$PERS_USER $OPT_DIR
# Set appropriate permissions (755 for directories, 644 for files)
sudo find $OPT_DIR -type d -exec chmod 755 {} \; # Directories
sudo find $OPT_DIR -type f -exec chmod 644 {} \; # Files
# Verify directory contents and ownership/permissions
ls -lah $OPT_DIR
# Change to the directory
cd $OPT_DIR
# Print the working directory
pwd # Verify that the working directory has been updated
git clone https://github.com/CodeMonkeyCybersecurity/persephone.git
cd persephone
OR
gh repo clone CodeMonkeyCybersecurity/persephone
cd persephone
sudo ./installPersephone.sh
./createPersephoneServer.sh
./createPersephoneClient.sh
./createPersephoneConnection.sh
./createPersephoneBackup.sh
# Directories
OPT_DIR='/opt/codeMonkeyCyber'
SRV_DIR='/srv/codeMonkeyCyber'
INSTALL_DIR='/opt/codeMonkeyCyber/persephone'
# Configurations
CONFIG_FILE='/etc/codeMonkeyCyber/persephone/persephone.conf'
# Logging
LOG_DIR='/var/log/codeMonkeyCyber'
LOG_FILE=f'{LOG_DIR}/persephone.log'
# Scripts
SUBMODULES_DEST='/usr/local/bin/persephone'
Secure email: [email protected]
Website: cybermonkey.net.au
#
# ___ _ __ __ _
# / __|___ __| |___ | \/ |___ _ _ | |_____ _ _
# | (__/ _ \/ _` / -_) | |\/| / _ \ ' \| / / -_) || |
# \___\___/\__,_\___| |_| |_\___/_||_|_\_\___|\_, |
# / __| _| |__ ___ _ _ |__/
# | (_| || | '_ \/ -_) '_|
# \___\_, |_.__/\___|_|
# |__/
#