All Projects → rubo77 → Rsync Homedir Excludes

rubo77 / Rsync Homedir Excludes

Licence: unlicense

Projects that are alternatives of or similar to Rsync Homedir Excludes

Snare
Super Next generation Advanced Reactive honEypot
Stars: ✭ 311 (-1.89%)
Mutual labels:  hacktoberfest
Sdr Examples
A collection of GNU Radio flow graphs
Stars: ✭ 315 (-0.63%)
Mutual labels:  hacktoberfest
Pokedex Promise V2
An easy way to use pokeapi v2 with promises in node.js
Stars: ✭ 315 (-0.63%)
Mutual labels:  hacktoberfest
Prettier Eslint
Code ➡️ prettier ➡️ eslint --fix ➡️ Formatted Code ✨
Stars: ✭ 3,435 (+983.6%)
Mutual labels:  hacktoberfest
Devlopr Jekyll
Build and Deploy your Static Site 🚀 using this beautiful Jekyll Framework/Theme built for Creatives
Stars: ✭ 309 (-2.52%)
Mutual labels:  hacktoberfest
Cordova Docs
Apache Cordova Documentation
Stars: ✭ 315 (-0.63%)
Mutual labels:  hacktoberfest
Ghost Cli
CLI Tool for installing & updating Ghost
Stars: ✭ 313 (-1.26%)
Mutual labels:  hacktoberfest
Horusec
Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command.
Stars: ✭ 311 (-1.89%)
Mutual labels:  hacktoberfest
Git Duet
Support for pairing with git
Stars: ✭ 313 (-1.26%)
Mutual labels:  hacktoberfest
Unity Mulligan Renamer
Mulligan Renamer tool for the Unity Editor allows for quick and safe renaming of many assets and gameobjects at once
Stars: ✭ 315 (-0.63%)
Mutual labels:  hacktoberfest
Corcel
Use WordPress backend with Laravel or any PHP application
Stars: ✭ 3,504 (+1005.36%)
Mutual labels:  hacktoberfest
Unleash
Unleash is the open source feature toggle service.
Stars: ✭ 4,679 (+1376.03%)
Mutual labels:  hacktoberfest
Bash.py
An inline Bash script runner, for Python.
Stars: ✭ 316 (-0.32%)
Mutual labels:  hacktoberfest
Paper
High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Stars: ✭ 5,293 (+1569.72%)
Mutual labels:  hacktoberfest
Eggdrop
The Eggdrop IRC Bot
Stars: ✭ 314 (-0.95%)
Mutual labels:  hacktoberfest
Json2md
📌 A JSON to Markdown converter.
Stars: ✭ 312 (-1.58%)
Mutual labels:  hacktoberfest
Circuitverse
CircuitVerse Primary Code Base
Stars: ✭ 314 (-0.95%)
Mutual labels:  hacktoberfest
Statusstories
Status Stories = Snapchat stories, Instagram stories, Whatsapp Statuses, Facebook Messenger Stories.
Stars: ✭ 317 (+0%)
Mutual labels:  hacktoberfest
Pybombs
PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
Stars: ✭ 316 (-0.32%)
Mutual labels:  hacktoberfest
Discord bot.py
🍺 A simple discord bot that helps you getting started within discord.py
Stars: ✭ 313 (-1.26%)
Mutual labels:  hacktoberfest

rsync-homedir-excludes

This project maintains a list of directories and files you probably do not need to back up, which you can pass to the rsync command's --exclude-from option.

Usage:

# download to `rsync-homedir-local.txt`
wget https://raw.githubusercontent.com/rubo77/rsync-homedir-excludes/master/rsync-homedir-excludes.txt -O rsync-homedir-local.txt
# or clone and copy to `rsync-homedir-local.txt`
git clone https://github.com/rubo77/rsync-homedir-excludes
cd rsync-homedir-excludes
cp rsync-homedir-excludes.txt rsync-homedir-local.txt

# edit the file rsync-homedir-local.txt to your needs
nano rsync-homedir-local.txt

# define a Backup directory (with trailing slash!)
# some examples:
BACKUPDIR=/media/workspace/home/$USER/
BACKUPDIR=/media/$USER/linuxbackup/home/$USER/
BACKUPDIR=/media/$USER/USBSTICK/backup/home/$USER/

# first specify the "-n" parameter so rsync will simulate its operation. You should use this before you start:
rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR

# check for permission denied errors in your homedir:
rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR|grep denied

# if it is all fine, actually perform your backup:
rsync -aP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR

You can edit the exclude file before execution:

  • All lines starting with a # are ignored by rsync, i.e. those directories will be backed up.
  • The syntax doesn't support comments at the end of a line yet.
  • At the start there is a section with directories that are probably not worth backing up. Uncomment those lines to exclude them as well.
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].