Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bleo181-dev/raspibackupper
Scripts I use to manage backups of my Raspberry Pi
https://github.com/bleo181-dev/raspibackupper
backup backup-script plex plex-media-server raspberry-pi raspberry-pi-4
Last synced: 10 days ago
JSON representation
Scripts I use to manage backups of my Raspberry Pi
- Host: GitHub
- URL: https://github.com/bleo181-dev/raspibackupper
- Owner: bleo181-dev
- Created: 2023-01-14T20:02:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-15T20:19:18.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T01:26:23.318Z (about 2 months ago)
- Topics: backup, backup-script, plex, plex-media-server, raspberry-pi, raspberry-pi-4
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RaspiBackupper
This script accepts as input a directory (absolute path) where to save the local backup. This directory must contain the following two subdirectories. :
* **RPI**
* The (compressed) system image will be saved here
you must have installed on your Pi the [following repository](https://github.com/tom-2015/imgclone)
* **PLEX**
* This is where the databases and the Plex Preferences.xml file (both compressed with 7z) will be saved. In my case I am only interested in these two things because I prefer to re-download the metadata on the spot if needed. By avoiding backing them up I save time and spaceWhen the local backup is complete, the script will proceed to upload to Google Drive, via Rclone, all the files obtained in a remote folder called *RaspiBackupper*. So make sure, for proper operation, that you have an Rclone "*remote*" (pointing to Google Drive) called **GoogleDrive**
After this process the script deletes local backups older than 30 days. It also deletes remote backups older than 60 days