Skip to content
This repository was archived by the owner on Oct 21, 2026. It is now read-only.
matthiasschobnerPublic archive

About

Bash script to create an offsite backup of a website (database and files) over SSH

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

offsite-backup

Script to create an offsite backup of a website (database and files) over SSH

config

Copy project_name.config.example. Replace "project_name" with the name of your project. E.g.:

$ cp project_name.config.example my_website.config

And customize the file.

$ vim my_website.config

config – ssh connection with key file

To connect the server without password, config your local ssh key and add your public key to the server.

More Infos: https://wiki.ubuntuusers.de/SSH/#Authentifizierung-ueber-Public-Keys

Setup .ssh/config More Infos: https://wiki.ubuntuusers.de/SSH/#ssh-config

run backup

Run the script with the project name as parameter. Watch closely for the project name! E.g.:

$ sh backup.sh my_website.config

for my_website.config

About

Bash script to create an offsite backup of a website (database and files) over SSH

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages