Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Back up Linux servers to a remote server using Borg and SSH
Runs on a schedule to create Borg backup archives of Linux servers over SSH on a remote destination server, with documented steps to list and restore archives.
What it does
# Restore a Backup 1. Connect to the destination server. 2. List the available backup archives: bash borg list /path/to/repository 3. Restore the archive you want: bash borg extract /path/to/repository:: For more restore options and examples: https://borgbackup.readthedocs.io/en/stable/
The steps
- Create Borg Backup and Push to Second Server
- Create Single Up-to-date Backup (Borg, pruned)
- Install Borg on Source Server
- Install Borg on Destination Server
- Source: Check & Get SSH Key
- Destination: Create Restricted borg_backup User
- Store Borg Passphrase on Source Server
- Initialize Configuration Table
- Run Scheduled Backup
- Route by Backup Mode
- Parse SSH Setup Result
- Build Backup Config Code
- When Backup Setup Form Submitted
- Save Backup Configuration
15 steps in total.
Similar automations
Files & Cloud StorageBack up Linux server directories to Google Drive with Borg over SSH20 stepsCode, Git & Developer ToolsUpdate a Linux Server with One Webhook over SSH3 stepsForms & SurveysBack up a Linux server directory to Backblaze B2 with rclone18 stepsMCP Servers & ToolsBuild a Linux Filesystem MCP Server10 steps