SPB Git

Repository Public

edge-serve.sh 1.8 KB 46 lines shellscript

1#!/usr/bin/env bash2# =============================================================================3#                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION4#             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5# =============================================================================6#7# Project          : SP Mail8# File             : infra/backup/edge-serve.sh9# Module           : infra10# Repository       : https://git.spboucher.ai/sp-mail11# Project Website  : https://mail.spboucher.ai12# Created          : 2026-11-1813# Last Modified    : 2026-11-1814#15# Author           : Simon-Pierre Boucher16# Position         : Professor of Finance17# Institution      : Université du Québec en Outaouais (UQO)18# Organization     : SP Boucher19# Website          : https://spboucher.ai20# Git              : https://git.spboucher.ai21#22# Preferred Contact: support@spboucher.ai23# Technical Contact: dev@spboucher.ai24# Security/Admin   : admin@spboucher.ai25#26# Copyright (c) 202627# Simon-Pierre Boucher28# All rights reserved where applicable. This file is governed by the29# applicable project license, copyright notices and relevant law.30# Existing third-party rights and notices remain unaffected.31#32# License          : None specified (no license file in this repository)33#34# Do not embed credentials, private keys, access tokens,35# certificates or confidential personal information.36#37# =============================================================================38# END OF SP BOUCHER SOURCE HEADER39# =============================================================================4041# SP Mail — commande forcée de la clé SSH de sauvegarde : ne sait faire qu'une chose, émettre la dernière archive chiffrée.42set -euo pipefail43OUT=/var/backups/sp-mail44L=$(sudo readlink "$OUT/latest")45sudo tar -C "$OUT" -cf - "$L" "$L.sha256"46
Files main
Menu

Theme