All Projects → dvergeylen → Safeharbor

dvergeylen / Safeharbor

Licence: gpl-3.0
local mirror of your Github stars (including ALL branches)

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Safeharbor

backup-suite
Backup database, static files and config to AWS S3 with Cronjob
Stars: ✭ 32 (+100%)
Mutual labels:  backup, bash-script
M Wiz
Install Metasploit And Repair Metasploit In Termux With Easy Steps
Stars: ✭ 148 (+825%)
Mutual labels:  bash-script, backup
MailcowBackup
Script to backup/restore Mailcow and the host system using borgbackup. Handles 503 error page generation, mailflow stop/restart, SQL database dump, borg backup and prune and integrates with Logwatch for easy monitoring.
Stars: ✭ 28 (+75%)
Mutual labels:  backup, bash-script
btrfs-backup
A simple, flexible script for versioned backups using btrfs and rsync
Stars: ✭ 59 (+268.75%)
Mutual labels:  backup, bash-script
linux-android-backup
Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
Stars: ✭ 119 (+643.75%)
Mutual labels:  backup, bash-script
Automation-using-Shell-Scripts
Development Automation using Shell Scripting.
Stars: ✭ 41 (+156.25%)
Mutual labels:  backup, bash-script
rbackup
Shell script for encrypted backups with rsync and GnuPG
Stars: ✭ 22 (+37.5%)
Mutual labels:  backup, bash-script
cylon-deb
TUI menu driven bash shell script to update and maintain a Debian based Linux distro.
Stars: ✭ 23 (+43.75%)
Mutual labels:  backup, bash-script
Anti Ddos
🔒 Anti DDOS | Bash Script Project 🔒
Stars: ✭ 561 (+3406.25%)
Mutual labels:  bash-script
Percona Xtrabackup
Open source hot backup tool for InnoDB and XtraDB databases
Stars: ✭ 678 (+4137.5%)
Mutual labels:  backup
Easy hack
Hack the World using Termux
Stars: ✭ 549 (+3331.25%)
Mutual labels:  bash-script
Mgob
MongoDB dockerized backup agent. Runs schedule backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more.
Stars: ✭ 573 (+3481.25%)
Mutual labels:  backup
Rdedup
Data deduplication engine, supporting optional compression and public key encryption.
Stars: ✭ 690 (+4212.5%)
Mutual labels:  backup
Velero
Backup and migrate Kubernetes applications and their persistent volumes
Stars: ✭ 5,864 (+36550%)
Mutual labels:  backup
Pgbackrest
Reliable PostgreSQL Backup & Restore
Stars: ✭ 766 (+4687.5%)
Mutual labels:  backup
Bash Script Template
A best practices Bash script template with several useful functions
Stars: ✭ 543 (+3293.75%)
Mutual labels:  bash-script
Redditdownloader
Scrapes Reddit to download media of your choice.
Stars: ✭ 521 (+3156.25%)
Mutual labels:  backup
Jsonlite
A simple, self-contained, serverless, zero-configuration, json document store.
Stars: ✭ 819 (+5018.75%)
Mutual labels:  bash-script
Shallow Backup
Git-integrated backup tool for macOS and Linux devs.
Stars: ✭ 720 (+4400%)
Mutual labels:  backup
Bareos
Main repository with the code for the libraries and daemons
Stars: ✭ 651 (+3968.75%)
Mutual labels:  backup

Build Status

safeharbor

These 68 lines of bash download all your starred repositories in your local folder. It can also delete old previous clones of repos not starred anymore. This is ideal to put in cron to always have them up-to-date (including their branches) and never worry about them again.

Installation

Make the script executable

chmod +x safeharbor.h

Add the script in crontab

0 2 * * * GHUSER=yourusername /path/to/safeharbor.sh >/dev/null 2>&1

(everyday at 2am, no output)

FAQ

What if I star a new repo?

It will be fetched next time the script is executed.

What if a repo I starred is updated? Or has new branches?

The local folders containing the repos are updated and new branches are also downloaded (thanks git fetch --all!).

What if I unstar a repo?

Nothing happens unless you use --strict-mode.

  • Normal mode will leave the local folder as is and won't fetch any updates nor delete anything (default).
  • Strict mode will remove the local folder as it isn't in the starred repos list anymore.
What if I have other files/folders in the same working directory?

Nothing happens unless you use --strict-mode where all files/folders not related to starred repos will be deleted.

Contributions

Always welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].