visiosoft / backup-module
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:streams-addon
Requires
- dev-main
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-rsync-directory
- dev-spektra2147-timeout-1
- dev-backup-sites
- dev-fix-dbackup
- dev-local-backup
- dev-backup-log
- dev-fix-storage
- dev-db-host-add
- dev-vedatakdogan
- dev-small-fixes
- dev-backup-v1
- dev-backup-initial
- dev-vedatakd
This package is auto-updated.
Last update: 2024-11-24 17:31:51 UTC
README
What to do before backing up sites on the active server.
-
You need to connect the StorageBox before activating it from the settings.
cat ~/.ssh/id_rsa.pub | ssh -p23 uXXXXX@uXXXXX.your-storagebox.de install-ssh-key
-
You can then turn on the site backup setting in the settings so that the backup process is performed automatically on a daily basis.
Pre-requisites Before Adding Server/Jobs
-
Install the relevant PostgreSQL version inside the server you connected for PostgreSQL backups;
-
sudo apt-get install -y postgresql-client-14
-
-
Configure the database auth information using .pgpass or .my.cnf. This configuration allows you to take backups without a password.
-
For MySQL (name your file the same as the relevant job slug):
echo "[client]" > ~/.{database_name}.cnf echo "user=zoho_zoho" >> ~/.{database_name}.cnf echo "password=your_password" >> ~/.{database_name}.cnf chmod 600 ~/.{database_name}.cnf
-
For PostgreSQL:
echo "{host}:{port}:{database_name}:{username}:{password}" >> ~/.pgpass && chmod 600 ~/.pgpass
-
-
Granting access to StorageBox. This access allows password-free transfers to your StorageBox.
-
cat ~/.ssh/id_rsa.pub | ssh -p23 uXXXXX@uXXXXX.your-storagebox.de install-ssh-key
-