backup
is a website which displays a table of stored backups.
go get gopkg.in/jwowillo/backup
backup ?--port 80 ?--host 127.0.0.1
Make sure host is the host the server will be accessed from on its network and that backups will be deployed to.
backup 127.0.0.1 user '~'
The script recursively zips the working directory into an archive named with the working directory and current time and copies the archive into the passed remote host, user, and directory.
The script copies the directories containing assets from the backup
repo to
the passed remote host, user, and directory.
Make sure the 'archive' directory is in the remote directory. The script deploys
backup
to the passed remote host, user, and directory.
run_tests
Runs the tests and shows the coverage.