README.markdown in astrails-safe-0.1.6 vs README.markdown in astrails-safe-0.1.7
- old
+ new
@@ -1,10 +1,12 @@
astrails-safe
=============
-Simple mysql and filesystem backups with S3 support (with optional encryption)
+Simple database and filesystem backups with S3 support (with optional encryption)
+Home: github.com/astrails/safe
+
Motivation
----------
We needed a backup solution that will satisfy the following requirements:
@@ -16,10 +18,17 @@
* support for local filesystem and Amazon S3 for storage
* support for backup rotation. we don’t want backups filling all the diskspace or cost a fortune on S3
And since we didn't find any, we wrote our own :)
+Note
+----
+
+Support for pg_dump and svndump was contributed but since I don't personally use them i don't have an easy
+way of testing it. So if you use Subversion or PostgreSQL please test the new functionality and report if
+there are any problems.
+
Usage
-----
Usage:
astrails-safe [OPTIONS] CONFIG_FILE
@@ -60,11 +69,11 @@
3. transfer public key to the server
scp backup@example.com root@example.com:
4. import public key on the remote system:
<pre>
- $ gpg --import test@example.com.pub
+ $ gpg --import test@example.com.pub
gpg: key 45CA9403: public key "Test Backup <test@example.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
</pre>
@@ -81,11 +90,11 @@
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
-
+
Your decision? 5
...
Command> quit
</pre>
@@ -134,10 +143,26 @@
database :astrails_com
database :secret_project_com
end
+ svndump do
+ repo :my_repo do
+ repo_path "/home/svn/my_repo"
+ end
+ end
+
+ pgdump do
+ options "-i -x -O" # -i => ignore version, -x => do not dump privileges (grant/revoke), -O => skip restoration of object ownership in plain text format
+
+ user "username"
+ password "............" # shouldn't be used, instead setup ident. Current functionality exports a password env to the shell which pg_dump uses - untested!
+
+ database :blog
+ database :stateofflux_com
+ end
+
tar do
archive "git-repositories", :files => "/home/git/repositories"
archive "dot-configs", :files => "/home/*/.[^.]*"
archive "etc", :files => "/etc", :exclude => "/etc/puppet/other"
@@ -151,9 +176,14 @@
exclude ["/var/www/astrails.com/log", "/var/www/astrails.com/tmp"]
end
end
end
</pre>
+
+Reporting problems
+------------------
+
+http://github.com/astrails/safe/issues
Copyright
---------
Copyright (c) 2009 Astrails Ltd. See LICENSE for details.