Skip to content

Instantly share code, notes, and snippets.

@sergixnet
Created May 31, 2018 08:18
Show Gist options
  • Save sergixnet/b3356cba9bd1faec1348903e639c9548 to your computer and use it in GitHub Desktop.
Save sergixnet/b3356cba9bd1faec1348903e639c9548 to your computer and use it in GitHub Desktop.
#!/bin/bash
# This script creates a backup of a grav Instalation
# Go to the root of the project
cd httpdocs
# Create the backup
bin/grav backup
# List all the saved backup
ls -lh backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment