Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrienjoly/backup-scripts
Bash scripts that I run regularly to backup my content from Trello, Diigo Outliner, etc...
https://github.com/adrienjoly/backup-scripts
automation backup bash diigo diigo-outliner trello
Last synced: 2 months ago
JSON representation
Bash scripts that I run regularly to backup my content from Trello, Diigo Outliner, etc...
- Host: GitHub
- URL: https://github.com/adrienjoly/backup-scripts
- Owner: adrienjoly
- Created: 2018-07-29T15:00:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-04T15:34:49.000Z (6 months ago)
- Last Synced: 2024-11-24T17:41:52.964Z (2 months ago)
- Topics: automation, backup, bash, diigo, diigo-outliner, trello
- Language: JavaScript
- Homepage:
- Size: 1.08 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# backup-scripts
This repository contains a set of scripts that I run regularly to backup my content from local and online locations.
## Supported sources
Fully operational:
- Boards from Trello
- Playlists and saved/liked tracks from Spotify
- Playlists and tracks added to OpenwhydMay not work as expected:
- Markdown notes from hackmd.ioIn the future, I also plan to add support for:
- Diigo (bookmarks)
- local ssh keys## Features and design decisions
- Does not require to install any dependency except Docker
- Each backup process is split into 4 scripts:
- `backup`: gather the data to backup, into a local file or directory
- `diff-changes`: display what data was added/removed/changed since the last backup
- `zip-and-upload`: move the local backup to a directory for long-term storage
- `clean-up`: remove previous backups from the long-term storage directory, to save some space
- There's just one step that is manual/interactive: `diff-changes`, and it's optional
- Store the last backup in a long-term storage directory that can be synced online (e.g. Google Drive)
- The backup scripts can be run locally, or from a server## Status
Tested on:
- Mac OS 10.11.6 (El Capitan)
- macOS 10.14.6 (Mojave)## Requirements
- a `bash` terminal
- docker## Usage
```sh
$ git clone https://github.com/adrienjoly/backup-scripts.git
$ cd backup-scripts
$ cp .env.example .env
$ vi .env # => add the path of your cloud/upload/sync directory
```Then, for each service: (e.g. Trello)
```sh
$ cd trello
$ cp .env.example .env
$ vi .env # => add your Trello API key and token
$ ./backup.sh && ./diff-changes.sh && ./zip-and-upload.sh && ./clean-up.sh
```