An open API service indexing awesome lists of open source software.

https://github.com/popartdesign/rambo

Simple backup tool for web sites (Joomla!, WordPress and etc.)
https://github.com/popartdesign/rambo

backup bash joomla wordpress

Last synced: 3 months ago
JSON representation

Simple backup tool for web sites (Joomla!, WordPress and etc.)

Awesome Lists containing this project

README

          

# Rambo: first backup

[![CI](https://github.com/PopArtDesign/rambo/actions/workflows/ci.yaml/badge.svg)](https://github.com/PopArtDesign/rambo/actions/workflows/ci.yaml)
[![GitHub license](https://img.shields.io/github/license/PopArtDesign/rambo)](https://github.com/PopArtDesign/rambo/blob/main/LICENSE)

Rambo is a simple backup tool for web sites ([Joomla!](https://www.joomla.org/), [WordPress](https://wordpress.org/) and etc.) written in [Bash](https://www.gnu.org/software/bash/).

## Install

Local (`~/.local`):

```sh
git clone --depth=1 https://github.com/PopArtDesign/rambo ~/.local/lib/rambo && ln -s ~/.local/lib/rambo/bin/rambo ~/.local/bin/rambo
```

Global (`/opt`):

```sh
sudo git clone --depth=1 https://github.com/PopArtDesign/rambo /opt/rambo && sudo ln -s /opt/rambo/bin/rambo /usr/local/bin/rambo
```

## Usage

Rambo backups all site's data into a one `.zip` archive. Thanks to it's [plugins](./plugin) it can detect site's configuration like database, cache folders and etc. and include or exclude some data from the final backup.

In simple case you can just run:

```sh
rambo backup /path/to/site /path/to/backup.zip
```

To get more information about available commands try `--help`

```sh
rambo --help
```

### Local config file (`.rambo.conf`)

To customize site backup process you can create a special config file in your site's root folder:

```sh
#
# The prefix 'xA4di35ie' added for security reasons,
# because site's root can be publicly available from the web.
# You can use any prefix you want or just omit it.
#

cat > xA4di35ie.rambo.conf < /etc/rambo/mysite.conf <