From f3527da558a767ce89c46ec1d9d092d515202854 Mon Sep 17 00:00:00 2001 From: Kai Hendry Date: Mon, 14 Jul 2014 09:37:55 +0000 Subject: [PATCH] How to create the backup tarball correctly --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4059d1a..2f87038 100644 --- a/README.md +++ b/README.md @@ -52,3 +52,10 @@ Save that SECRETEXAMPLESTRING to secret.php: # nginx configuration See + +# Daily backup + + + + @daily cd /srv/www/greptweet.com && git describe --always > version.txt + @daily find /srv/www/greptweet.com/u/ -name '*.gz' -type f -exec tar rf /srv/www/backup.greptweet.com/tweets.tar {} +